What is the correct delivery date/time

Hillel hillel at ecommunicate.biz
Sun Jan 6 20:56:53 CET 2008


Dear Kannel Developers,

When we send an SMS we are using:

dlr-url=http://localhost/DeliveryReceipt?smsId=1244329&status=%d&smsc=%i&tim
eDate=%t&destination=%p&delivInfo=%a&source=%P&msgid=%k

An example of the response coming back is:
variables are at: Thu Jan 03 19:40:02 SAST 2008
smsId:	1244329
status:	1
smsc:	smsc1
timeDate:	2008-01-03 17:40:02
destination:	27833014511
delivInfo:	id:0001430200 sub:001 dlvrd:001 submit date:0801031940 done
date:0801031940 stat:DELIVRD err:000 Text: You are no# 71/100
source:		278311123345334
msgId:id:	0001430200

The done date from delivInfo=%a only gives the value until minutes.  While
timeDate=%t gives this important value with seconds.  Can we always use the
value from timeDate=%t as the time the SMS was delivered to the handset, as
then we get the value until seconds?

Thanks, any advice appreciated.




More information about the devel mailing list