nil wrote: >Hi > >When I receive an sms, I want to post through http a XML message. > >Does anybody knows how I can do this. > >the http url is: > > http://mysms.com/MessageServlet > > >And the xml messages are: > ><?xml version="1.0" encoding="ISO-8859-1"?> > <!DOCTYPE mobilectrl_received_sms> > <mobilectrl_received_sms> > <header> > <customer_id>MYNAME</customer_id> > <mobilectrl_id>.1.12:16ac04:eed9dbe852:-5cc2</mobilectrl_id> > </header> > <payload> > <sms premiumrate="15"> > <message>MY Message</message> > <from_msisdn operator="tele2">+3372584253</from_msisdn> > </sms> > </payload> > </mobilectrl_received_sms> > >I need to put the phone number and the message in the XML doc and post it for >each sms that I receive. > >Thank you. > > > Kannel can't do that directly (though you might want to check the XMLRPC interface that does something similar), but you can set the sms-service to call an executable script or a web script to format the XML and POST it to where you need to.
-- Oded Arbel m-Wise mobile solutions
