RE: DLR receipts <---> sms sent
"Oded Arbel" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
> -----Original Message----- > From: Kita B. Ndara [mailto:[email protected]] > No, this would not achieve what I want. Consider for > instance that I have a service whereby a user requests > a ticket number via sms. I want to know the user got > his ticket. So the ID is per message, not per service. That's what I meant. you probably set the dlr-url as static in the service configuration. this is not the way to go. I meant to set the dlr-url per message in the send-sms interface using a GET parameter or with a HTTP header in an sms-service reply. > One solution: Does the dlrurl take the %a param? That > is, can I see the message that is being reported on? > If so then I won't need the ID. yes - dlrurl accepts a %a paremeter for the "message data", but the message data of a dlr-url is not the content of the original message (which cannot be retrieved using most service and is not kept in persistant storage) but some kind of textual description generated by the driver - often the actuall result code from the SMSC. -- Oded Arbel m-Wise mobile solutions [email protected] +972-9-9581711 (116) +972-67-340014 ::.. Reality is that which, when you stop believing in it, doesn't go away. -- Phillip K. Dick, 1928-1982 > --- Oded Arbel <[email protected]> wrote: > > > Its not in the docs, but is otherwise obvious - > > embed your identifing parameter in the URL you > > submit to dlr-url, w/o kannel % parameter parsing. > > for example: > > dlrurl=http://myhnost/mycgi?myid=1234&result=%d > > > > -- > > Oded Arbel > > m-Wise mobile solutions > > [email protected] > > > > +972-9-9581711 (116) > > +972-67-340014 > > > > ::.. > > Aunty Entity: "Do you know who I was? Nobody. Except > > on the day after, > > I was still alive. This nobody had a chance to be > > somebody." > > -- from "Mad Max Beyond Thunderdome" > > > > > -----Original Message----- > > > From: Kita B. Ndara [mailto:[email protected]] > > > Sent: Friday, September 20, 2002 1:58 PM > > > To: [email protected] > > > Subject: DLR receipts <---> sms sent > > > > > > > > > Quick question: Each time I send an sms (either > > > through sendsms interface or via an sms service) > > and I > > > set the dlrmask, I want to be able to tag the > > message, > > > so that when the dlrurl is called, some cgi > > parameter > > > passed to it will tell me which message it relates > > to. > > > How do I do that? I've scanned the docs but nada. > > I'm > > > using v1.2.0 > > > > > > Thanks > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Everything you'll ever need on one web page > > > from News and Sport to Email and Music Charts > > > http://uk.my.yahoo.com > > > > > > > > __________________________________________________ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.com >