Thank you Stipe. I think I'll use the wap push method to avoid the complexity of programming a translator or a dynamic sms services. I am still learning so I'll acquire more experience to share with the community and help like you help me.
Thanks! On Mon, Oct 20, 2008 at 8:52 AM, Stipe Tolj <[EMAIL PROTECTED]> wrote: > Carlos Ruiz Diaz schrieb: > > Thank for the reply Stipe. > > Let me explain myself better with an example, maybe there was something > > wrong with my bad English :). > > I want to send the following kind of messages to the users: > > ---------------------------- > > Make your choice: > > A. Vote for Carlos > > B. Vote for Augusto > > ---------------------------- > > if the user sends me a reply with an "A" or "B" I want to send: > > > > -------------------------------------------------------- > > You have selected the option "A|B" > > -------------------------------------------------------- > > > > and if not: > > > > -------------------------------------------------------- > > No such option > > -------------------------------------------------------- > > > > I already have a wap page for the above example and but I don't know if > > there exists a way to translate it transparently to interactive SMS or I > > should write my own system using sms services with keywords like "A", > "B". > > I think your English isn't too bad at all ;) > > I think all you need to do is to send a WAP push SI (session indication) > (via > SMS as bearerbox) to the user. What happens is this: > > 1. your backend application makes a request to Kannel's PPG with the > corresponding PAP and SI documents as XML (see user's guide) > > 2. that's received by wapbox literally, wapbox transcodes this to WBXML'ed > chunks and sends it as binary SMS to bearerbox. > > 3. bearerbox sends it as binary SMS to the device, where the UDH data > segments > contains the WAP push application port number. > > 4. due to the UDH data segment port header, the device "knows" this is WAP > push > message and decodes it again to the SI document. > > 5. the devices presents a question to the user which you can formulate on > your > own, i.e. "Do you want to make you decision now on the vote?". The > "question" is > associated with an URL (your WML deck), if the user press "yes", the URL is > opened in the corresponding devices browser, if "no", it's discarded. > > This is actually in detail the initialization phase for getting the user to > the > vote system. > > I hope this helps ;) > > Stipe > > -- > ------------------------------------------------------------------- > Kölner Landstrasse 419 > 40589 Düsseldorf, NRW, Germany > > tolj.org system architecture Kannel Software Foundation (KSF) > http://www.tolj.org/ http://www.kannel.org/ > > mailto:st_{at}_tolj.org <st_%7Bat%7D_tolj.org> mailto: > stolj_{at}_kannel.org <stolj_%7Bat%7D_kannel.org> > ------------------------------------------------------------------- >
