DLR = 31 means you'll get all the delivery receipts.

Here's the process:

You hand kannel an sms via sendsms -- now kannel has the message.
Kannel gives the sms to the SMSC successfully (8) or fails (16) -- You get
a DLR from KANNEL for this success or failure.

All other DLRs come as a specially formatted SMS to kannel which kannel
recognizes as a DLR sms and calls your dlr-url.

If your SMSC does not hand back Delivery Receipts for sms messages, this is
why you never see dlr-url called again.

In kannel you would see messages like this that would indicate that kannel
is receiving DLR messages in the bearer-access.log:

2005-05-03 00:02:15 DLR SMS [SMSC:smsc1] [SVC:smsc1] [ACT:] [BINF:] 
[from:12345] [to:15555551212] [flags:-1:-1:-1:-1:4] [msg:103:id:703041200 
sub:001 dlvrd:001 submit date:0505030502 done date:0505030502 stat:ACKED   
err:003 text: ] [udh:0:]

That's a nice DLR SMS.

Beckman

On Wed, 9 Nov 2005, Andi Taslim wrote:

Dear Mr. Tjatur,

I'm still struggling to have the DLR working on my Kannel gateway. Basically I could see the DLR entry on the database that I've specified. I set the dlr-mask=31 but the url that I've specified only got called once, that is when the sms got submitted to the SMSC (status=8).

Other than that, the dlr-url never gets called again, even after the SMS is delivered successfully to the recipient. The DLR entry on the database still has status=0 and I've verified that the dlr-url never gets called again.

If it's true that Kannel uses the timestamp as one of its variable to identify a unique SMS to be updated, then I suspect that it might have something to do with the timestamp field. I've followed your suggestion to change the ts to be DATETIME. However, now I don't see the timestamp at all. It becomes: "0000-00-00 00:00:00" while when I used VARCHAR(40) as per the example from Kannel, I had numbers such as 39, 1347, 1432, etc. I might be wrong though, timestamp might not have anything to do with my problem.

Could it also be that the SMSC on the operator side doesn't work correctly? If I want to debug this from Kannel output, where should I start backtracking this issue?

Any suggestion and help from anyone here will be greatly appreciated.

Thanks much,

-Andi




---------------------------------------------------------------------------
Peter Beckman                                                  Internet Guy
[EMAIL PROTECTED]                             http://www.purplecow.com/
---------------------------------------------------------------------------

Reply via email to