Generate your own ID and add it to the DLR-URL.

When you give the DLR-URL to kannel inside the sendsms add &id=12345 to the dlr-url.

Regards
Falko

Am 09.06.2009 um 12:12 schrieb Latitude Berlin:

If my application is sending a lot me SMS messages, then on receiving DLR, how may I know for which SMS message this DLR is for? I know message-id will be there but how can I decide which message- id is for which sent message?



On Tue, Jun 9, 2009 at 12:05 PM, Alejandro Guerrieri <[email protected] > wrote:
Not directly, you need DLR's for that.

This is because the sending is asynchronous, so kannel might not be able to give back a message id until the external smsc accepts the message (which may happen an hour later, for example).

Regards,

Alejandro


On Tue, Jun 9, 2009 at 11:56 AM, Latitude Berlin <[email protected] > wrote:
Hi,

I need to store message-ids of SMS messages in my application. Is it possible that when I send send-sms request to Kannel (via HTTP), Kannel reports the message-id of the sms to my application through a Servlet?

Thanks a lot.

Cheers



Reply via email to