OS: Debian woody
kannel: 1.2.1-5, started as daemon, init.d startup script modded to
substitute smsbox stuff for wapbox stuff.
/dev/ttyS0 open to all users (just in case!)

modem is seimens TC35 terminal with rev 4 firmware.

my problem: status returns a report that says outgoing messages are treated
as sent, but are in a queue. Logs show no panics and starting bearerbox
manually lets me see the modem initialising OK (no errors and smsc started)
The only negative thing in the logs is - error reading from fd 25: and
System error 104: both happen when the machine making the http-get closes
its browser, but the sms gets queued before this happens anyway.

config and status report below. Any help would be deeply appreciated at this
point!

config
#
# Sample configuration file for Kannel bearerbox on Debian.
# See the documentation for explanations of fields.
#

# HTTP administration is disabled by default. Make sure you set the
# password if you enable it.

group = core
admin-port = 13000
smsbox-port = 13002
admin-password = bar
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
#
#
log-file = "/var/log/kannel/bearerbox.log"
log-level  = 0
access-log = "/home/scratchdisk/sms.log"
store-file = "/home/scratchdisk/sms.store"
#
#
#
box-deny-ip = "*.*.*.*"
box-allow-ip =  "127.0.0.1"

group = smsc
smsc = at2
modemtype = siemens_tc35
device = /dev/ttyS0

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

group = smsbox
bearerbox-host = localhost
sendsms-port = 13004
sendsms-chars = "0123456789 "
global-sender = 1234567890
access-log = "home/scratchdisk/smsboxaccess.log"
log-file = "home/scratchdisk/smsbox.log"
log-level=0


group = sms-service
keyword = default
# url to point to a page that saves incoming data to a db after modifying
data.
# post-url = "http://linux-box:8080/whatever?sender=%p&text=%a&time=%t";
# name = shauns_test_service
text = "got it ok"
max-messages = 0

group = sendsms-user
username = shaun
password = shaun
name = shauns_test_group

end of config

start of report

Kannel bearerbox version `1.2.1'.
System Linux, release 2.2.20-idepci, version #1 Sat Apr 20 12:45:19 EST
2002, machine i686.
Hostname linux-box.SENTRY, IP 192.168.1.1.
Libxml version 20419.
Using OpenSSL 0.9.6c 21 dec 2001.
Using MySQL 3.23.49.
Using native malloc.


Status: running, uptime 0d 0h 49m 35s

WDP: received 0 (0 queued), sent 0 (0 queued)

SMS: received 0 (0 queued), sent 0 (4 queued), store size 4
SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec

DLR: 0 queued, using internal storage

Box connections:
    smsbox, IP 127.0.0.1 (on-line 0d 0h 49m 35s)


SMSC connections:
    unknown    AT2[/dev/ttyS0] (connecting, rcvd 0, sent 0, failed 0, queued
0 msgs)





Shaun Taylor





Reply via email to