Hello
I settings Kannel on Debian with my Wavecom modem, and it works well if
I execute it from terminal ( i.e. bearerbox -v 0 /etc/kannel/kannel.conf
etc. ) ,
But if Kannel start with the default process ( Like /etc/init.d/kannel
start ) the modem stay _connecting all time_!!
Why?
How is it possible?
I attached also my configuration files
Thank you
Bye
include = /etc/kannel/core.conf
#Modem Wavecom
group = smsc
smsc=at
smsc-id = 3400000000
modemtype = auto
#speed = 9600
device=/dev/ttyS0
#my-number=
log-level=0
log-file = "/etc/kannel/log/modemwave.log"
sim-buffering = true
group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"
include = /etc/kannel/modems.conf
include = /etc/kannel/wap.conf
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
wdp-interface-name = "*"
admin-password = bar
#status-password = foo
#admin-deny-ip = "*.*.*.*"
admin-allow-ip = ""
log-file = "/etc/kannel/log/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
access-log = "/etc/kannel/log/access.log"
#store-file = "kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
#dlr-storage = mysql
#---------------------------------------------
# SMSC CONNECTIONS
#
# SMSC connections are created in bearerbox and they handle SMSC specific
# protocol and message relying. You need these to actually receive and send
# messages to handset, but can use GSM modems as virtual SMSCs
# This is a fake smsc connection, _only_ used to test the system and services.
# It really cannot relay messages to actual handsets!
group = smsc
smsc = fake
smsc-id = FAKE
port = 10000
connect-allow-ip = 127.0.0.1
#---------------------------------------------
# SMSBOX SETUP
#
# Smsbox(es) do higher-level SMS handling after they have been received from
# SMS centers by bearerbox, or before they are given to bearerbox for delivery
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
#global-sender = 13013
#sendsms-chars = "0123456789 +-"
log-file = "/etc/kannel/log/smsbox.log"
log-level = 0
#access-log = "/tmp/access.log"
#---------------------------------------------
# SEND-SMS USERS
#
# These users are used when Kannel smsbox sendsms interface is used to
# send PUSH sms messages, i.e. calling URL like
# http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar...
#
http://127.0.0.1:13013/cgi-bin/sendsms?username=tester&password=foobar&to=3921776176&text=ciccio
group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""
#---------------------------------------------
# SERVICES
#
# These are 'responses' to sms PULL messages, i.e. messages arriving from
# handsets. The response is based on message content. Only one sms-service is
# applied, using the first one to match.
group = sms-service
keyword =
#keyword-regex = .*
catch-all = true
max-messages=0
omit-empty = true
#accept-x-kannel-headers = true
concatenation = true
#get-url =
"http://localhost/sms.php?to=%k-%s-%S-%r-%a-%b-%t-%T-%p-%P-%q-%Q-%i-%I-%d-%A-%F-%n-%c-%m-%M-%C-%u-%B"
get-url = "http://localhost/smsd.php?to=%p&text=%a&from=%P&sent=%t&smsc=%i"
#get-url = "http://localhost/sms.php?to=%q&text=%a&from=%P&sent=%t&smsc=%i"
#post-url = "http://localhost/sms.php?to=%q&text=%a&from=%P&sent=%t&smsc=%i"
#post-xml = "http://localhost/sms/index.php"
#post-xml = "http://localhost/sms.php"