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 >> >> > > -- Thanks, Alex
