« Return to Thread: Kannel - incoming SMS is not detected but outgoing works fine

Kannel - incoming SMS is not detected but outgoing works fine

by edwinsky :: Rate this Message:

| View in Thread

Hi All,
My SMSC appears to  have been installed and is running correctly. The problem is that even though I have successfully sent an sms from the browser interface, I have no clue on what to do, to make kannel detect inbound SMSs on my Nokia 3110c gsm modem.

The status and 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"
---------------------------------------------------------------------------------------------------------------------

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"
--------------------------------------------------------------------------------------------------------------------------

 « Return to Thread: Kannel - incoming SMS is not detected but outgoing works fine