Update 8th April 2015

I discovered the issue. In Kannel 1.4.4 (which I'm running), the User Guide for this version indicates that you can enter a dlr-mask and dlr-url as optional parameters into the sms-service group of smskannel.conf. But I found it is ignoring these parameters. So instead if I put the dlr-mask=31 in my sendsms URL (along with username, password, to and text etc. parameters, the dlr is created when the submit_sm_resp is received, and the dlr is updated when the deliver_sm is received.

I hope that helps others stuck with this issue.

Regards
Cliff

On 2015/04/03 06:45 PM, Cliff Court wrote:
I have an issue with getting DLRs working.

The kannel instance is up and sending SMS messages with dlr-storage set to internal. In the smsc.log, I see the submit_sm, the submit_sm_resp and the deliver_sm receipt. The message IDs in the submit_sm_resp and the deliver_sm are the same (and are both in hex). But when I get the deliver_sm, kannel tries to find the DLR entry (from the submit( but reports that it cannot find it with an error of "Got message but could not find message or was not interested in it".

After many hours or trying different things, I am fairly sure the initial DLR entry is not being generated or created and this is why the match-up is not happening.

I know I need to still create the dlr-mark and dlr-url to track DLRs separately, but since the internal DLR tracking is not working, I want to get this going first.

I would like to know if anyone has any ideas as to what would prevent the initial DLR entry from being generated or any other ideas how to solve this?

The smskannel.conf is

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = 123
dlr-storage = internal
log-file=/tmp/core.log
log-level=0
box-allow-ip = "127.0.0.1"

group = smsc
smsc = smpp
host = xxxxx
port = 9911
smsc-username = xxxx
smsc-password = xxxx
throughput = 50
smsc-id="xxxxx"
msg-id-type = 0x03
system-type="SMPP"
transceiver-mode = true
address-range = ""
log-file=/tmp/smsc.log
log-level=0

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 51111
log-file=/tmp/smsbox.log
log-level=0

group = sms-service
keyword = default
catch-all = yes
max-messages = 10

Many thanks
Cliff




Reply via email to