I can reliably send SMS messages with Kannel to certain mobile phones but it
fails for others.  However, if we use gnokii with the same modem, it can
successfully send an SMS message to the phones that are failing with Kannel.

I am using Kannel 1.4.3 under Fedora 12.  The modem is a Wavecom Fastrack
Supreme 20.   Of the 10 phones we have tested, all show up in the Kannel log
when they send a text message.  However, only 5 receive responses from Kannel
(we have a PHP autoresponder).  These 5 receive Kannel responses consistently.
The other 5 phones never receive the response from Kannel.  At first we
thought it might be a problem with the AT&T SIM card, however, each of
these phones can be contacted from the Wavecom modem if we utilize the
gnokii software.  We have the log level at debug and the Kannel log does
not indicate any obvious errors.

Can you think of anything we can try to get Kannel working reliably?  Can you
think of a reason why gnokii can successfully send a text message to these
mobile phone, yet Kannel fails.  Its curious given both packages use the same
OS, USB connection, same modem, and same SIM card.

Thanks,

Cristy
[email protected]

* * *

# Default kannel configuration file
# Core group 'mandatory' identifies the group.
group = core
# port for http administration.
admin-port = 13000
# Password for http administration.
admin-password = <private>
# Password to check status of kannel.
status-password = <private>
# Allow only localhost for now.
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
# For SMS gateway.
smsbox-port = 13001
# For WAP gateway-- not needed now.
#wapbox-port = 13002
# Allow localhost only.
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
wdp-interface-name = "*"
# Log filename and log level.
log-file = "/var/log/kannel/kannel.log"
# 0 = debug; 1 = info; 2 = warning; 3 = error; 4 = panic
log-level = 0
access-log = "/var/log/kannel/core_access.log"

# Identifies the SMS Center group.
group = smsc
# Tells kannel that we are going to use mobile as smsc.
smsc = at
# Sets the modem type to wavecom.
modemtype = wavecom
# Identifies the modem
device = /dev/ttyUSB0
# It should be your mobile number.
my-number = 4845551212
connect-allow-ip = 127.0.0.1
log-level = 0

# Identifies the SMSBOX group.
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
# The sender number to be used in text messages.
global-sender = "+4845551212"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/smsbox_access.log"

# Identifies the SEND-SMS group.
group = sendsms-user
# Username and Password for sending sms using HTTP interface.
username = kannel
password = <private>
concatenation = true
# Can send a longer text message about 10 smses( 10*160).
max-messages = 10

group = sms-service
keyword-regex = .*
catch-all = yes
max-messages = 0
get-url = 
"http://localhost/TextMe/script/sms-service.php?mobile=%p&query=%a&status=%t+%P%d+%A+%n+%C+%u+%B+%o";

#It should be changed to work for your mobile
group = modems
id = wavecom
name = "WAVECOM WIRELESS CPU"
detect-string = "WAVECOM"
speed = 115200
reset-string = "ATZ"
init-string = "AT+CNMI=1,2,0,1,0;+CMEE=1"


Reply via email to