Hi,
    If this is known to somebody, please tell:
       Will this patch work for capturing optional parameters presend in
DLR messages ? That is can I use &meta-data=%D  in my DLR-URL?

Thanks,
    Kyriacos Sakkas

Alexander Malysh wrote:
> Hi,
>
> any progress on testing and userguide :)?
>
> Alejandro Guerrieri wrote:
>
>   
>> So far I've tested the sendsms -> SMSC portion using Logica SMSC
>> simulator and it works like a charm! Great job Alex!
>>
>> I've also made a patch for Sqlbox-standalone (already sent to dev list).
>>
>> I'll test the SMSC -> Kannel portion as soon as I can get a hand on a
>> SMSC and/or Simulator capable of sending TLV's (Logica cannot AFAIK,
>> just displays the raw bytes when TLV's are received).
>>
>> We're just missing the userguide docs (coming after completing the tests).
>>
>> Regards,
>>
>> Alejandro
>> On 8/6/07, Alexander Malysh <[EMAIL PROTECTED]> wrote:
>>     
>>> Hello all,
>>>
>>> as promised I rebased my SMPP TLV patch and post is here for review.
>>> Please anybody if possible, write a userguide because I don't have time
>>> to do it and without userguide this patch will not get into mainline.
>>>
>>> Short description...
>>>
>>>   In the config
>>> group = smpp-tlv
>>> name = some-name
>>> tag = 0x1601
>>> type = integer|nulterminated|octetstring
>>> length = 4
>>>
>>> In the msg struct I added meta_data field that can contain any
>>> parameters not only for smpp. meta_data is formated as follows:
>>>   meta_data = ?group?key=value&key1=value1?smpp?some-name=ABC
>>> then SMPP module just set all TLVs that can be found in the smpp group of
>>> meta_data.
>>>
>>> With this approach it's possible to use this generic interface to put
>>> some extra functionality into any SMSC module.
>>>
>>> Example sendsms url:
>>> lynx -source -dump
>>> 'http://localhost:13013/cgi-bin/sendsms?username=tester&password=foobar&to=123&from=456&text=text&meta-data=%3Fsmpp%3Fsome-name%3D123'
>>>
>>> Example MO url:
>>>
>>> http://localhost:123/bla/...&meta-data=%D&;...
>>>
>>> or with Post:
>>> X-Kannel-Meta-Data
>>>
>>> or with xml:
>>> <meta-data>xxxxx</meta-data>
>>>
>>>
>>> Please test it and let me know how it works.
>>>
>>>
>>> P.S. I don't like how smpp_pdu_init and smpp_pdu_shutdown functions
>>> called. They called from bb_smscconn.c but I have not found a better
>>> place to call these. This may change in future ;)
>>>
>>> --
>>> Thanks,
>>> Alex
>>>
>>>
>>>       
>>     
>
>   


-- 
Kyriacos Sakkas
Development Team
Netsmart
Tel: + 357 22 452565
Fax: + 357 22 452566
Email: [EMAIL PROTECTED]
http://www.netsmart.com.cy

Taking Business to a New Level!

** Confidentiality Notice: The information contained in this email
message may be privileged, confidential and protected from disclosure.
If you are not the intended recipient, any dissemination, distribution,
or copying of this  email message is strictly prohibited.
If you think that you have received this email message in error, please
email the sender at [EMAIL PROTECTED] **


Reply via email to