Sunil,

The way it works is you specify a URL with each message that you send, and you give a different uid with each URL. When the DLR is received the URL that you specified is called. So you get the uid that you set with the message. In addition you get any other variables you requested, such as the status of the DLR with status=%d Have a look in the manual under table 6-9 for a list of other variables you can include in your DLR :-

http://www.kannel.org/download/1.4.1/userguide-1.4.1/ userguide.html#AEN3463

Just noticed in my original post I missed out a ? between the php and the status, so it should have been http://localhost/dlr.php?status=% d&uid=1234

Regards

Ben

On 9 Oct 2006, at 09:38, Meda, Venkata Sunil Prasad wrote:

Hi Ben,

Thanks for the lightning fast reply.

I have one more query. When Kannel gateway notify the delivery report.
Will it send the request to the call back url with the unique id set.


BR,
Sunil.

-----Original Message-----
From: Ben Suffolk [mailto:[EMAIL PROTECTED]
Sent: Monday, October 09, 2006 12:58 PM
To: Meda, Venkata Sunil Prasad
Cc: [email protected]
Subject: Re: Msg-id for tracking in Kannel 1.4.1
%d
Sunil,

This is possible, by you creating a unique ID and passing it as part of
the dlr-url parameter.

That is if you dlr-url was http://localhost/dlr.phpstatus=%d for
instance, you would make it something like

http://localhost/dlr.phpstatus=%d&uid=1234

Where you changed the uid on each message submission. This mean you have
to padd the dlr-url with the submit,a s opposed to having it in the
config file.

Regards

Ben
On 9 Oct 2006, at 08:21, Meda, Venkata Sunil Prasad wrote:

Hi,

We would like to use Kannel 1.4.1 for one of our mobile project. It is

still in the design phase. I would like to know whether Kannel gateway

tracks every message(sms,wapush) with a unique id and is it possible
for my application to get that id.


USECASE : Application sends a HTTP request for a sendSMS with all the
necessary parameters for Delviery Report set. Will it get back
uniqueID in response and when Kannel sends a delivery report back will

it send it with that uniqueID.



Thanks and regards,
Sunil.





Reply via email to