There are many examples on posts on the mailing-list archives you must pass a variable of your own to the DLR url (besides the rest of parameters: dlr-mask, etc), containing for example the ID of your database record, or whatever way you want to identify it, for example:
http://myDomain.tld/myDLRScript.php?message_id=$mesage_id&dlr-mask=.... where $message_id should obviously take the ID in your script code regards, Juan On 8/7/07, Κωνσταντίνος Λιαδάκης <[EMAIL PROTECTED]> wrote: > > Hello, > > > > Is there any way I can pass a variable to kannel when sending an sms over > http so kannel will pass me that variable back when posting dlr? > > > > If not, how can we tie together an sms request for an MT with its > corresponding dlr? > > > > Another thing is when kannel sends an ACK dlr it doesn't include any id > that can be matched later with the real delivery report dlr record….. > > > > Also in the manual I read this > > account > > string > > Optional. Account name or number to carry forward for billing purposes. > This field is logged as ACT in the log file so it allows you to do some > accounting on it if your front end uses the same username for all services > but wants to distinguish them in the log. In the case of a HTTP SMSC type > the account name is prepended with the service-name (username) and a colon > (:) and forwarded to the next instance of Kannel. This allows hierarchical > accounting. > > binfo > > string > > Optional. Billing identifier/information proxy field used to pass > arbitrary billing transaction IDs or information to the specific SMSC > modules. For EMI2 this is encapsulated into the XSer 0c field, for SMPP this > is encapsulated into the service_type of the submit_sm PDU. > > > > > > Could account be what I need? But why don't I get it posted back in the > dlr? > > > > > > Any ideas anybody? > > > > Thank you very much in advance > > Regards > > > > Dinos > > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/940 - Release Date: 6/8/2007 > 4:53 μμ >
