I've been looking for an answer for my problem with Kannel v1.4.1. Currently I'm using Siemens MC35i terminal as modem.

For some reason some of my SMS's don't get sent. Problem occurs only with first message of a bundle of messages. Kannel error message says:

2007-11-27 19:30:49 FAILED Send SMS [SMSC:SIEMENS_MC35i] [SVC:XXX] [ACT:] [BINF:] [from:XXX] [to:XXX] [flags:-1:0:-1:-1:18] [msg:75:Host As XXX is DOWN Info: PING CRITICAL -] [udh:0:]

2007-11-27 19:30:49 DLR SMS [SMSC:SIEMENS_MC35i] [SVC:XXXX] [ACT:] [BINF:] [from:XXXX] [to:XXXX] [flags:-1:-1:-1:-1:16] [msg:14:NACK/MALFORMED] [udh:0:]

Aarno Syvänen's answer on some forum told that NACK/MALFORMED means malformed message, but this cannot be true since exactly the same message is sent to other recipients.

http://www.mail-archive.com/[EMAIL PROTECTED]/msg05916.html -article was told something about modem not being ready for AT command. I could not apply the specified patch since the c-file wasn't found on my installation.

This is my kannel.conf:

group = core
admin-port = 13000
admin-password = XXX
status-password = XXX
admin-allow-ip = "127.0.0.1;xx.xx.xx*"
log-file = "/var/log/kannel/kannel.log"
log-level = 3
access-log = "/var/log/kannel/access.log"
smsbox-port = 13001
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;xx.xx.xx.*"
dlr-storage = mysql
store-file = "/var/log/kannel/kannel.store"

# SMSC CONNECTIONS - GLOBAL FIELDS
group = smsc
smsc = at
smsc-id = SIEMENS_MC35i
device = /dev/ttyS0
modemtype = siemens_mc35i
sim-buffering = true
keepalive = 60
#pin = 1234

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

# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
sendsms-chars = "0123456789 +-,"
global-sender = xxx
log-file = "/var/log/kannel/smsbox.log"
log-level = 3
access-log = "/var/log/kannel/access.log"

# SEND-SMS USERS
group = sendsms-user
username = XXX
password = XXX
user-allow-ip = "127.0.0.1;xx.xx.xx.*"
max-messages = 7
concatenation = true
dlr-url = "http://tekstiviestit.xxx.fi:13131/cgi-bin/sendsms?username=xx&password=XX&sender=%p&to=xxx&text=Viestin+lähettäminen+vastaanottajalle:+%p+ei+onnistunut.+Virhekoodi:%d";

Is there something in my modem's setup that should be changed or is this a bug in kannel?

I'd really appreciate your help.


BR,

Tommi Linna

Reply via email to