playSMS Forum

Problem with special symbol £

Hello !

Can you please help with symbol £ sending from Playsms to kannel.
I found that to kannel it sended like …
For example I compose message: this test £$Q%&
In log I see

==> smsbox.log <==

2020-03-18 16:16:41 [14197] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
2020-03-18 16:16:41 [14197] [2] DEBUG: HTTP: Created HTTPClient area 0x7ffabc000f30.
2020-03-18 16:16:41 [14197] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1>
2020-03-18 16:16:41 [14197] [3] INFO: sendsms used by <playsms-user>
2020-03-18 16:16:41 [14197] [3] INFO: sendsms sender:<playsms-user:22343456723> (127.0.0.1) to:<777777777777> msg:<this test £$Q%&>
2020-03-18 16:16:41 [14197] [3] DEBUG: Stored UUID ca0e1fe7-0569-46cf-956f-4ca7906f1ab1
2020-03-18 16:16:41 [14197] [3] DEBUG: message length 16, sending 1 messages

==> access.log <==

2020-03-18 16:16:41 send-SMS request added - sender:playsms-user:22343456723 127.0.0.1 target:777777777777 request: 'this test £$Q%&'

==> smsbox.log <==

2020-03-18 16:16:41 [14197] [3] DEBUG: Status: 202 Answer: <Sent.>
2020-03-18 16:16:41 [14197] [3] DEBUG: Delayed reply - wait for bearerbox

==> sqlbox.log <==

2020-03-18 16:16:41 [14192] [3] DEBUG: smsbox_to_bearerbox: sms received

==> bearerbox.log <==

2020-03-18 16:16:41 [14163] [12] DEBUG: boxc_receiver: sms received
2020-03-18 16:16:41 [14163] [12] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2020-03-18 16:16:41 [14163] [8] DEBUG: SMPP[kannel-smsc]: throughput (0.00,0.00)
2020-03-18 16:16:41 [14163] [8] DEBUG: SMPP[kannel-smsc]: Manually forced source addr ton = 1, source add npi = 1

==> smsbox.log <==

2020-03-18 16:16:41 [14197] [0] DEBUG: Got ACK (0) of ca0e1fe7-0569-46cf-956f-4ca7906f1ab1
2020-03-18 16:16:41 [14197] [0] DEBUG: HTTP: Destroying HTTPClient area 0x7ffabc000f30.

==> bearerbox.log <==

2020-03-18 16:16:41 [14163] [8] DEBUG: SMPP[kannel-smsc]: Manually forced dest addr ton = 1, dest add npi = 1

==> smsbox.log <==

2020-03-18 16:16:41 [14197] [0] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.

==> bearerbox.log <==

2020-03-18 16:16:41 [14163] [8] DEBUG: SMPP[kannel-smsc]: Sending PDU:
2020-03-18 16:16:41 [14163] [8] DEBUG: SMPP PDU 0x7f4c580010b0 dump:
2020-03-18 16:16:41 [14163] [8] DEBUG:   type_name: submit_sm
2020-03-18 16:16:41 [14163] [8] DEBUG:   command_id: 4 = 0x00000004
2020-03-18 16:16:41 [14163] [8] DEBUG:   command_status: 0 = 0x00000000
2020-03-18 16:16:41 [14163] [8] DEBUG:   sequence_number: 500 = 0x000001f4
2020-03-18 16:16:41 [14163] [8] DEBUG:   service_type: NULL
2020-03-18 16:16:41 [14163] [8] DEBUG:   source_addr_ton: 1 = 0x00000001
2020-03-18 16:16:41 [14163] [8] DEBUG:   source_addr_npi: 1 = 0x00000001
2020-03-18 16:16:41 [14163] [8] DEBUG:   source_addr: "22343456723"
2020-03-18 16:16:41 [14163] [8] DEBUG:   dest_addr_ton: 1 = 0x00000001
2020-03-18 16:16:41 [14163] [8] DEBUG:   dest_addr_npi: 1 = 0x00000001
2020-03-18 16:16:41 [14163] [8] DEBUG:   destination_addr: "777777777777"
2020-03-18 16:16:41 [14163] [8] DEBUG:   esm_class: 3 = 0x00000003
2020-03-18 16:16:41 [14163] [8] DEBUG:   protocol_id: 0 = 0x00000000
2020-03-18 16:16:41 [14163] [8] DEBUG:   priority_flag: 0 = 0x00000000
2020-03-18 16:16:41 [14163] [8] DEBUG:   schedule_delivery_time: NULL
2020-03-18 16:16:41 [14163] [8] DEBUG:   validity_period: NULL
2020-03-18 16:16:41 [14163] [8] DEBUG:   registered_delivery: 17 = 0x00000011
2020-03-18 16:16:41 [14163] [8] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2020-03-18 16:16:41 [14163] [8] DEBUG:   data_coding: 0 = 0x00000000
2020-03-18 16:16:41 [14163] [8] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2020-03-18 16:16:41 [14163] [8] DEBUG:   sm_length: 16 = 0x00000010
2020-03-18 16:16:41 [14163] [8] DEBUG:   short_message:
2020-03-18 16:16:41 [14163] [8] DEBUG:    Octet string at 0x7f4c58004a80:
2020-03-18 16:16:41 [14163] [8] DEBUG:      len:  16
2020-03-18 16:16:41 [14163] [8] DEBUG:      size: 17
2020-03-18 16:16:41 [14163] [8] DEBUG:      immutable: 0
2020-03-18 16:16:41 [14163] [8] DEBUG:      data: 74 68 69 73 20 74 65 73 74 20 c2 a3 24 51 25 26   this test ..$Q%&
2020-03-18 16:16:41 [14163] [8] DEBUG:    Octet string dump ends.
2020-03-18 16:16:41 [14163] [8] DEBUG: SMPP PDU dump ends.
2020-03-18 16:16:41 [14163] [8] DEBUG: SMPP[kannel-smsc]: throughput (1.00,0.00)
2020-03-18 16:16:41 [14163] [8] DEBUG: SMPP[kannel-smsc]: throughput (1.00,0.00)
2020-03-18 16:16:41 [14163] [8] DEBUG: SMPP[kannel-smsc]: Got PDU:
2020-03-18 16:16:41 [14163] [8] DEBUG: SMPP PDU 0x7f4c580010b0 dump:
2020-03-18 16:16:41 [14163] [8] DEBUG:   type_name: submit_sm_resp
2020-03-18 16:16:41 [14163] [8] DEBUG:   command_id: 2147483652 = 0x80000004
2020-03-18 16:16:41 [14163] [8] DEBUG:   command_status: 0 = 0x00000000
2020-03-18 16:16:41 [14163] [8] DEBUG:   sequence_number: 500 = 0x000001f4
2020-03-18 16:16:41 [14163] [8] DEBUG:   message_id:
2020-03-18 16:16:41 [14163] [8] DEBUG:    Octet string at 0x7f4c58009a50:
2020-03-18 16:16:41 [14163] [8] DEBUG:      len:  36
2020-03-18 16:16:41 [14163] [8] DEBUG:      size: 37
2020-03-18 16:16:41 [14163] [8] DEBUG:      immutable: 0
2020-03-18 16:16:41 [14163] [8] DEBUG:      data: 34 37 62 38 66 65 61 35 2d 62 34 61 62 2d 34 64   47b8fea5-b4ab-4d
2020-03-18 16:16:41 [14163] [8] DEBUG:      data: 39 38 2d 39 62 30 34 2d 32 64 30 31 62 30 39 30   98-9b04-2d01b090
2020-03-18 16:16:41 [14163] [8] DEBUG:      data: 61 63 61 35                                       aca5
2020-03-18 16:16:41 [14163] [8] DEBUG:    Octet string dump ends.
2020-03-18 16:16:41 [14163] [8] DEBUG: SMPP PDU dump ends.

How do you sent it from playSMS ? From web or webservices ?

Can we have playSMS log instead, those are Kannel logs.

On config.php find logstate and set it to 3, then restart playsmsd, and then do the test, just 1 time. Capture the log, redacts every sensitive information like msisdn, user, password…, paste here

anton

Hi !
I sent from playsms web

==> playsms.log <==

- - 2020-03-19 08:41:42 PID5e73142647da1 - L2 sendsmsd # start processing queue_code:0afaadabc0661b8e57da9aeb016ec145 chunk:0 queue_count:1 sms_count:1 schedule                                                                             d:2020-03-19 08:41:39 uid:1 gpid:0 sender_id:22343456723
- - 2020-03-19 08:41:42 PID5e73142647da1 - L2 sendsmsd # sending queue_code:0afaadabc0661b8e57da9aeb016ec145 smslog_id:724771 to:77777777777777777777 sms_count:                                                                             1 counter:1
- - 2020-03-19 08:41:42 PID5e73142647da1 - L3 sendsms_intercept # msgtemplate modified sms_sender:[] sms_footer:[] sms_to:[777777777777777] sms_msg:[this test £                                                                             $Q%&] uid:[1] gpid:[0] sms_type:[text] unicode:[0] queue_code:[0afaadabc0661b8e57da9aeb016ec145] smsc:[]
- - 2020-03-19 08:41:42 PID5e73142647da1 - L3 outgoing_hook_sendsms_intercept # found SMSCs:[playsmsout]
- - 2020-03-19 08:41:42 PID5e73142647da1 - L3 outgoing_hook_sendsms_intercept # using prefix based smsc smsc:[playsmsout] uid:1 parent_uid:0 from: to:77777777                                                                             7777777
- - 2020-03-19 08:41:42 PID5e73142647da1 - L3 sendsms_intercept # outgoing modified sms_sender:[] sms_footer:[] sms_to:[777777777777777] sms_msg:[this test £$Q%                                                                             &] uid:[1] gpid:[0] sms_type:[text] unicode:[0] queue_code:[0afaadabc0661b8e57da9aeb016ec145] smsc:[playsmsout]
- - 2020-03-19 08:41:42 PID5e73142647da1 - L2 sendsms_process # start
- - 2020-03-19 08:41:42 PID5e73142647da1 - L3 simplerate_hook_rate_getbyprefix # rate not found to:777777777777777 default_rate:0
- - 2020-03-19 08:41:42 PID5e73142647da1 - L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:16 unicode:0 to:777777777777777 enable_credit_unicode:0 count:                                                                             1 rate: charge:0
- - 2020-03-19 08:41:42 PID5e73142647da1 - L2 simplerate_hook_rate_cansend # allowed user uid:1 sms_to:777777777777777 adhoc_credit:5 count:1 rate: charge:0 adh                                                                             oc_balance:5
- - 2020-03-19 08:41:42 PID5e73142647da1 - L2 sendsms # saving smslog_id:724771 u:1 parent_uid:0 g:0 gw:kannel smsc:playsmsout s:22343456723 d:777777777777777                                                                              type:text unicode:0 status:0
- - 2020-03-19 08:41:42 PID5e73142647da1 - L2 sendsms_process # saved smslog_id:724771 id:724771
- - 2020-03-19 08:41:42 PID5e73142647da1 - L3 sendsms # final smslog_id:724771 gw:kannel smsc:playsmsout message:this test £$Q%& len:16
- - 2020-03-19 08:41:42 PID5e73142647da1 - L3 kannel_hook_sendsms # enter smsc:playsmsout smslog_id:724771 uid:1 to:777777777777777
- - 2020-03-19 08:41:42 PID5e73142647da1 - L3 kannel_hook_sendsms # URL: http://localhost:13131/cgi-bin/sendsms?username=playsms-user&password=playsms-passw                                                                             ord&from=22343456723&to=777777777777777&dlr-mask=31&dlr-url=http%3A%2F%2Flocalhost%2Findex.php%3Fapp%3Dcall%26cat%3Dgateway%26plugin%3Dkannel%26access%3Ddlr%26t                                                                             ype%3D%25d%26smslog_id%3D724771%26uid%3D1%26smsc%3Dplaysmsout&account=admin&text=this+test+%C2%A3%24Q%25%26
- - 2020-03-19 08:41:42 PID5e73142647da1 - L3 kannel__outgoing # smslog_id:724771 response:0: Accepted for delivery
- - 2020-03-19 08:41:42 PID5e73142647da1 - L3 dlr # isdlrd:1 smslog_id:724771 p_status:0 uid:1
- - 2020-03-19 08:41:42 PID5e73142647da1 - L3 kannel__outgoing # end smslog_id:724771 p_status:0
- - 2020-03-19 08:41:42 PID5e73142647da1 - L2 simplerate_hook_rate_deduct # enter smslog_id:724771
- - 2020-03-19 08:41:42 PID5e73142647da1 - L3 simplerate_hook_rate_getbyprefix # rate not found to:777777777777777 default_rate:0
- - 2020-03-19 08:41:42 PID5e73142647da1 - L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:16 unicode:0 to:777777777777777 enable_credit_unicode:0 count:                                                                             1 rate: charge:0
- - 2020-03-19 08:41:42 PID5e73142647da1 - L2 simplebilling_hook_billing_post # saving smslog_id:724771 rate: count:1 charge:0
- - 2020-03-19 08:41:42 PID5e73142647da1 - L2 simplebilling_hook_billing_post # saved smslog_id:724771 id:1805036
- - 2020-03-19 08:41:42 PID5e73142647da1 - L3 simplerate_hook_rate_deduct # deduct successful uid:1 parent_uid:0 smslog_id:724771
- - 2020-03-19 08:41:42 PID5e73142647da1 - L2 sendsms_process # end
- - 2020-03-19 08:41:42 PID5e73142647da1 - L2 sendsmsd # result queue_code:0afaadabc0661b8e57da9aeb016ec145 to:777777777777777 flag:1 smslog_id:724771
- - 2020-03-19 08:41:42 PID5e73142647da1 - L2 sendsmsd # finish processing queue_code:0afaadabc0661b8e57da9aeb016ec145 uid:1 sender_id:22343456723 queue_count:1                                                                              sms_count:1
127.0.0.1 localhost 2020-03-19 08:41:43 PID5e731427163f4 - L2 kannel__call # start load:/home/vhosts/playsms/html/plugin/gateway/kannel/dlr.php
127.0.0.1 localhost 2020-03-19 08:41:43 PID5e731427163f4 - L3 kannel__dlr # remote_addr:127.0.0.1 remote_host:localhost type:[8] smslog_id:[724771] uid:[1] smsc                                                                             :[playsmsout]
127.0.0.1 localhost 2020-03-19 08:41:43 PID5e731427163f4 - L3 dlr # isdlrd:1 smslog_id:724771 p_status:1 uid:1
127.0.0.1 localhost 2020-03-19 08:41:43 PID5e731427163f4 - L2 kannel__call # end load dlr
- - 2020-03-19 08:41:43 PID5e7313354104b - L3 dlrd # id:1805036 smslog_id:724771 p_status:0 uid:1
- - 2020-03-19 08:41:43 PID5e7313354104b - L3 dlrd # id:1805037 smslog_id:724771 p_status:1 uid:1
127.0.0.1 localhost 2020-03-19 08:41:46 PID5e73142a18cfe - L2 kannel__call # start load:/home/vhosts/playsms/html/plugin/gateway/kannel/dlr.php
127.0.0.1 localhost 2020-03-19 08:41:46 PID5e73142a18cfe - L3 kannel__dlr # remote_addr:127.0.0.1 remote_host:localhost type:[1] smslog_id:[724771] uid:[1] smsc                                                                             :[playsmsout]
127.0.0.1 localhost 2020-03-19 08:41:46 PID5e73142a18cfe - L3 dlr # isdlrd:1 smslog_id:724771 p_status:3 uid:1
127.0.0.1 localhost 2020-03-19 08:41:46 PID5e73142a18cfe - L2 kannel__call # end load dlr
- - 2020-03-19 08:41:46 PID5e7313354104b - L3 dlrd # id:1805038 smslog_id:724771 p_status:3 uid:1

And this I see on kannel log:
==> bearerbox.log <==

2020-03-19 08:41:46 [23828] [8] DEBUG: SMPP[kannel-smsc]: throughput (0.00,0.00)
2020-03-19 08:41:46 [23828] [8] DEBUG: Optional parameter tag (0x0427)
2020-03-19 08:41:46 [23828] [8] DEBUG: Optional parameter length read as 1
2020-03-19 08:41:46 [23828] [8] DEBUG: Optional parameter tag (0x001e)
2020-03-19 08:41:46 [23828] [8] DEBUG: Optional parameter length read as 37
2020-03-19 08:41:46 [23828] [8] DEBUG: SMPP[kannel-smsc]: Got PDU:
2020-03-19 08:41:46 [23828] [8] DEBUG: SMPP PDU 0x7f82200010b0 dump:
2020-03-19 08:41:46 [23828] [8] DEBUG:   type_name: deliver_sm
2020-03-19 08:41:46 [23828] [8] DEBUG:   command_id: 5 = 0x00000005
2020-03-19 08:41:46 [23828] [8] DEBUG:   command_status: 0 = 0x00000000
2020-03-19 08:41:46 [23828] [8] DEBUG:   sequence_number: 6 = 0x00000006
2020-03-19 08:41:46 [23828] [8] DEBUG:   service_type: NULL
2020-03-19 08:41:46 [23828] [8] DEBUG:   source_addr_ton: 2 = 0x00000002
2020-03-19 08:41:46 [23828] [8] DEBUG:   source_addr_npi: 1 = 0x00000001
2020-03-19 08:41:46 [23828] [8] DEBUG:   source_addr: "+22343456723"
2020-03-19 08:41:46 [23828] [8] DEBUG:   dest_addr_ton: 1 = 0x00000001
2020-03-19 08:41:46 [23828] [8] DEBUG:   dest_addr_npi: 1 = 0x00000001
2020-03-19 08:41:46 [23828] [8] DEBUG:   destination_addr: "777777777777777"
2020-03-19 08:41:46 [23828] [8] DEBUG:   esm_class: 4 = 0x00000004
2020-03-19 08:41:46 [23828] [8] DEBUG:   protocol_id: 0 = 0x00000000
2020-03-19 08:41:46 [23828] [8] DEBUG:   priority_flag: 0 = 0x00000000
2020-03-19 08:41:46 [23828] [8] DEBUG:   schedule_delivery_time: NULL
2020-03-19 08:41:46 [23828] [8] DEBUG:   validity_period: NULL
2020-03-19 08:41:46 [23828] [8] DEBUG:   registered_delivery: 0 = 0x00000000
2020-03-19 08:41:46 [23828] [8] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2020-03-19 08:41:46 [23828] [8] DEBUG:   data_coding: 0 = 0x00000000
2020-03-19 08:41:46 [23828] [8] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2020-03-19 08:41:46 [23828] [8] DEBUG:   sm_length: 148 = 0x00000094
2020-03-19 08:41:46 [23828] [8] DEBUG:   short_message:
2020-03-19 08:41:46 [23828] [8] DEBUG:    Octet string at 0x7f822000cdd0:
2020-03-19 08:41:46 [23828] [8] DEBUG:      len:  148
2020-03-19 08:41:46 [23828] [8] DEBUG:      size: 149
2020-03-19 08:41:46 [23828] [8] DEBUG:      immutable: 0
2020-03-19 08:41:46 [23828] [8] DEBUG:      data: 69 64 3a 38 39 61 64 64 31 63 63 2d 63 66 38 32   id:89add1cc-cf82
2020-03-19 08:41:46 [23828] [8] DEBUG:      data: 2d 34 35 64 34 2d 62 35 62 62 2d 39 36 33 38 35   -45d4-b5bb-96385
2020-03-19 08:41:46 [23828] [8] DEBUG:      data: 33 36 31 36 33 63 32 20 73 75 62 3a 30 30 31 20   36163c2 sub:001
2020-03-19 08:41:46 [23828] [8] DEBUG:      data: 64 6c 76 72 64 3a 30 30 31 20 73 75 62 6d 69 74   dlvrd:001 submit
2020-03-19 08:41:46 [23828] [8] DEBUG:      data: 20 64 61 74 65 3a 32 30 30 33 31 39 30 38 34 31    date:2003190841
2020-03-19 08:41:46 [23828] [8] DEBUG:      data: 20 64 6f 6e 65 20 64 61 74 65 3a 32 30 30 33 31    done date:20031
2020-03-19 08:41:46 [23828] [8] DEBUG:      data: 39 30 38 34 31 20 73 74 61 74 3a 44 45 4c 49 56   90841 stat:DELIV
2020-03-19 08:41:46 [23828] [8] DEBUG:      data: 52 44 20 65 72 72 3a 30 30 30 20 74 65 78 74 3a   RD err:000 text:
2020-03-19 08:41:46 [23828] [8] DEBUG:      data: 54 65 78 74 3a 74 68 69 73 20 74 65 73 74 20 01   Text:this test .
2020-03-19 08:41:46 [23828] [8] DEBUG:      data: 02 51 25 26                                       .Q%&
2020-03-19 08:41:46 [23828] [8] DEBUG:    Octet string dump ends.
2020-03-19 08:41:46 [23828] [8] DEBUG:   message_state: 2 = 0x00000002
2020-03-19 08:41:46 [23828] [8] DEBUG:   receipted_message_id:
2020-03-19 08:41:46 [23828] [8] DEBUG:    Octet string at 0x7f82200e8910:
2020-03-19 08:41:46 [23828] [8] DEBUG:      len:  36
2020-03-19 08:41:46 [23828] [8] DEBUG:      size: 37
2020-03-19 08:41:46 [23828] [8] DEBUG:      immutable: 0
2020-03-19 08:41:46 [23828] [8] DEBUG:      data: 38 39 61 64 64 31 63 63 2d 63 66 38 32 2d 34 35   89add1cc-cf82-45
2020-03-19 08:41:46 [23828] [8] DEBUG:      data: 64 34 2d 62 35 62 62 2d 39 36 33 38 35 33 36 31   d4-b5bb-96385361
2020-03-19 08:41:46 [23828] [8] DEBUG:      data: 36 33 63 32                                       63c2
2020-03-19 08:41:46 [23828] [8] DEBUG:    Octet string dump ends.
2020-03-19 08:41:46 [23828] [8] DEBUG: SMPP PDU dump ends.

Can you test that using curl or lynx ? Browse it (from console, from playSMS server), it will directly send SMS via Kannel bypassing playSMS

anton

Yes

Kannel Log
==> smsbox.log <==
2020-03-19 14:01:51 [9013] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1’.
2020-03-19 14:01:51 [9013] [2] DEBUG: HTTP: Created HTTPClient area 0x7f6830000d30.
2020-03-19 14:01:51 [9013] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1>
2020-03-19 14:01:51 [9013] [3] INFO: sendsms used by
2020-03-19 14:01:51 [9013] [3] INFO: sendsms sender:playsms-user:22343456723 (127.0.0.1) to:<777777777777777> msg:<this test £$Q%&>
2020-03-19 14:01:51 [9013] [3] DEBUG: Stored UUID 54e96574-f705-4f4f-af8d-6a4fc5440d8b
2020-03-19 14:01:51 [9013] [3] DEBUG: message length 16, sending 1 messages

==> sqlbox.log <==
2020-03-19 14:01:51 [9012] [2] DEBUG: smsbox_to_bearerbox: sms received

==> access.log <==
2020-03-19 14:01:51 send-SMS request added - sender:playsms-user:22343456723 127.0.0.1 target:777777777777777 request: ‘this test £$Q%&’

==> smsbox.log <==
2020-03-19 14:01:51 [9013] [3] DEBUG: Status: 202 Answer: <Sent.>
2020-03-19 14:01:51 [9013] [3] DEBUG: Delayed reply - wait for bearerbox

==> bearerbox.log <==
2020-03-19 14:01:51 [8977] [12] DEBUG: boxc_receiver: sms received
2020-03-19 14:01:51 [8977] [12] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2020-03-19 14:01:51 [8977] [8] DEBUG: SMPP[playsmsout]: throughput (0.00,0.00)
2020-03-19 14:01:51 [8977] [8] DEBUG: SMPP[playsmsout]: Manually forced source addr ton = 1, source add npi = 1
2020-03-19 14:01:51 [8977] [8] DEBUG: SMPP[playsmsout]: Manually forced dest addr ton = 1, dest add npi = 1
2020-03-19 14:01:51 [8977] [8] DEBUG: SMPP[playsmsout]: Sending PDU:
2020-03-19 14:01:51 [8977] [8] DEBUG: SMPP PDU 0x7ff6180010b0 dump:
2020-03-19 14:01:51 [8977] [8] DEBUG: type_name: submit_sm
2020-03-19 14:01:51 [8977] [8] DEBUG: command_id: 4 = 0x00000004
2020-03-19 14:01:51 [8977] [8] DEBUG: command_status: 0 = 0x00000000

==> smsbox.log <==
2020-03-19 14:01:51 [9013] [0] DEBUG: Got ACK (0) of 54e96574-f705-4f4f-af8d-6a4fc5440d8b
2020-03-19 14:01:51 [9013] [0] DEBUG: HTTP: Resetting HTTPClient for 127.0.0.1'. 2020-03-19 14:01:51 [9013] [1] DEBUG: HTTP: Destroying HTTPClient area 0x7f6830000d30. 2020-03-19 14:01:51 [9013] [1] DEBUG: HTTP: Destroying HTTPClient for 127.0.0.1’.

==> bearerbox.log <==
2020-03-19 14:01:51 [8977] [8] DEBUG: sequence_number: 2 = 0x00000002
2020-03-19 14:01:51 [8977] [8] DEBUG: service_type: NULL
2020-03-19 14:01:51 [8977] [8] DEBUG: source_addr_ton: 1 = 0x00000001
2020-03-19 14:01:51 [8977] [8] DEBUG: source_addr_npi: 1 = 0x00000001
2020-03-19 14:01:51 [8977] [8] DEBUG: source_addr: “22343456723”
2020-03-19 14:01:51 [8977] [8] DEBUG: dest_addr_ton: 1 = 0x00000001
2020-03-19 14:01:51 [8977] [8] DEBUG: dest_addr_npi: 1 = 0x00000001
2020-03-19 14:01:51 [8977] [8] DEBUG: destination_addr: “777777777777777”
2020-03-19 14:01:51 [8977] [8] DEBUG: esm_class: 3 = 0x00000003
2020-03-19 14:01:51 [8977] [8] DEBUG: protocol_id: 0 = 0x00000000
2020-03-19 14:01:51 [8977] [8] DEBUG: priority_flag: 0 = 0x00000000
2020-03-19 14:01:51 [8977] [8] DEBUG: schedule_delivery_time: NULL
2020-03-19 14:01:51 [8977] [8] DEBUG: validity_period: NULL
2020-03-19 14:01:51 [8977] [8] DEBUG: registered_delivery: 0 = 0x00000000
2020-03-19 14:01:51 [8977] [8] DEBUG: replace_if_present_flag: 0 = 0x00000000
2020-03-19 14:01:51 [8977] [8] DEBUG: data_coding: 0 = 0x00000000
2020-03-19 14:01:51 [8977] [8] DEBUG: sm_default_msg_id: 0 = 0x00000000
2020-03-19 14:01:51 [8977] [8] DEBUG: sm_length: 15 = 0x0000000f
2020-03-19 14:01:51 [8977] [8] DEBUG: short_message:
2020-03-19 14:01:51 [8977] [8] DEBUG: Octet string at 0x7ff6180059f0:
2020-03-19 14:01:51 [8977] [8] DEBUG: len: 15
2020-03-19 14:01:51 [8977] [8] DEBUG: size: 17
2020-03-19 14:01:51 [8977] [8] DEBUG: immutable: 0
2020-03-19 14:01:51 [8977] [8] DEBUG: data: 74 68 69 73 20 74 65 73 74 20 01 02 51 25 26 this test …Q%&
2020-03-19 14:01:51 [8977] [8] DEBUG: Octet string dump ends.
2020-03-19 14:01:51 [8977] [8] DEBUG: SMPP PDU dump ends.
2020-03-19 14:01:51 [8977] [8] DEBUG: SMPP[playsmsout]: throughput (1.00,0.00)
2020-03-19 14:01:52 [8977] [8] DEBUG: SMPP[playsmsout]: throughput (1.00,0.00)
2020-03-19 14:01:52 [8977] [8] DEBUG: SMPP[playsmsout]: Got PDU:
2020-03-19 14:01:52 [8977] [8] DEBUG: SMPP PDU 0x7ff6180010b0 dump:
2020-03-19 14:01:52 [8977] [8] DEBUG: type_name: submit_sm_resp
2020-03-19 14:01:52 [8977] [8] DEBUG: command_id: 2147483652 = 0x80000004
2020-03-19 14:01:52 [8977] [8] DEBUG: command_status: 0 = 0x00000000
2020-03-19 14:01:52 [8977] [8] DEBUG: sequence_number: 2 = 0x00000002
2020-03-19 14:01:52 [8977] [8] DEBUG: message_id:
2020-03-19 14:01:52 [8977] [8] DEBUG: Octet string at 0x7ff618001360:
2020-03-19 14:01:52 [8977] [8] DEBUG: len: 36
2020-03-19 14:01:52 [8977] [8] DEBUG: size: 37
2020-03-19 14:01:52 [8977] [8] DEBUG: immutable: 0
2020-03-19 14:01:52 [8977] [8] DEBUG: data: 35 64 39 30 61 38 35 31 2d 37 36 65 65 2d 34 35 5d90a851-76ee-45
2020-03-19 14:01:52 [8977] [8] DEBUG: data: 30 38 2d 61 32 30 62 2d 64 61 64 33 38 30 66 36 08-a20b-dad380f6
2020-03-19 14:01:52 [8977] [8] DEBUG: data: 63 63 37 38 cc78
2020-03-19 14:01:52 [8977] [8] DEBUG: Octet string dump ends.
2020-03-19 14:01:52 [8977] [8] DEBUG: SMPP PDU dump ends.
2020-03-19 14:01:52 [8977] [8] DEBUG: SMPP[playsmsout]: throughput (1.00,0.00)

and what was the result ? can you receipt that symbol ? you tested it on real system ? you receive SMS on cellphone ?

anton

Result is this log on kannel side without £$
DEBUG: data: 74 68 69 73 20 74 65 73 74 20 01 02 51 25 26 this test …Q%&

I see. Try this, add coding and charset described here: https://stackoverflow.com/questions/8678194/bug-for-sending-char-to-kannel/8681088

and also try alt-charset if you’re using SMPP

anton

Ok, thank you for support. Will check with kannel.