Hi,
I have setup Debian (Etch) box with Kannel version 1.4.1-2 (from apt).
There is Siemens MC35i attached to this box and configured to send
received messages for external application to handle. I have now problem
with receiving SMSs. There is no activity in Kannel when SMS is received
by the modem, although my handset client gets successful delivery
report. Despite of this, I can still successfully send messages with
Kannel so problem is only with reception.
I attach my kannel.conf & modems.conf here - they are mostly copied from
other MC35i configurations and then fine tuned for my usage. One thing
is with smsc send-url versus sms-service get-url - which one actually is
correct and should one of them point to other one or should I just
remove one of them? Still, I don't think that the whole problems is here
since there's no activity in smsc.log when messages are sent to Kannel box.
== kannel.conf ==
group = core
admin-port = 13000
admin-password = xxxx
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;XXX.XXX.XXX.XXX"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
access-log = "access.log"
# Smsbox related
smsbox-port = 13001
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;XXX.XXX.XXX.XXX"
store-file = "/var/spool/kannel/kannel.store"
sms-incoming-queue-limit = -1
# Wapbox related
udp-deny-ip = "*.*.*.*"
include = "/etc/kannel/modems.conf"
group = smsbox
bearerbox-host = "localhost"
sendsms-port = 14000
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/smsbox-access.log"
# SMSC GSM
group = smsc
smsc = at
modemtype = siemens_mc35i
device = /dev/ttyS0
pin = XXXX
validityperiod = 167
system-type = kannel
log-file = "/var/log/kannel/smsc.log"
log-level = 0
send-url = "http://foo.bar.baz:8080/sms/receive"
group = sendsms-user
username = tester
password = XXXXX
group = sms-service
keyword =
keyword-regex = .*
catch-all = yes
max-messages = 0
get-url = "http://foo.bar.baz:8080/sms/receive?from=%p&to=%P&text=%a"
== modems.conf ==
group = modems
id = "siemens_mc35i"
name = "Siemens MC35i"
detect-string = "SIEMENS"
detect-string2 = "MC35i"
init-string = "AT+CNMI=3,2,0,1,1"
init-string = "AT+CSMS=1"
speed = 115200
enable-hwhs = "AT\\Q3"
need-sleep = true
Sincerely yours, Tuomas M