> 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.
I understand inside kannel.conf when mysql is defined as the storage area for dlr, they are all stored there. But how does one issue the insert like you mention above ? Is it inside the dlr.cgi we do this ? -- Thx and regards, Anand > 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. > > > Beckman > --------------------------------------------------------------------------- > Peter Beckman Internet > Guy > [EMAIL PROTECTED] > http://www.purplecow.com/ > --------------------------------------------------------------------------- > >
