[PATCH] SMPP Optional Parameters
amalysh at kannel.org
Thu Sep 27 17:02:24 CEST 2007
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).
> On 8/6/07, Alexander Malysh <amalysh at kannel.org> 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
>> 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
>> Example MO url:
>> or with Post:
>> or with xml:
>> 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 ;)
More information about the devel