Config kannel with playsms

when i send sms am not receive any think ; any help.
my smsc-smpp1.log

2020-05-13 18:10:32 [5967] [6] DEBUG:   command_status: 0 = 0x00000000
2020-05-13 18:10:32 [5967] [6] DEBUG:   sequence_number: 13 = 0x0000000d
2020-05-13 18:10:32 [5967] [6] DEBUG:   service_type: NULL
2020-05-13 18:10:32 [5967] [6] DEBUG:   source_addr_ton: 2 = 0x00000002
2020-05-13 18:10:32 [5967] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2020-05-13 18:10:32 [5967] [6] DEBUG:   source_addr: "1234"
2020-05-13 18:10:32 [5967] [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
2020-05-13 18:10:32 [5967] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2020-05-13 18:10:32 [5967] [6] DEBUG:   destination_addr: "212653926665"
2020-05-13 18:10:32 [5967] [6] DEBUG:   esm_class: 3 = 0x00000003
2020-05-13 18:10:32 [5967] [6] DEBUG:   protocol_id: 0 = 0x00000000
2020-05-13 18:10:32 [5967] [6] DEBUG:   priority_flag: 0 = 0x00000000
2020-05-13 18:10:32 [5967] [6] DEBUG:   schedule_delivery_time: NULL
2020-05-13 18:10:32 [5967] [6] DEBUG:   validity_period: NULL
2020-05-13 18:10:32 [5967] [6] DEBUG:   registered_delivery: 1 = 0x00000001
2020-05-13 18:10:32 [5967] [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2020-05-13 18:10:32 [5967] [6] DEBUG:   data_coding: 0 = 0x00000000
2020-05-13 18:10:32 [5967] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2020-05-13 18:10:32 [5967] [6] DEBUG:   sm_length: 22 = 0x00000016
2020-05-13 18:10:32 [5967] [6] DEBUG:   short_message:
2020-05-13 18:10:32 [5967] [6] DEBUG:    Octet string at 0x7f81600046b0:
2020-05-13 18:10:32 [5967] [6] DEBUG:      len:  22
2020-05-13 18:10:32 [5967] [6] DEBUG:      size: 23
2020-05-13 18:10:32 [5967] [6] DEBUG:      immutable: 0
2020-05-13 18:10:32 [5967] [6] DEBUG:      data: 73 6c 6d 20 63 76 20 62 69 65 6e 6a 68 35 37 20   slm cv bienjh57
2020-05-13 18:10:32 [5967] [6] DEBUG:      data: 00 61 64 6d 69 6e                                 .admin
2020-05-13 18:10:32 [5967] [6] DEBUG:    Octet string dump ends.
2020-05-13 18:10:32 [5967] [6] DEBUG: SMPP PDU dump ends.
2020-05-13 18:10:32 [5967] [6] DEBUG: SMPP[smpp1]: throughput (1.00,8.00)
2020-05-13 18:10:32 [5967] [6] DEBUG: SMPP[smpp1]: throughput (1.00,8.00)
2020-05-13 18:10:32 [5967] [6] **WARNING**: SMPP: PDU NULL terminated string (message_id) has no NULL.
2020-05-13 18:10:32 [5967] [6] DEBUG: SMPP[smpp1]: Got PDU:
2020-05-13 18:10:32 [5967] [6] DEBUG: SMPP PDU 0x7f81600020c0 dump:
2020-05-13 18:10:32 [5967] [6] DEBUG:   type_name: submit_sm_resp
2020-05-13 18:10:32 [5967] [6] DEBUG:   command_id: 2147483652 = 0x80000004
2020-05-13 18:10:32 [5967] [6] DEBUG:   command_status: 11 = 0x0000000b
2020-05-13 18:10:32 [5967] [6] DEBUG:   sequence_number: 13 = 0x0000000d
2020-05-13 18:10:32 [5967] [6] DEBUG:   message_id: NULL
2020-05-13 18:10:32 [5967] [6] DEBUG: SMPP PDU dump ends.
2020-05-13 18:10:32 [5967] [6] **ERROR**: SMPP[smpp1]: SMSC returned error code 0x0000000b (Invalid Destination Address) in response to submit_sm PDU.
2020-05-13 18:10:32 [5967] [6] DEBUG: SMSC[smpp1]: creating DLR message

See line with error message above and work from there

Anton

yes sir PDU NULL terminated string (message_id) has no NULL and Invalid Destination Address, but i dont know the way for fixet

either i use the parameters below or not i get the same result
source-addr-ton=1
source-addr-npi=1
dest-addr-ton=1
dest-addr-npi=1
bind-addr-ton=1
bind-addr-npi=1

do you have only 1 smsc ? smpp1, and does it suppose to allow sending to your destination_addr (see your pasted log)

anton

hi anton
i config jasmin sms gateway with smppsim from selenium ,
am use playsms to send sms with httpapi ,
everything is ok, am test some sms to my phone butam not receive messages in my phone.
my log

xxx.xxx.xxx.xxx   2020-06-07 14:29:49 PID5edcf9dd417b4 admin L2 sendsms_queue_create # saved queue_code:b72c3800676a8f563d3828b7c27e07b0 id:99
xxx.xxx.xxx.xxx  2020-06-07 14:29:49 PID5edcf9dd417b4 admin L2 sendsms # dst_count:1 sms_count:1 total_charges:1
xxx.xxx.xxx.xxx  2020-06-07 14:29:49 PID5edcf9dd417b4 admin L2 sendsms_queue_push # saving queue_code:b72c3800676a8f563d3828b7c27e07b0 dst:+21xxxxxxxxx
xxx.xxx.xxx.xxx  2020-06-07 14:29:49 PID5edcf9dd417b4 admin L2 sendsms_queue_push # saved queue_code:b72c3800676a8f563d3828b7c27e07b0 smslog_id:99
xxx.xxx.xxx.xxx  2020-06-07 14:29:49 PID5edcf9dd417b4 admin L2 sendsms # end queue_code:b72c3800676a8f563d3828b7c27e07b0 queue_count:1 sms_count:1 failed_queue:0 failed_sms:0
xxx.xxx.xxx.xxx  2020-06-07 14:29:59 PID5edcf9e7c8b10 - L2 jasmin__callback # pushed message_status:DELIVRD donedate:2006071429 sub:001 err:000 level:2 text: id_smsc: dlvrd:001 subdate:2006071429 id:ff5f0436-d045-4e6e-9651-91e03a7d240a 
xxx.xxx.xxx.xxx  2020-06-07 14:29:59 PID5edcf9e7c8b10 - L2 jasmin__callback # dlr uid:1 smslog_id:99 message_id:ff5f0436-d045-4e6e-9651-91e03a7d240a status:3

i don’t know .
any one can explaine me what is the problem !!

Please edit your logs and secure them before pasting here, its dangerous to share real life information such as server’s IP address/hostname/domain, your/user’s IP address, usernames, passwords, phone numbers. I already edit some for you, but maybe I missed some too, check them again.

And also, this is really simple, use proper formatting when pasting logs, use backticks for code blocks (logs), see here: https://commonmark.org/help/

To your question, looking at the log playSMS successfully submitted the message to Jasmin, and received delivery reports saying that the message has been deliver to the phone. Check you Jasmin logs.

anton

thank you for your notic.
my smppsim is keep give me this message
Assessing state of 1 messages in the OutboundQueue

102