I need your help for debugging on DLR part,
I have installed Kannel&mysql in one server and Playsms & php in another server, I have done remote db connection, as well as kannel gateway.
The things are working fine sms is successfully delivered but in playsms GUI sent report, it shows that all sent sms in pending status in report. Here is few details,
Server version: Apache/2.4.6 (CentOS)
playsms_version | 1.3.1
Mysql: innodb_version | 5.5.35-MariaDB-33.0
Kannel bearerbox version `1.4.4’.
OS: CentOS 7
Debug log shows that there is no value in DLR report,
2016-07-13 00:04:44 [23073] [7] DEBUG: SMPP[smpp2] handle_pdu, got DLR
2016-07-13 00:04:44 [23073] [7] DEBUG: DLR[internal]: Looking for DLR smsc=smpp2, ts=1614576289, dst=+YYXXXXXXXXXX, type=1
2016-07-13 00:04:44 [23073] [7] DEBUG: DLR[internal]: created DLR message for URL http://x.x.x.x/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=dlr&type=%d&smslog_id=77&uid=1&smsc=kannel
2016-07-13 00:04:44 [23073] [7] DEBUG: new group created smpp’
2016-07-13 00:04:44 [23073] [7] DEBUG: group=smpp’ key=dlr_err’ value=’
Kannel Configuration
cat kannel.conf
group = core
admin-port = 13000
admin-password = xxxxx
status-password = yyyyyy
log-file = "/var/log/kannel/kannel.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
smsbox-port = 13001
store-type = spool
store-location = "/var/spool/kannel/store"
smsbox-max-pending = 100
SMSBOX
group = smsbox
bearerbox-host = localhost
bearerbox-port = 13001
sendsms-port = 13131
sendsms-chars = "0123456789+ "
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
mo-recode = true
group = smsc
smsc = smpp
smsc-id = smpp1
host = y.y.y.y
port = 5016
transceiver-mode = yes
smsc-username = xxxx
smsc-password = yyyyyy
msg-id-type = 1
system-type = "SMPP"
log-file = "/var/log/kannel/smpp1.log"
log-level = 0
allowed-prefix = "+xxxxx0;+xxxxx1;+xxxxx2"
denied-prefix = “+9;9”
group = smsc
smsc = smpp
smsc-id = smpp2
host = x.x.x.x
port = 5016
transceiver-mode = yes
smsc-username = xxxx
smsc-password = yyyyyy
msg-id-type = 1
system-type = "SMPP"
log-file = "/var/log/kannel/smpp2.log"
log-level = 0
allowed-prefix = "+xxxxx0;+xxxxx1;+xxxxx2"
denied-prefix = “+9;9”
SENDSMS-USER
group = sendsms-user
default-smsc = none
username = xxxxx
password = yyyyy
max-messages = 6
concatenation = true
allowed-prefix = "+xxxxx0;+xxxxx1;+xxxxx2"
denied-prefix = "+9;9"
SMS SERVICE
group = sms-service
keyword = default
omit-empty = true
max-messages = 0
get-url = “http://y.y.y.y/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a&Q=%Q&smsc=%i”