playSMS Forum

I need Help Playsms is not returning SMS DLR delivery status!

I have read all the post here of the forum but I did not find anything to help me,
the system is sending the SMS normally without error but does not return
the status:
I m use Playsms+kannel+smpp
Kannel
access.log
2017-03-29 20:28:24 DISCARDED SMS [SMSC:] [SVC:rapidosms] [ACT:admin] [BINF:] [FID:] [from:rapidosms] [to:+5565996907395] [flags:-1:2:-1:-1:31] [msg:134:0054006500730074006500200032003000200064006500200053004D005300200065006E0076006900610064006F002000700065006C006F00200050006C006100790053004D0053002000610073002000310039003A0032003800200068006F007200E100720069006F00200064006F0020004D0054002000210021002100200055004E0049] [udh:0:]
2017-03-29 20:28:24 Receive DLR [SMSC:] [SVC:rapidosms] [ACT:] [BINF:] [FID:] [from:rapidosms] [to:+5565996900000] [flags:-1:-1:-1:-1:16] [msg:12:NACK/no SMSC] [udh:0:]
2017-03-29 20:30:12 DISCARDED SMS [SMSC:] [SVC:rapidosms] [ACT:admin] [BINF:] [FID:] [from:rapidosms] [to:+5565996900000] [flags:-1:2:-1:-1:31] [msg:134:0054006500730074006500200032003000200064006500200053004D005300200065006E0076006900610064006F002000700065006C006F00200050006C006100790053004D0053002000610073002000310039003A0032003800200068006F007200E100720069006F00200064006F0020004D0054002000210021002100200055004E0049] [udh:0:]
2017-03-29 20:30:12 Receive DLR [SMSC:] [SVC:rapidosms] [ACT:] [BINF:] [FID:] [from:rapidosms] [to:+5565996900000] [flags:-1:-1:-1:-1:16] [msg:12:NACK/no SMSC] [udh:0:]
2017-03-29 20:34:43 Log begins
2017-03-29 20:35:34 Sent SMS [SMSC:smpp1] [SVC:rapidosms] [ACT:admin] [BINF:] [FID:0000000029] [from:rapidosms] [to:+5565996900000] [flags:-1:2:-1:-1:31] [msg:134:0054006500730074006500200032003100200064006500200053004D005300200065006E0076006900610064006F002000700065006C006F00200050006C006100790053004D0053002000610073002000310039003A0033003500200068006F007200E100720069006F00200064006F0020004D0054002000210021002100200055004E0049] [udh:0:]
2017-03-29 20:35:34 Receive DLR [SMSC:smpp1] [SVC:rapidosms] [ACT:] [BINF:] [FID:0000000029] [from:rapidosms] [to:+5565996900000] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
2017-03-29 20:35:48 Receive SMS [SMSC:smpp1] [SVC:] [ACT:] [BINF:] [FID:] [from:+5565996900000] [to:rapidosms] [flags:-1:0:-1:0:-1] [msg:102:id:0000000029 sub:000 dlvrd:000 submit date:1703291735 done date:1703291735 stat:ACCEPTD err:000 Text:] [udh:0:]
2017-03-29 20:35:52 Receive SMS [SMSC:smpp1] [SVC:] [ACT:] [BINF:] [FID:] [from:+5565996900000] [to:rapidosms] [flags:-1:2:-1:0:-1] [msg:122:0054006F0072007000650064006F00200053004D005300200065006E00740072006500670075006500200070002F002000350035003600350039003900360039003000370033003900350020002800320030003A00330035003A00340035002000640065002000320039002E00300033002E003100370029002E] [udh:0:]

kannel.log

2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!
2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!
2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!
2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!
2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!
2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!
2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!
2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!
2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!
2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!
2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!
2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!
2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!
2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!
2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!
2017-03-29 20:39:44 [3105] [4] WARNING: smsbox_list empty!

smsbox.log

2017-03-29 20:35:34 [3121] [4] DEBUG: Started thread 8 (gwlib/fdset.c:poller)
2017-03-29 20:35:34 [3121] [4] DEBUG: Started thread 9 (gwlib/http.c:write_request_thread)
2017-03-29 20:35:34 [3121] [9] DEBUG: Thread 9 (gwlib/http.c:write_request_thread) maps to pid 3121.
2017-03-29 20:35:34 [3121] [9] DEBUG: Queue contains 0 pending requests.
2017-03-29 20:35:34 [3121] [9] DEBUG: Parsing URL http://xxx.xxx.xxx.xxx/sms/index.php?app=call&cat=gateway&plugin=kannel&access=dlr&type=8&smslog_id=44&uid=1&smsc=kannel': 2017-03-29 20:35:34 [3121] [9] DEBUG: Scheme: http:// 2017-03-29 20:35:34 [3121] [9] DEBUG: Host: xxx.xxx.xxx.xxx 2017-03-29 20:35:34 [3121] [9] DEBUG: Port: 80 2017-03-29 20:35:34 [3121] [9] DEBUG: Username: (null) 2017-03-29 20:35:34 [3121] [9] DEBUG: Password: (null) 2017-03-29 20:35:34 [3121] [9] DEBUG: Path: /sms/index.php 2017-03-29 20:35:34 [3121] [9] DEBUG: Query: app=call&cat=gateway&plugin=kannel&access=dlr&type=8&smslog_id=44&uid=1&smsc=kannel 2017-03-29 20:35:34 [3121] [9] DEBUG: Fragment: (null) 2017-03-29 20:35:34 [3121] [9] DEBUG: HTTP: Opening connection toxxx.xxx.xxx.xxx:80’ (fd=27).
2017-03-29 20:35:34 [3121] [9] DEBUG: Socket connecting
2017-03-29 20:35:34 [3121] [8] DEBUG: Thread 8 (gwlib/fdset.c:poller) maps to pid 3121.

Please help me to solve this, can anyone help me ???

Logs PlaySMS:

    • 2017-03-29 20:35:34 PID58dc44c6be900 - L2 sendsms # saving smslog_id:44 u:1 parent_uid:0 g:0 gw:kannel smsc:kannel s:1234 d:+5565996900000 type:text unicode:1 status:0
    • 2017-03-29 20:35:34 PID58dc44c6be900 - L2 sendsms_process # saved smslog_id:44 id:44
    • 2017-03-29 20:35:34 PID58dc44c6be900 - L2 simplerate_hook_rate_deduct # enter smslog_id:44
    • 2017-03-29 20:35:34 PID58dc44c6be900 - L2 simplebilling_hook_billing_post # saving smslog_id:44 rate:1.000 count:2 charge:2
    • 2017-03-29 20:35:34 PID58dc44c6be900 - L2 simplebilling_hook_billing_post # saved smslog_id:44 id:44
    • 2017-03-29 20:35:34 PID58dc44c6be900 - L2 sendsms_process # end
    • 2017-03-29 20:35:34 PID58dc44c6be900 - L2 sendsmsd # result queue_code:a89c25fbc10f707474b6c2b49d5afd79 to:+5565996900000 flag:1 smslog_id:44
    • 2017-03-29 20:35:34 PID58dc44c6be900 - L2 sendsmsd # finish processing queue_code:a89c25fbc10f707474b6c2b49d5afd79 uid:1 sender_id:1234 queue_count:1 sms_count:2
      189.112.87.129 189.112.87.129 2017-03-29 20:35:34 PID58dc44c6d6af8 - L2 kannel__call # start load:/var/www/html/sms/plugin/gateway/kannel/dlr.php
      189.112.87.129 xxx.xxx.xxx.xxx 2017-03-29 20:35:34 PID58dc44c6d6af8 - L2 kannel__dlr # unable to process DLR. remote_addr:[xxx.xxx.xxx.xxx] or remote_host:[xxx.xxx.xxx.xxx] does not match with your bearerbox_host config:[localhost] smsc:[kannel]

Please help me to solve this, can anyone help me ???
Anton ???

Rodrigo, it seems that something is wrong with you kannel config.Or maybe kannel isn´t getting access to your playsms. Feel free to contact me, I´m sure I can help you.

Best regards,

Edilson

Rodrigo, meu email é espessoto no gmail.

hello @Edilson_Spessoto i need your help my playsms can deliver a DLR statut can you hel me please

Hello, Arona. Last log line says the reason: you have to put 192.168.1.129 into bearerbox host ip on playsms smsc config, instead of localhost.