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/




Reply via email to