LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-23-2009, 12:56 AM   #1
edwinsky
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Kannel - incoming SMS is not detected but outbound works


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"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kannel sms-service get-url problem lsropia Linux - Software 1 07-16-2009 01:56 AM
to send sms using kannel hamid1011 Linux - Mobile 2 06-19-2009 10:58 AM
kannel problem: fail sending sms via GPRS modem prad Linux - Software 2 12-05-2006 10:21 AM
Logging All Incoming / Outbound Traffic technick Linux - Security 1 10-24-2005 02:32 PM
How to send sms with more than 160 characters with Kannel ? skeezo Linux - Wireless Networking 1 03-21-2004 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration