Piyush wrote:
Hi,
When I call...
http://XX.XXX.X.XXX:13013/cgi-bin/sendsms?username=xxxxx&password=xxxxx&to=xxxxxxxxxx&text=hello&from=xxxxx&dlr-mask=31

it returns 0: accepted for delivery.
But I want it to return message id. So that, later I can check out the status of the message in dlr through these specific message id.

Put your own message id in the dlr-url parameter, like dlr-url=http://myhost/dlr.php?myid=12345&status=%d

Kannel will then call your url with the status and with your id, so you can update your database.

See http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html#DELIVERY-REPORTS

Arne


Reply via email to