Hi,
I’m completely new to Kannel.
My SMSC is installed and appears to be running correctly from the status posted below.
I can even send an SMS from the browser interface. My problem is that kannel does not seem to be alerted when my nokia 3110c gsm modem receives an SMS.
I’ve been researching this for a while now with little progress. Please help, all my configuration files are posted below.
Thanks in advance.
Status: running, uptime 0d 0h 2m 22s
WDP: received 0 (0 queued), sent 0 (0 queued)
SMS: received 0 (0 queued), sent 0 (0 queued), store size -1
SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
DLR: 0 queued, using internal storage
Box connections:
smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 2m 0s)
SMSC connections:
unknown AT2[/dev/ttyACM0] (online 133s, rcvd 0, sent 0, failed 0, queued 0 msgs)
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
admin-allow-ip = “127.0.0.0”
log-file = “/tmp/kannel.log”
#log-level = 0
box-deny-ip = “...”
box-allow-ip = “127.0.0.1”
group = smsc
smsc = at
modemtype = auto
device = /dev/ttyACM0
my-number = “+264722222111”
port = 10000
connect-allow-ip = 127.0.0.1
log-level = 0
sms-center="+264722500029"
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = “+264722222111”
log-file = “/tmp/smsbox.log”
log-level = 0
group = sendsms-user
username = kannelUser
password = test
concatenation = 1
max-messages = 10
user-allow-ip = “...”
group = sms-service
keyword =
catch-all = yes
max-messages = 0
get-url = “http://localhost:8080/sms/receiveSMS.jsp?phone=%p&text=%a”
group = sms-service
keyword = nop
text = “You asked nothing and I did it!”
group = sms-service
keyword = default
text = “No service specified”
include = “/usr/local/kannel/modems.conf”
My modem.conf file reads
group = modems
id = Nokia
name = “Nokia 3110c”
detect-string = “Nokia”
init-string = “ATZ”
init-string = “AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0”