Re: DLR receipts <---> sms sent
Andreas Fink <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
On Montag, September 23, 2002, at 12:37 Uhr, Kita B. Ndara wrote: > 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. > > > 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. > > P. > when you deliver the ticket you ask for a delivery report and you simply include &id=<id> as constant string. Of course you replace <id> with whatever "ticket" number you use. The important thing here is that you have to actively PUSH the message to kannel. You can not PULL for it as there is no X-Kannel-DLRMASK or X-Kannel-DLRURL header (yet?). So you would get the request to your application and reply nothing. then your application creates a push request with that constant &id=... and you will get called back with exactly this &id=... so you know which one has been delivered Andreas Fink Global Networks, Inc. ------------------------------------------------------------------ Tel: +41-61-6932730 Fax: +41-61-6932729 Mobile: +41-79-2457333 Global Networks, Inc. Schwarzwaldallee 16, 4058 Basel, Switzerland Web: http://www.global-networks.ch/ [email protected] ------------------------------------------------------------------ Member of the GSM Association