On Thu, 2004-11-11 at 12:13, Marko Helle wrote: > Hello Users, > > I have been familiarizing my self with kannel last days and > mostly understanding how things work, but this thing with MOs > I just dont get. > > When user wants to use my service, > 1) he/she sends sms message which goes to smsc > 2) smsc then contacts my sms gw (kannel) > 3) kannel then makes request to my web app > 4) now in my web app I know what to do and after doing that > I have response. > > > So my questions: > - when smsc contacts kannel/MyWebApp, does it wait for response?
No, except for ACK (exception: some HTTP-based content gateways. But then Kannel won't reply except as 'no reply') > - If not, should I send response by MT message? Kannel automatically sends whatever the webapp replies as MT* (well, whatever is sent to terminal is "mobile terminated" :) (*unless max-messages = 0 has been set) > - Is there some time limit for response, i.e. if completing response > takes time can I keep smsc waiting or should response be always quick > and continue with MT if necessary? > See above. Practically there is NO difference in reply- or push-oriented MT. Thus, basicly following scenarios produce same output: 1. MO message initiates some webapp, which replies and this reply is sent back to phone 2. As above, but 'max-messages = 0' and the webapp immediately does separate push (sendsms), using msisdn etc. from the original MO However, if webapp is very slow to response, I recommend scenario 2: immediate 'ok' answer and then later on push (sendsms) > - When I send sms to some voting machine and it replyes saying "thanks > for voting", was there only my MO and response to it or was there > my MO and MT from voting machine? > Okay, there is some HTTP-based smsc'es which might make difference in reply vs. MT messages, but for normal SMSCes there is no such thing as 'reply' - it simply relies messages to two directions. (Of course there is possibility that I'm wrong here, but then I have obviously missed something when doing those SMSC codes =) Unless you count delivery reports as 'reply' -- &Kalle Marjola ::: Development ::: Helsinki ::: Enpocket
