A bit more information from log. So as John said the problem is with 
authorization/rights.
Any ideas whats wrong?

2004-07-29 10:28:22 [2] DEBUG: HTTP: Creating HTTPClient for `192.168.185.30'.
2004-07-29 10:28:22 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms>
from <192.168.185.30>
2004-07-29 10:28:22 [3] DEBUG: Status: 403 Answer: <Authorization failed
for sendsms>
2004-07-29 10:28:22 [3] DEBUG: HTTP: Destroying HTTPClient area 0xbd600c78.
2004-07-29 10:28:22 [3] DEBUG: HTTP: Destroying HTTPClient for `192.168.185.30'.

>--Alkuper�inen viesti--
>Date: Thu, 29 Jul 2004 09:16:17 +0300
>From: [EMAIL PROTECTED]
>Subject: Kannel and http GET
>To: [EMAIL PROTECTED]
>
>
>Hi,
>is there something spevial I should do to get this working? Got Kannel
1.2.1
>running and from command line sending sms's works just fine. But when trying
>to send via http with following command.
>GET 
>http://smsbox:13013/cgi-bin/sendsms?username=user&password=pass&to=123456&text=test
>it gives error as follows:
><HEAD><TITLE>An Error Occurred</title></head>
><BODY>
><H1>An Error Occurred</h1>
>403 Foo
></body>
></html>
>
>
>The config file of kannel is like this:
>
>group = core
>admin-port = 13000
>smsbox-port = 13001
>admin-password = pass
>log-file = "/var/log/kannel/smsbox.log"
>log-level = 0
>access-log = "/var/log/kannel/saccess.log"
>box-allow-ip = "127.0.0.1"
>store-file = /usr/local/gateway-1.2.1/incomming/sms
>dlr-storage = internal
>
>group = modems
>id = nokiaphone
>name = "Nokia Phone"
>detect-string = "nokia"
>speed = 9600
>
>group = smsc
>smsc = at2
>smsc-id = nok6310
>speed = 9600
>modemtype = nokiaphone
>device = /dev/ttyS0
>connect-allow-ip = "127.0.0.1"
>
>group = smsbox
>bearerbox-host = localhost
>sendsms-port = 13013
>log-file = "/var/log/kannel/smsbox.log"
>log-level = 0
>access-log = "/var/log/kannel/sms-access.log"
>global-sender = 0505771256
>
>group = sendsms-user
>username = user
>password = pass
>max-messages = 10
>concatenation = true
>
>Any help would be highly apreciated, thanx in advance.
>
>~pete
>
>_______________________________________________________________________
>Parhaat hakupalvelut yhdess� osoitteessa: http://www.eniro.fi/
>
>Suomalaisten yritysten tuotteet ja palvelut: http://yritykset.eniro.fi/
>
>
>
>


_______________________________________________________________________
Parhaat hakupalvelut yhdess� osoitteessa: http://www.eniro.fi/

Suomalaisten yritysten tuotteet ja palvelut: http://yritykset.eniro.fi/




Reply via email to