Hi List,

I'm connecting Kannel gateway to a Nokia SMSC using CIMD2 protocol, and
I'm trying to use DLR reports, as far as I know, (not completely sure
that's the correct), in CIMD2 the id of the message is the timestamp.

So I compiled kannel with my-sql support and works fine, I'm able to
send the message and I can see in the SMSC that the delivery report is
sent back to kannel gateway but in the DEBUG I got this

2004-07-19 16:31:44 [15] DEBUG: boxc_receiver: sms received
2004-07-19 16:31:44 [6] DEBUG: smscconn_sender
(CIMD2:aaaa.aaaa.aaa:xxxx:yyyyyyyyyyy): sending message
2004-07-19 16:31:50 [5] DEBUG: no rows found

And the DLR record created in the DLR table is not deleted and my php
script invoked in dlrurl is not executed.

I checked more in detail and what seems the problem is the timestamp
format:

The SMSC sends to kannel in this format YYMMDDHHMISS

And the format kannel stores in the DLR table is YYYYMMDDHHMISSS

And I'm guessing that's the reason why the DLR record is not deleted.

Would you mind helping me finding out a solution for this?

Many thanks

Oscar Flores


Reply via email to