Willy,
Afaik, there's not such feature available on Kannel. Enough said,
there are many possible courses of action, to name a few of the more
feasible IMO:
1. Patch kannel to make it talk your particular XML dialect (by
hooking into the XML POST interface).
2. Put a middleware between kannel and your SMSC that translates the
XML into something Kannel understands (this is probably the more
"quick and dirty" solution, should be ok unless you need really high
performance).
3. Develop an "HTTP Smsc" that parses the XML and inserts the
messages. This is somewhat easier and cleaner than #1, since all the
code is already a single C file and you just need to hook your
"plugin" in there. I'm talking about gw/smsc/smsc_http.c here. You
still need to get the XML parsing engine to behave, of course, but
it's probably the way I'd take if I needed a high performance link
(otherwise I'd simply do #2: put a PHP script to translate the XML
into an HTTP request or insert using sqlbox and get along with it).
Hope it helps,
Alejandro Guerrieri
El 08/11/2008, a las 10:58 p.m., sangprabv escribió:
Hi,
How could we build a custom https smsc module that is configurable to
parse a non determined XML language syntax in MO, MT, and parse reply?
TIA.
Willy