On Fri, 15 Apr 2005, Julien Buratto wrote:
Or is there a ready-to-use solution in Kannel that would permit to make a
link between a sent SMS and the reception of a delivery report? And how
should I proceed? Is there anyone who still resolved this problem?
Did u set the DLR-URL ?
In the URL you can include any id you want.
What most people do in this situation is use a database to store
information about a message with a unique ID (primary key, auto
incremented). This way when they send the message to kannel with a DLR
URL, they can include this in the DLR URL, ie:
insert into log values (NULL, 2125551212, now(), "this is a test message");
get the insert_id
dlr url:
http://host/dlr.cgi?id=1234&t=%t&u=%u&i=%i
This way your URL already has your internal tracking ID associated with
it, so when it is called you can do whatever you need.
Beckman
---------------------------------------------------------------------------
Peter Beckman Internet Guy
[EMAIL PROTECTED] http://www.purplecow.com/
---------------------------------------------------------------------------