Web Min
2018-10-23 19:18:20 UTC
Hello,
I am unable to receive DLR in Kannel using SMPP Connectivity.,
The log is showing when start binding , this INFO: DLR rerouting for smsc
id <my-smsc> disabled.
Any help would be appreciated
below are my configuration details
# CORE
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
wdp-interface-name = "xx.xx.xx.xx"
admin-password = kannelpass
status-password = kannelpass
store-type = spool
store-location = /var/spool/kannel/store
dlr-storage = mysql
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
sms-resend-freq = 30
sms-resend-retry = 2
sms-incoming-queue-limit = "-1"
sms-outgoing-queue-limit = 9999999
smsbox-max-pending = 999
log-level=0
log-file = /var/log/kannel/core.log
access-log = /var/log/kannel/access-core.log
##################################################
# DLR SETUP
group = mysql-connection
id = mydlr
host = localhost
port = 3306
username = root
password = kannelpass
database = kannel_db
max-connections = 25
# DLR TABLE STRUCTURE
group = dlr-db
id = mydlr
table = dlr
field-smsc=smsc
field-timestamp=ts
field-destination=destination
field-source=source
field-service=service
field-url=url
field-mask=mask
field-status=status
field-boxc-id=boxc
##################################################
# SMSBOX
group = smsbox
bearerbox-host = localhost
bearerbox-port = 13001
sendsms-port = 13301
sendsms-chars = "0123456789+ "
mo-recode = true
http-request-retry = 10
http-queue-delay = 60
immediate-sendsms-reply = false
log-level = 0
log-file = /var/log/kannel/smsbox.log
access-log = /var/log/kannel/access-smsbox.log
##################################################
# SENDSMS-USER
group = sendsms-user
default-smsc = mysmsc
forced-smsc = mysmsc
username = user
password = pass
max-messages = 1000
concatenation = true
#dlr-url="http://IPadress:port
/dlr.php?smscID=%i&user=xxxx&passwd=xxxx&type=%d&reply=%A&to=%p&receiver=%P&time=%t&smsID=%T&charset=%C&kannel_id=%I&message=%b"
##################################################
# WAPBOX
group = wapbox
bearerbox-host = localhost
log-level = 0
log-file = /var/log/kannel/wapbox.log
##################################################
# SMSC
group = smsc
smsc = smpp
smsc-id = mysmsc
allowed-smsc-id = mysmsc
preferred-smsc-id = mysmsc
interface-version = 34
allowed-prefix = xxx
host = xx.xx.xx.xx
port = 8899
receive-port = 0
transceiver-mode = 0
smsc-username = user
smsc-password = pass
system-type = VMA
source-addr-ton = 5
source-addr-npi = 1
dest-addr-ton = 0
dest-addr-npi = 0
keepalive = 600
reconnect-delay = 3
enquire-link-interval = 30
esm-class = 0
#max-pending-submits = 50
#throughput = 50
#wait-ack = 240
#wait-ack-expire = 0x00
msg-id-type = 0x01
log-level = 0
log-file = /var/log/kannel/smsc-transmitter.log
group = smsc
smsc = smpp
smsc-id = mysmsc
allowed-smsc-id = mysmsc
preferred-smsc-id = mysmsc
interface-version = 34
allowed-prefix = xxx
host = xx.xx.xx.xx
port = 0
receive-port = 8899
smsc-username = user
smsc-password = pass
system-type = VMA
source-addr-ton = 5
source-addr-npi = 1
dest-addr-ton = 0
dest-addr-npi = 0
keepalive = 600
reconnect-delay = 3
enquire-link-interval = 30
esm-class = 0
msg-id-type = 0x01
log-level = 0
log-file = /var/log/kannel/smsc-receiver.log
I am unable to receive DLR in Kannel using SMPP Connectivity.,
The log is showing when start binding , this INFO: DLR rerouting for smsc
id <my-smsc> disabled.
Any help would be appreciated
below are my configuration details
# CORE
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
wdp-interface-name = "xx.xx.xx.xx"
admin-password = kannelpass
status-password = kannelpass
store-type = spool
store-location = /var/spool/kannel/store
dlr-storage = mysql
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
sms-resend-freq = 30
sms-resend-retry = 2
sms-incoming-queue-limit = "-1"
sms-outgoing-queue-limit = 9999999
smsbox-max-pending = 999
log-level=0
log-file = /var/log/kannel/core.log
access-log = /var/log/kannel/access-core.log
##################################################
# DLR SETUP
group = mysql-connection
id = mydlr
host = localhost
port = 3306
username = root
password = kannelpass
database = kannel_db
max-connections = 25
# DLR TABLE STRUCTURE
group = dlr-db
id = mydlr
table = dlr
field-smsc=smsc
field-timestamp=ts
field-destination=destination
field-source=source
field-service=service
field-url=url
field-mask=mask
field-status=status
field-boxc-id=boxc
##################################################
# SMSBOX
group = smsbox
bearerbox-host = localhost
bearerbox-port = 13001
sendsms-port = 13301
sendsms-chars = "0123456789+ "
mo-recode = true
http-request-retry = 10
http-queue-delay = 60
immediate-sendsms-reply = false
log-level = 0
log-file = /var/log/kannel/smsbox.log
access-log = /var/log/kannel/access-smsbox.log
##################################################
# SENDSMS-USER
group = sendsms-user
default-smsc = mysmsc
forced-smsc = mysmsc
username = user
password = pass
max-messages = 1000
concatenation = true
#dlr-url="http://IPadress:port
/dlr.php?smscID=%i&user=xxxx&passwd=xxxx&type=%d&reply=%A&to=%p&receiver=%P&time=%t&smsID=%T&charset=%C&kannel_id=%I&message=%b"
##################################################
# WAPBOX
group = wapbox
bearerbox-host = localhost
log-level = 0
log-file = /var/log/kannel/wapbox.log
##################################################
# SMSC
group = smsc
smsc = smpp
smsc-id = mysmsc
allowed-smsc-id = mysmsc
preferred-smsc-id = mysmsc
interface-version = 34
allowed-prefix = xxx
host = xx.xx.xx.xx
port = 8899
receive-port = 0
transceiver-mode = 0
smsc-username = user
smsc-password = pass
system-type = VMA
source-addr-ton = 5
source-addr-npi = 1
dest-addr-ton = 0
dest-addr-npi = 0
keepalive = 600
reconnect-delay = 3
enquire-link-interval = 30
esm-class = 0
#max-pending-submits = 50
#throughput = 50
#wait-ack = 240
#wait-ack-expire = 0x00
msg-id-type = 0x01
log-level = 0
log-file = /var/log/kannel/smsc-transmitter.log
group = smsc
smsc = smpp
smsc-id = mysmsc
allowed-smsc-id = mysmsc
preferred-smsc-id = mysmsc
interface-version = 34
allowed-prefix = xxx
host = xx.xx.xx.xx
port = 0
receive-port = 8899
smsc-username = user
smsc-password = pass
system-type = VMA
source-addr-ton = 5
source-addr-npi = 1
dest-addr-ton = 0
dest-addr-npi = 0
keepalive = 600
reconnect-delay = 3
enquire-link-interval = 30
esm-class = 0
msg-id-type = 0x01
log-level = 0
log-file = /var/log/kannel/smsc-receiver.log