Hello!

Can anybody help me? I have the big problem with current kannel 1.2.1.
Internal dlr storage in use. and EMI2 protocol to connect to smsc.
kannel box crashes with PANIC then dlrmask require second stage of report.
(for example dlrmask=9 or 31). and no other errors in log (exept part
below).

2002-11-04 13:52:12 [12] DEBUG: boxc_receiver: sms received
2002-11-04 13:52:13 [10] DEBUG: EMI2[MTS]: emi2 sending packet:
<^B02/00190/O/51/0079021733068/79165904505//1//7////////////
/3//4342204144474A2030342E31312E323030322031323A30333A3136203330352E3433207374617475733A204E4F524D20696E666F3A204F////////11
39/////FF^C>
2002-11-04 13:52:13 [10] DEBUG: Adding DLR smsc=MTS, ts=MTS-2, src
=+79165904505, dst=0079021733068, mask=31
2002-11-04 13:52:15 [10] DEBUG: EMI2[MTS]: Got packet from the main socket
2002-11-04 13:52:15 [10] DEBUG: EMI2[MTS]: emi2 parsing packet:
<^B02/00046/R/51/A//0079021733068:041102135212/CC^C>
2002-11-04 13:52:15 [10] DEBUG: Looking for DLR smsc=MTS, ts=MTS-2, dst
=+79021733068, type=8
2002-11-04 13:52:15 [10] DEBUG: created DLR message for URL
<http://127.0.0.1/cgi-bin/smsbdlr?id=20021104120558000K371&mqueu
e=LIVE.DLR.SMS.IMB&dlr=%d>
2002-11-04 13:52:15 [10] PANIC: gwlib/octstr.c:2119: seems_valid_real:
Assertion `ostr != NULL' failed. (Called from gwlib/o
ctstr.c:413:octstr_hex_to_binary.)

kannel.conf look like:

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = imbank
status-password = status
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
log-file = "/var/log/kannel/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
access-log = "/var/log/kannel/access.log"
store-file = "/var/log/kannel/kannel.store"
black-list = "http://127.0.0.1/html/black-list.txt";
include = "/etc/kannel/modems.conf"
# SMSC CONNECTIONS

# via phone
group = smsc
smsc = at2
smsc-id = PHMTS
speed = 19200
modemtype = siemens_me45
sim-buffering = true
#pin = 6391
device = /dev/ttyS0
my-number = "0079165904505"
validityperiod = 167
retry = true
keepalive = 600
denied-smsc-id = MTS
group = smsc
smsc = emi2
smsc-id = MTS
port = 5006
host = 212.xxx.xxx.xxx
alt-host = 172.16.1.1
connect-allow-ip = "212.xxx.xxx.xxx;172.16.1.1"
receive-port = 5006
denied-prefix = 462
smsc-username = "462"
smsc-password = "xxxxxxxx"
flow-control = 1
#idle-timeout = 120
keepalive = 300
throughput = 10
preferred-smsc-id = MTS;PHMTS

# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = "+79165904505"
sendsms-chars = "0123456789 +-"
log-file = "/var/log/kannel/smsbox.log"
mo-recode = true
access-log = "/var/log/kannel/smsbox_access.log"
black-list = "http://127.0.0.1/html/black-list.txt";

# SEND-SMS USERS

group = sendsms-user
username = local
password = imbank
concatenation = true
max-messages = 1
default-smsc = MTS
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"

# this sender is for Kannel relay testing (http_smsc)

group = sendsms-user
username = test
password = imb
user-deny-ip = "*.*.*.*"
user-allow-ip = "10.1.6.1;10.1.4.3"
white-list = "http://127.0.0.1/html/white-list.txt";
concatenation = true
default-smsc = MTS
max-messages = 2

group = sendsms-user
username = smsblive
password = live
concatenation = true
max-messages = 1
default-smsc = MTS
user-deny-ip = "*.*.*.*"
user-allow-ip = "10.1.4.3;10.1.50.101;127.0.0.1"
# SERVICES

group = sms-service
keyword = test
text = "%t test %i passed"

#
group = sms-service
keyword = mail
accept-x-kannel-headers = true
get-url = "http://127.0.0.1/cgi-bin/sms2mail?to=%s&from=%p&text=%r&coding
=%c&charset=%C"
concatenation = true
omit-empty = true
max-messages = 1

#
group = sms-service
keyword = balance
get-url = "http://127.0.0.1/cgi-bin/balance?text=%s&from
=%p&action=balance&coding=%c&charset=%C"
max-messages = 0

# there should be default always

group = sms-service
keyword = default
accept-x-kannel-headers = true
get-url = "http://127.0.0.1/cgi-bin/sms2mail?to=gaksenov&from=%p&text
=%a&coding=%c&charset=%C"
max-messages = 0

system: Linux kernel 2.2.20
      IMB xSeries 330 PIII-800

with best wishes
 German Aksenov
phone: (095)258-7258 ext. 7836



Reply via email to