I am using kannel with an smpp smsc. Now when the smsc is sending me submit_sm_resp, it sends the message_id as "S375". However when the deliver_sm is being send, it only sends back "375". This way kannel is not able to register the message delivery since both message ids don't match. I checked with my smsc and they have asked me to either insert the "S" char when deliver_sm is being send at my end, alternatively remove "S" when submit_sm_resp is send.

Is there a way to do this ? For now i am using standard kannel deb files on debian.

Here is my kannel.conf

# CORE
group = core
admin-port = 13000
admin-password = pwd
status-password = pwd
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 = x.x.x.x
port = Y
smsc-username = "user"
smsc-password = "password"
system-type = "VMA"
keepalive = 50
transceiver-mode ="yes"

# 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 = sms
password = pwd


# 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 = root
password = XXXXXX
database = kannel

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


--
regards,

Anand Gupta

Reply via email to