Hi All,

I have Kannel v 1.4.0 installed on Ubuntu 6.10 connected to a Siemens MC35i
GSM Modem. Reading through the Kannel /docs, examples and other peoples
posts I have put together a kannel.conf and other supporting .confs.

Launching Kannel => [EMAIL PROTECTED]:/# /etc/init.d/kannel start

Output => Starting WAP gateway: bearerbox/usr/sbin/run_kannel_box: open:
/var/run/kannel/kannel_bearerbox.pid: No such file or directory
smsbox/usr/sbin/run_kannel_box: open: /var/run/kannel/kannel_smsbox.pid: No
such file or directory.

Yet when => [EMAIL PROTECTED]:/# /etc/init.d/kannel start

Stopping WAP gateway: smsbox bearerbox.

Here are some .confs.

## Core

group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = ***********
status-password = stat
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;192.168.100.10;192.168.100.60"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;192.168.100.10;192.168.100.60"
# dlr-storage = internal
log-level = 0
log-file = "/var/log/kannel/bearerbox.log"
access-log = "/var/log/kannel/access.log"
# unified-prefix = "+358,00358,0;+,00"
# http-proxy-host = "127.0.0.1"
# http-proxy-port = 3000
# http-proxy-exceptions = "127.0.0.1"
# http-proxy-username = "user"
# http-proxy-password = "password"
# ssl-certkey-file = "mycertandprivkeyfile.pem"

include = "/etc/kannel/modems.conf"

## Modems: Siemens MC35i

group = modems
id = siemens_mc35i
name = "Siemens MC35i"
detect-string = "SIEMENS"
detect-string2 = "MC35i"
init-string = "AT+CNMI=1,2,0,1,1"
speed = 19200
enable-hwhs = "AT\\Q3"
need-sleep = true
# no-pin = false [Default]
# no-smsc = false [Default]
# sendline-sleep = 100 [Default, miliseconds]
# keepalive-cmd = "AT" [Default]
# broken = false [Default]
# message-storage = "SM"
# enable-mms = false [Default]
# alt-dcs= 1

include = "/etc/kannel/smsbox.conf"

## SMSBOX

group = smsbox
bearerbox-host = localhost
smsbox-port = 13002
sendsms-port = 13013
sendsms-chars = "0123456789 +-"
# global-sender = 12345
log-level = 0
log-file = "/var/log/kannel/smsbox.log"
access-log = "/var/log/kannel/access.log"
white-list = "http://localhost/etc/kannel/whitelist.txt";
black-list = "http://localhost/etc/kannel/blacklist.txt";
# store-file = "/var/log/kannel/kannel.store"
# reply-couldnotfetch =
# reply-couldnotrepresent =
# reply-requestfailed =
# reply-emptymessage = "Empty message"

/etc/default/kannel

#START_WAPBOX=1
START_SMSBOX=1

Does this mean that kannel is actually running with an smsbox up but there
is an issue with a system PID call?

cheers, Ben.
--
B.D. Minton
Brisbane QLD AU
[EMAIL PROTECTED]
bdminton.dontexist.com
--
Think Global, Act Local
Free Open Source Software
Renewable Energy Not Nuclear

Reply via email to