i am getting the below log when i receive a message:

2013-06-04 14:18:59 [9716] [4] INFO: AT2[/dev/ttyACM0]: opening device
2013-06-04 14:18:59 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: device opened.
Telnet mode = 0
2013-06-04 14:18:59 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: device opened
2013-06-04 14:18:59 [9716] [4] INFO: AT2[/dev/ttyACM0]: Logging in
2013-06-04 14:19:00 [9716] [4] INFO: AT2[/dev/ttyACM0]: init device
2013-06-04 14:19:00 [9716] [4] INFO: AT2[/dev/ttyACM0]: speed set to 115200
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: --> ATZ^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: --> AT^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- AT
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- AT&F
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: --> AT+IFC=2,2^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: --> AT+CPIN?^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- +CPIN: READY
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: --> AT+CMGF=0^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: --> AT+CSMS=?^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0)
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: --> AT+CSMS=?^M
2013-06-04 14:19:01 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0)
2013-06-04 14:19:01 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2013-06-04 14:19:01 [9716] [4] INFO: AT2[/dev/ttyACM0]: AT SMSC successfully
opened.
2013-06-04 14:19:15 [9716] [3] INFO: Client connected from <127.0.0.1> 
2013-06-04 14:19:15 [9716] [3] DEBUG: Started thread 6 (gw/bb_boxc.c:function)
2013-06-04 14:19:15 [9716] [6] DEBUG: Thread 6 (gw/bb_boxc.c:function) maps
to pid 9716.
2013-06-04 14:19:15 [9716] [6] DEBUG: Started thread 7
(gw/bb_boxc.c:boxc_sender)
2013-06-04 14:19:15 [9716] [7] DEBUG: Thread 7 (gw/bb_boxc.c:boxc_sender)
maps to pid 9716.
2013-06-04 14:19:20 [9716] [6] DEBUG: boxc_receiver: sms received
2013-06-04 14:19:20 [9716] [6] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2013-06-04 14:19:21 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: TP-Validity-Period:
24.0 hours
2013-06-04 14:19:21 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: --> AT+CMGS=27^M
2013-06-04 14:19:21 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- >
2013-06-04 14:19:21 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: send command status: 1
2013-06-04 14:19:21 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -->
0011000A8179836101460000A70FCBB0DB5D6683A8E5391DD49C9F01
2013-06-04 14:19:21 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: --> ^Z
2013-06-04 14:19:24 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- >
2013-06-04 14:19:24 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- +CMGS: 11
2013-06-04 14:19:24 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2013-06-04 14:19:24 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: send command status: 0

And my configuration is:

group = core
 admin-port = 13000
 smsbox-port = 13001
 admin-password = hello
 log-file = "/var/log/kannel/bearerbox.log"
 access-log = "/var/log/kannel/access.log"
 box-allow-ip = "127.0.0.1"
 box-deny-ip = "*.*.*.*"
 #log-level = 0

group = smsc
 smsc = at
 modemtype = auto
 device= /dev/ttyACM0
 my-number = xxxx
 connect-allow-ip = 127.0.0.1
 log-level = 0

group = smsbox
 bearerbox-host = 127.0.0.1
 sendsms-port = 13013
 global-sender = xxxx
 log-level = 0

group = sendsms-user
 username = xxxx
 password = xxxx
 concatenation= true
 max-messages = 10

group = modems
 id = Nokia
 name = Nokia
 detect-string = "Nokia"
 init-string = "AT+CSMS=?"
 message-storage = EM


group = mysql-connection
 id = mydlr
 host = localhost
 username = xxxx
 password = xxxx
 database = kannel

group = sms-service
 keyword-regex = .*
 catch-all = yes
 max-messages = 10
 get-url = "http://localhost/sms.php?phone=%p&text=%a";

what could be the problem please reply me as soon as possible.

Thank you in advance.




Reply via email to