Hi list,
I wanted to use kannel as an SMS gateway using a nokia 8210 as a virtual smsc. I set the configuration settings as mentioned in the userguide but the gateway failed to recieve any sms's sent to the phone. Sending sms's using the /cgi-bin/sendsms interface was also not really sending the sms through the phone. Do you need to install any special driver software for the 8210 for kannel to communicate with the phone? Can you use any nokia phone as an virtual smsc ? details of the configuration settings are below.Thank you.

os : Red hat linux 9.0

## the configuration file
group=core
admin-port=13000
smsbox-port=13001
admin-password=admin
admin-deny-ip="*.*.*.*"
admin-allow-ip="127.0.0.1"
box-deny-ip="*.*.*.*"
box-allow-ip="127.0.0.1"
udp-deny-ip="*.*.*.*"
udp-allow-ip="127.0.0.1"
log-file="kannel_gateway_mylog.txt"
log-level=1
access-log="access.log"

#SMS box configuration
group=smsbox
sendsms-port=13013
bearerbox-host=localhost
sendsms-chars="0123456789+-"
log-file="kannel_sms_log.txt"
log-level=1
access-log="access.log"
reply-couldnotfetch="custom reply could not fetch content"
reply-requestfailed="could not contact http service"

#SMS service configurations
group=sms-service
keyword="hello"
text="Hello world"
name="test hello world service"
max-messages=5
concatenation=true

group= sms-service
keyword= default
text="No service specified"

group=sendsms-user
username=test
password=test

#SMS center specifics
group=smsc
smsc=at2
modemtype=auto
#nokiaphone
device= /dev/ttyS0
#speed=0 default. try the modem definitions.
keepalive=5
my-number="0777641638"
sim-buffering=false

include="modems.conf"

#my_modem_def.conf
#group=modems
#id=nokiaphone
#name="Nokia Phone"
#detect-string="Nokia Mobile Phone"
#need-sleep=true
#keepalive-cmd="AT+CBC;+CSQ"
#enable-mms=true




This is the output of the bearerbox in the shell

2004-05-04 12:13:44 [0] INFO: Added logfile `kannel_gateway_mylog.txt' with level `1'.
2004-05-04 12:13:44 [0] INFO: Started access logfile `access.log'.
2004-05-04 12:13:44 [0] INFO: SSL not supported, no SSL initialization done.
2004-05-04 12:13:44 [0] INFO: AT2[email_smsc]: configuration doesn't show modemtype. will autodetect
2004-05-04 12:13:44 [5] INFO: AT2[email_smsc]: opening device
2004-05-04 12:13:44 [0] INFO: ----------------------------------------
2004-05-04 12:13:44 [0] INFO: Kannel bearerbox II version 1.2.1 starting
2004-05-04 12:13:44 [0] INFO: MAIN: Start-up done, entering mainloop
2004-05-04 12:13:44 [5] INFO: AT2[email_smsc]: speed set to 57600
2004-05-04 12:17:13 [8] INFO: Client connected from <127.0.0.1>

This is the output of the smsbox in the shell
2004-05-04 12:17:13 [0] INFO: Added logfile `kannel_sms_log.txt' with level `1'.
2004-05-04 12:17:13 [0] INFO: Logging accesses to 'access.log'.
2004-05-04 12:17:13 [0] INFO: Started access logfile `access.log'.
2004-05-04 12:17:13 [0] INFO: Set up send sms service at port 13013
2004-05-04 12:17:13 [0] INFO: Connected to bearerbox at localhost port 13001.

This is what i used to send an SMS push.
I got a response on the web browser saying it "sent".
but there was no sms recieved by the recipient phone
http://localhost:13013/cgi-bin/sendsms?user=test&pass=test&from=0777641638&to=0717291599&text=hello+world&charset=&udh=&mclass=2&coding=1&mwi=4&validity=&deferred=


Reply via email to