----- Original Message -----
Sent: Tuesday, September 30, 2003 11:51
PM
Subject: Problem with R320s, cygwin and
Kannel
My kannel bearerbox just dies when I try to send
an sms.
Here's the log.
2003-09-30 23:46:43 [0] INFO: Debug_lvl = 1,
log_file = <none>, log_lvl = 0
2003-09-30 23:46:43 [0] WARNING: DLR:
using default 'internal' for storage type.
2003-09-30 23:46:43 [0] INFO: AT2[eri]:
configuration shows modemtype <ericsson_
r320s>
2003-09-30
23:46:43 [0] INFO: AT2[eri]: read modem definition for <Ericsson
R320
S>
2003-09-30 23:46:43 [0] INFO:
----------------------------------------
2003-09-30 23:46:43 [0] INFO:
Kannel bearerbox II version 1.2.1 starting2003-09-
2003-09-30 23:46:43 [0]
INFO: MAIN: Start-up done, entering mainloop
2003-09-30 23:46:43 [5] INFO:
AT2[eri]: init device
2003-09-30 23:46:43 [5] INFO: AT2[eri]: speed set to
9600
2003-09-30 23:46:45 [5] INFO: AT2[eri]: AT SMSC successfully
opened.
2003-09-30 23:46:49 [7] INFO: Client connected from
<127.0.0.1>
2003-09-30 23:46:57 [5] PANIC: gwlib/octstr.c:1255:
octstr_append_char: Assertio
n `ch >= 0' failed.
The request string:
And the configfile:
#
# THIS IS A SAMPLE CONFIGURATION FOR SMS
KANNEL
#
# It is run like this:
#
# 1% gw/bearerbox
gw/smskannel.conf
# 2% gw/smsbox gw/smskannel.conf
# 3%
test/fakesmsc -p 10000 -H localhost -i 1 -m 100 "123 345 text nop"
#
#
..all 3 commands in separate shells (or screen sessions)
#
# For any
modifications to this file, see Kannel User Guide
# If that does not help,
send email to [EMAIL PROTECTED]
#
#
Kalle Marjola May 2000
# Changed for new fakesmsc version by
Uoti Urpala Jan 2001
# Added service and sendsms for HTTP SMSC
by Kalle Marjola Mar 2001
#
group = core
admin-port = 13000
smsbox-port =
13001
admin-password = bar
#status-password = foo
#admin-deny-ip =
""
#admin-allow-ip = ""
#log-file = "/tmp/kannel.log"
#log-level =
0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix =
""+467,07,0;+,00"
#access-log = "access.log"
#store-file =
"kannel.store"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
# SMSC CONNECTIONS
group = smsc
smsc = at2
smsc-id = eri
modemtype =
ericsson_r320s
device = /dev/ttyS0
speed = 9600
pin =
5944
sms-center = 46705008999
# MODEMS
group = modems
id = ericsson_r320s
name = Ericsson
R320S
init-string = "AT+CNMI=3,3,2"
keepalive-cmd =
"AT+CBC;+CSQ"
enable-hwhs = ""
no-pin = true
message-storage =
"ME"
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port =
13013
global-sender = 13013
#sendsms-chars = "0123456789
+-"
#log-file = "/tmp/smsbox.log"
#log-level = 0
#access-log =
"access.log"
# SEND-SMS USERS
group = sendsms-user
username = tester
password =
foobar
#forced-smsc = eri
#user-deny-ip = ""
#user-allow-ip =
""
# this sender is for Kannel relay testing (http_smsc)
group = sendsms-user
username = kannel
password =
rL4y
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"
# SERVICES
group = sms-service
keyword = nop
text = "You asked nothing and I
did it!"
# this service is for Kannel relay testing, when this Kannel
# works
as relay gateway
#group = sms-service
#keyword = relay
#get-url = ""http://localhost:15130/sms?user=kannel&pass=rL4y&from=%p&to=%P&text=%r">http://localhost:15130/sms?user=kannel&pass=rL4y&from=%p&to=%P&text=%r"
#max-messages
= 0
# there should be default always
group = sms-service
keyword = default
text = "No service
specified"
Thanks, Rickard.