Re: SMPP SUBMIT_SM optional Parameters - how to set?
Vjacheslav Chekushin <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | LMT |
| Message-ID | <[email protected]> |
Stipe Tolj wrote: > Andreas Rektenwald schrieb: > >>I have played around with kannel for a while and have initiated a SMPP >>connection to my provider. Works great! >>My Provider needs the optional parameter its_session_info set for MT SMS (MO >>SMS works fine). >> I've tried to understand the preproc stuff >>(Is there any documentation about that?), I think I know that I have to >>"hardcode" that in function >>msg_to_pdu (for test purposes), but how? > > > there is no exclusive documentation on the preproc magic, unfortunatly > ;(. It's a bit tricky to understand, even while very powerfull in its > backend usage. Ok, this preprocessor magic pretty well described. See http://liw.iki.fi/liw/texts/cpp-trick.html > > Simply think of real macro'ing of the things defined in the .def files > and how they are #define'ed within the sources. Sorry, it's hard to > explain in two sentences. > > Kannel does currently not use optional (v3.4) parameters. They are > very specific to SMPP and as be try to abstract the frontend (smsbox > for MT direction) to all supported protocolls, there is no way to > inject data to specific optional parameters of the SMPP module. > > If the data you have to store in the optional field is static, you can > hardcode it within the smpp packing (msg_to_pdu) function. Even while > I'm not sure if the encoding for the optional parameters is yet done?! > > Stipe > > mailto:[email protected] > ------------------------------------------------------------------- > Wapme Systems AG > > Münsterstr. 248 > 40470 Düsseldorf, NRW, Germany > > phone: +49.211.74845.0 > fax: +49.211.74845.299 > > mailto:[email protected] > http://www.wapme-systems.de/ > ------------------------------------------------------------------- > >-- Vjacheslav Chekushin mailto:[email protected] Latvian Mobile Phone Company http://www.lmt.lv