On Tue, 2004-11-16 at 12:25, Marko Helle wrote:
> Hi again,
> 
> Just to be more specific, I need to know how to build url which sends MO
> message, i.e. what should be path, is username/password requred, is
> keyword concatenated with message, etc.
> 
I guess you can check gw/smsc/smsc_http.c
Seems like it is nowhere else...

    user = http_cgi_variable(cgivars, "username");
    pass = http_cgi_variable(cgivars, "password");
    from = http_cgi_variable(cgivars, "from");
    to = http_cgi_variable(cgivars, "to");
    text = http_cgi_variable(cgivars, "text");
    udh = http_cgi_variable(cgivars, "udh");
    ...

practically you also see this by sending MT with it and checking how it
looks like. As 'kannel' http-smsc'es can talk with each other, any MT
data is valid MO data.


-- 
 &Kalle Marjola ::: Development ::: Helsinki ::: Enpocket


Reply via email to