aliraza raza wrote:

> Hello Everyone!
>                              I want to send an SMS Message from my WAP site. 
> I 
> am using Http inteface to send a SMS message from my site.  My URL to send 
> sms 
> message is
> 
> http://localhost:13013/cgi-bin/sendsms?username=ali&password=raza&to=1212&text=aliraza
>  
> <javascript:ol('http://localhost:13013/cgi-bin/sendsms?username=ali&password=raza&to=1212&text=aliraza');>
>  
> 
> 
> When i write this URL in browser, it sends the message. Display of my sms box 
> is 
> as follow:
> 
> 2006-06-26 17:32:15 [6024] [0] INFO: Connected to bearerbox at localhost port 
> 13001.
> 2006-06-26 17:32:44 [6024] [3] INFO: smsbox: Got HTTP request 
> </cgi-bin/sendsms> 
> from <192.168.8.1>
> 2006-06-26 17:32:44 [6024] [3] INFO: sendsms used by <ali>
> 2006-06-26 17:32:44 [6024] [3] INFO: sendsms sender:<ali:13013> (192.168.8.1) 
> to:<1212> msg:<aliraza>
> 
> But when i call the same URL from a JSP page , it doesnt send message. SMS 
> box 
> receive the http Request but it doesnt receive the message. Display of my sms 
> box is as follow:
> 
> 2006-06-26 17:35:18 [6024] [0] INFO: Connected to bearerbox at localhost port 
> 13001.
> 2006-06-26 17:35:37 [6024] [3] INFO: smsbox: Got HTTP request 
> </cgi-bin/sendsms> 
> from <xxx.xxx.x.xxx>

there is no line for the "sendsms used by <ali>" on the one called from the WAP 
site?

This would explain the HTTP 403, which is a "forbidden", due to wrong or 
missing 
user credentials.

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           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------

_______________________________________________
users mailing list
[email protected]
http://www.kannel.org/mailman/listinfo/users

Reply via email to