Hello,
My gateway cannot receive sms but it can send, can someone please help? My config file and bearer box log are shown below: Config file: # CORE GROUP #################### group = core admin-port = 13000 admin-password = admin smsbox-port = 13001 log-file = logs/bearerbox.log log-level = 0 #box-deny-ip = *.*.*.* box-allow-ip = 192.168.*.*;127.0.0.1;196.24.0.* admin-allow-ip = 127.0.0.1;192.168.10.70 access-log = logs/bearerbox.access store-file = logs/kannel.log ################### # SMSBOX ################### group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = +26663104703 log-file = logs/smsbox.log log-level = 0 access-log = logs/smsbox.access ######################## # GROUP SMSC MODEMRELAY ######################## group = smsc smsc = at smsc-id = modemrelay modemtype = wavecom device = /dev/ttyS0 speed = 9600 pin = 4961 phone = +26663104703 sms-center = +2666000002 smsc-username = root smsc-password = admin #################### # SMSC HTTP #################### group = smsc smsc = http smsc-id = httprelay host = localhost port = 14000 system-type = kannel smsc-username = root smsc-password = admin send-url = "http://localhost:13013/" connect-allow-ip = "127.0.0.1;192.168.*.*;196.24.0.5" ################## # GROUP MODEMS ################## group = modems id = wavecom name = wavecom speed = 9600 no-pin = false detect-string = "WAVECOM" detect-string2 = "MODEM" init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" #init-string = "AT+CNMI=1,2,2,2,1" message-storage="SM" ######################## # GROUP DEFAULT SERVICE ######################## group = sms-service keyword = keyword-regex = .* catch-all = yes max-messages = 0 get-url = "http://localhost/index.html" accepted-smsc = modemrelay;httprelay ######################## # GROUP SENDSMS-USERS ######################## group = sendsms-user username = root password = admin user-allow-ip = "*.*.*.*" max-messages = 4 concatenation = 1 Bearer box log: 2008-07-24 20:10:57 [32376] [6] DEBUG: AT2[modemrelay]: <-- ATZ 2008-07-24 20:10:57 [32376] [6] DEBUG: AT2[modemrelay]: <-- OK 2008-07-24 20:10:57 [32376] [6] DEBUG: AT2[modemrelay]: --> AT^M 2008-07-24 20:10:57 [32376] [6] DEBUG: AT2[modemrelay]: <-- AT 2008-07-24 20:10:57 [32376] [6] DEBUG: AT2[modemrelay]: <-- OK 2008-07-24 20:10:57 [32376] [6] DEBUG: AT2[modemrelay]: --> AT&F^M 2008-07-24 20:10:57 [32376] [6] DEBUG: AT2[modemrelay]: <-- AT&F 2008-07-24 20:10:57 [32376] [6] DEBUG: AT2[modemrelay]: <-- OK 2008-07-24 20:10:57 [32376] [6] DEBUG: AT2[modemrelay]: --> ATE0^M 2008-07-24 20:10:58 [32376] [6] DEBUG: AT2[modemrelay]: <-- ATE0 2008-07-24 20:10:58 [32376] [6] DEBUG: AT2[modemrelay]: <-- OK 2008-07-24 20:10:58 [32376] [6] DEBUG: AT2[modemrelay]: --> AT+IFC=2,2^M 2008-07-24 20:10:58 [32376] [6] DEBUG: AT2[modemrelay]: <-- OK 2008-07-24 20:10:58 [32376] [6] DEBUG: AT2[modemrelay]: --> AT+CPIN?^M 2008-07-24 20:10:58 [32376] [6] DEBUG: AT2[modemrelay]: <-- +CPIN: READY 2008-07-24 20:11:09 [32376] [6] DEBUG: AT2[modemrelay]: --> AT+CSCA="+2666000002"^M 2008-07-24 20:11:09 [32376] [6] DEBUG: AT2[modemrelay]: <-- OK 2008-07-24 20:11:09 [32376] [6] DEBUG: AT2[modemrelay]: --> AT+CMGF=0^M 2008-07-24 20:11:09 [32376] [6] DEBUG: AT2[modemrelay]: <-- OK 2008-07-24 20:11:09 [32376] [6] DEBUG: AT2[modemrelay]: --> AT+CSMS=?^M 2008-07-24 20:11:09 [32376] [6] DEBUG: AT2[modemrelay]: <-- +CSMS: (0,1) 2008-07-24 20:11:09 [32376] [6] DEBUG: AT2[modemrelay]: <-- OK 2008-07-24 20:11:09 [32376] [6] INFO: AT2[modemrelay]: Phase 2+ is supported 2008-07-24 20:11:09 [32376] [6] DEBUG: AT2[modemrelay]: --> AT+CSMS=1^M 2008-07-24 20:11:09 [32376] [6] DEBUG: AT2[modemrelay]: <-- +CSMS: 1,1,1 2008-07-24 20:11:09 [32376] [6] DEBUG: AT2[modemrelay]: <-- OK 2008-07-24 20:11:09 [32376] [6] DEBUG: AT2[modemrelay]: --> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0^M 2008-07-24 20:11:09 [32376] [6] DEBUG: AT2[modemrelay]: <-- OK 2008-07-24 20:11:09 [32376] [6] INFO: AT2[modemrelay]: AT SMSC successfully opened. 2008-07-24 20:11:30 [32376] [5] INFO: Client connected from <127.0.0.1> 2008-07-24 20:11:30 [32376] [5] DEBUG: Started thread 11 (gw/bb_boxc.c:function) 2008-07-24 20:11:30 [32376] [11] DEBUG: Thread 11 (gw/bb_boxc.c:function) maps to pid 32376. 2008-07-24 20:11:30 [32376] [11] DEBUG: Started thread 12 (gw/bb_boxc.c:boxc_sender) 2008-07-24 20:11:30 [32376] [12] DEBUG: Thread 12 (gw/bb_boxc.c:boxc_sender) maps to pid 32376. 2008-07-24 20:12:31 [32376] [0] WARNING: Killing signal or HTTP admin command received, shutting down... 2008-07-24 20:12:31 [32376] [0] DEBUG: Shutting down Kannel... 2008-07-24 20:12:31 [32376] [0] DEBUG: shutting down smsc 2008-07-24 20:12:31 [32376] [0] DEBUG: AT2[modemrelay]: Shutting down SMSCConn, slow 2008-07-24 20:12:31 [32376] [0] DEBUG: HTTP[httprelay]: Shutting down 2008-07-24 20:12:31 [32376] [0] DEBUG: shutting down udp 2008-07-24 20:12:31 [32376] [7] DEBUG: HTTP: No clients with requests, quitting. 2008-07-24 20:12:31 [32376] [7] DEBUG: HTTP[httprelay]: httpsmsc_receiver dying 2008-07-24 20:12:31 [32376] [7] DEBUG: Thread 7 (gw/smsc/smsc_http.c:httpsmsc_receiver) terminates. 2008-07-24 20:12:31 [32376] [8] DEBUG: HTTP[httprelay]: httpsmsc_send_cb dying 2008-07-24 20:12:31 [32376] [8] DEBUG: Thread 8 (gw/smsc/smsc_http.c:httpsmsc_send_cb) terminates. 2008-07-24 20:12:33 [32376] [6] INFO: AT2[modemrelay]: closing device 2008-07-24 20:12:33 [32376] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) terminates. 2008-07-24 20:12:33 [32376] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) terminates. 2008-07-24 20:12:33 [32376] [12] DEBUG: send_msg: sending msg to box: <127.0.0.1> 2008-07-24 20:12:33 [32376] [12] DEBUG: Thread 12 (gw/bb_boxc.c:boxc_sender) terminates. 2008-07-24 20:12:33 [32376] [11] INFO: Connection closed by the box <127.0.0.1> 2008-07-24 20:12:33 [32376] [9] DEBUG: Thread 9 (gw/bb_smscconn.c:sms_router) terminates. 2008-07-24 20:12:33 [32376] [11] DEBUG: Thread 11 (gw/bb_boxc.c:function) terminates. 2008-07-24 20:12:34 [32376] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) terminates. 2008-07-24 20:12:34 [32376] [0] INFO: All flow threads have died, killing core 2008-07-24 20:12:34 [32376] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate 2008-07-24 20:12:34 [32376] [3] DEBUG: HTTP: No clients with requests, quitting. 2008-07-24 20:12:34 [32376] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates. 2008-07-24 20:12:34 [32376] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates. 2008-07-24 20:12:34 [32376] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates. 2008-07-24 20:12:34 [32376] [10] DEBUG: Dumping 0 messages to store 2008-07-24 20:12:34 [32376] [10] DEBUG: Thread 10 (gw/bb_store.c:store_dumper) terminates. 2008-07-24 20:12:34 [32376] [0] INFO: Total WDP messages: received 0, sent 0 2008-07-24 20:12:34 [32376] [0] INFO: Total SMS messages: received 0, sent 0 2008-07-24 20:12:34 [32376] [0] DEBUG: Immutable octet strings: 244. -- View this message in context: http://www.nabble.com/unable-to-receive-sms-tp18858936p18858936.html Sent from the Kannel - User mailing list archive at Nabble.com.
