Re: [Kannel-Devel] Re: messageid DLR parameter
Peter Beckman <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
+1 (do I get a vote? :-)
On Tue, 8 Feb 2005, Matthew Hixson wrote:
> Is there a good reason for not adding this functionality? Sounds like a lot
> of us could make use of this.
> -M@
>
> On Feb 8, 2005, at 1:09 PM, fred wrote:
>
>>
>>
>>
>>> you will probably have to do a hack yourself, for some reason these guys
>>> have resisted doing this for
>>> ages...us in our real world need to match up dlr receipts, in the first
>> case
>>> we use a transactionid along with the sendsms,
>>> but sometimes that doesn't work when you have multiple smpp connections to
>>> the same telco, and for some reason
>>> they send a dlr sometimes on a different connection from where it was
>> sent!
>>> So then the messageid comes useful.
>>>
>>> places to change..
>>> urltrans.c
>>> add another case, eg
>>> case 'Z': /* message id */
>>> if (octstr_len(request->sms.messageid)) {
>>> enc = octstr_duplicate(request->sms.messageid);
>>> octstr_url_encode(enc);
>>> octstr_append(result, enc);
>>> octstr_destroy(enc);
>>> }
>>>
>>>
>>> msg-decl.h
>>> OCTSTR(messageid);
>>>
>>> and of course you need to fill in messageid at the appropriate places in
>>> smsc_smpp etc...
>>>
>>> then you'll be able to add %Z in your dlr-url config
>>>
>>> cheers
>>>
>>>
>>> ----- Original Message -----
>>> From: "Hillel Bilman" <[email protected]>
>>> To: <[email protected]>
>>> Cc: "Kannel Devel" <[email protected]>
>>> Sent: Tuesday, February 08, 2005 8:33 PM
>>> Subject: messageid DLR parameter -#- MailID:PAAA
>>>
>>>
>>>> Dear Alex,
>>>>
>>>> Have you had a chance to add your code for receiving the messageid,
>>> received
>>>> back via the SubmitSMSResponse, via a DLR parameter to the CVS
>> repository?
>>>> This would be great if you have such code and you are prepared to submit
>>> it.
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>
>>
>>
>
>
---------------------------------------------------------------------------
Peter Beckman Internet Guy
[email protected] http://www.purplecow.com/
---------------------------------------------------------------------------