Hi!
I am using mysql dlr with kannel. Now inside mysql, kannel stores the
smsc-id inside smsc column. It seems that kannel is truncating first few
chars of the smsc-id at random. When the deliver_sm_resp comes, kannel
again truncates at random and then gets confused about the delivery report.
Example
smsc-id = "MY_PROVIDER"
While submitting message, kannel inserts "_PROVIDER" inside smsc column.
When getting deliver_sm, kannel searches for "Y_PROVIDER".
Is there any setting i need to do for getting kannel to insert proper
smsc name inside mysql ?
Here is my kannel config
**********************************************
# CORE
group = core
admin-port = 13000
admin-password = xxx
status-password = xxx
dlr-storage = mysql
log-file = "/var/log/kannel/kannel.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
smsbox-port = 13001
store-file = "/var/log/kannel/kannel.store"
group = smsc
smsc = "smpp"
host = xxxxxx
port = xxx
smsc-username = "xxxx"
smsc-password = "xxxx"
system-type = "xxxx"
keepalive = 30
transceiver-mode ="yes"
smsc-id = "MY_PROVIDER"
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
sendsms-chars = "0123456789+"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
# SEND-SMS USERS
group = sendsms-user
username = xxxxx
password = xxxxx
# SMS SERVICE 'Default'
# there should be default always
group = sms-service
keyword = default
#text = "No service specified"
exec = /usr/local/bin/kannel_incoming %t %q %a
# DLR with MySQL support configuration
group = mysql-connection
id = mydlr
host = localhost
username = xxxxxx
password = xxxxxx
database = xxxxx
group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-source=source
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc
**********************************************
Thanks.
--
regards,
Anand Gupta