Hi list, I'm having problems receiving sms messages into kannel. I use Huawei e220 usb modem. Nothing happens in the logs to indicate an SMS has been recieved. Sending is fine. I have tried with other init-strings but with no success. I'm running openSUSE 11.1 with the kannel 1.4.3
Below are the logs for the 3 boxes, and attached are kannel.conf and sqlbox.conf Bearerbox.log 2009-11-17 21:34:24 [13654] [6] INFO: AT2[mydlr]: trying to use speed <19200> from modem definition 2009-11-17 21:34:24 [13654] [6] INFO: AT2[mydlr]: opening device 2009-11-17 21:34:24 [13654] [6] DEBUG: AT2[mydlr]: device opened. Telnet mode = 0 2009-11-17 21:34:24 [13654] [6] DEBUG: AT2[mydlr]: device opened 2009-11-17 21:34:24 [13654] [6] INFO: AT2[mydlr]: speed set to 19200 2009-11-17 21:34:24 [13654] [6] DEBUG: AT2[mydlr]: --> ^M 2009-11-17 21:34:26 [13654] [6] DEBUG: AT2[mydlr]: --> AT^M 2009-11-17 21:34:26 [13654] [6] DEBUG: AT2[mydlr]: <-- AT 2009-11-17 21:34:26 [13654] [6] DEBUG: AT2[mydlr]: <-- OK 2009-11-17 21:34:26 [13654] [6] INFO: AT2[mydlr]: Closing device 2009-11-17 21:34:26 [13654] [6] INFO: AT2[mydlr]: speed is 19200 2009-11-17 21:34:26 [13654] [6] INFO: AT2[mydlr]: opening device 2009-11-17 21:34:26 [13654] [6] DEBUG: AT2[mydlr]: device opened. Telnet mode = 0 2009-11-17 21:34:26 [13654] [6] DEBUG: AT2[mydlr]: device opened 2009-11-17 21:34:26 [13654] [6] INFO: AT2[mydlr]: Logging in 2009-11-17 21:34:26 [13654] [6] INFO: AT2[mydlr]: init device 2009-11-17 21:34:26 [13654] [6] INFO: AT2[mydlr]: speed set to 19200 2009-11-17 21:34:26 [13654] [6] DEBUG: AT2[mydlr]: --> ATZ^M 2009-11-17 21:34:26 [13654] [6] DEBUG: AT2[mydlr]: <-- ATZ 2009-11-17 21:34:26 [13654] [6] DEBUG: AT2[mydlr]: <-- OK 2009-11-17 21:34:26 [13654] [6] DEBUG: AT2[mydlr]: --> AT^M 2009-11-17 21:34:26 [13654] [6] DEBUG: AT2[mydlr]: <-- AT 2009-11-17 21:34:26 [13654] [6] DEBUG: AT2[mydlr]: <-- OK 2009-11-17 21:34:26 [13654] [6] DEBUG: AT2[mydlr]: --> AT&F^M 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: <-- AT&F 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: <-- OK 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: --> ATE0^M 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: <-- ATE0 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: <-- OK 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: --> AT+IFC=2,2^M 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: <-- OK 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: --> AT+CPIN?^M 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: <-- +CPIN: READY 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: <-- OK 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: --> AT+CMGF=0^M 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: <-- OK 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: --> AT+CSMS=?^M 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: <-- +CSMS: (0-1) 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: <-- OK 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: --> AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0^M 2009-11-17 21:34:27 [13654] [6] DEBUG: AT2[mydlr]: <-- OK 2009-11-17 21:34:27 [13654] [6] INFO: AT2[mydlr]: AT SMSC successfully opened. Sqlbox.log 2009-11-17 21:34:24 [13660] [0] INFO: Added logfile `/var/log/kannel/kannel-sqlbox.log' with level `0'. 2009-11-17 21:34:24 [13660] [0] INFO: MYSQL: Connected to server at localhost. 2009-11-17 21:34:24 [13660] [0] INFO: MYSQL: server version 5.1.34-log, client version 5.1.34. 2009-11-17 21:34:24 [13660] [0] DEBUG: Started thread 1 (sqlbox.c:sql_to_bearerbox) 2009-11-17 21:34:24 [13660] [1] DEBUG: Thread 1 (sqlbox.c:sql_to_bearerbox) maps to pid 13660. 2009-11-17 21:34:24 [13660] [1] DEBUG: Connecting to <127.0.0.1> 2009-11-17 21:34:24 [13660] [1] INFO: Connected to bearerbox at localhost port 13001. 2009-11-17 21:34:24 [13660] [2] DEBUG: Thread 2 (sqlbox.c:bearerbox_to_sql) maps to pid 13660. 2009-11-17 21:34:24 [13660] [1] DEBUG: Started thread 2 (sqlbox.c:bearerbox_to_sql) 2009-11-17 21:34:24 [13660] [3] DEBUG: Thread 3 (sqlbox.c:function) maps to pid 13660. 2009-11-17 21:34:24 [13660] [3] INFO: Client connected from <127.0.0.1> 2009-11-17 21:34:24 [13660] [3] DEBUG: Connecting to <127.0.0.1> 2009-11-17 21:34:24 [13660] [3] INFO: Connected to bearerbox at localhost port 13001. 2009-11-17 21:34:24 [13660] [3] DEBUG: Started thread 4 (sqlbox.c:bearerbox_to_smsbox) 2009-11-17 21:34:24 [13660] [4] DEBUG: Thread 4 (sqlbox.c:bearerbox_to_smsbox) maps to pid 13660. 2009-11-17 21:34:24 [13660] [3] DEBUG: smsbox_to_bearerbox: got boxc_id <smsbox> from <127.0.0.1> 2009-11-17 21:34:24 [13660] [0] DEBUG: Started thread 3 (sqlbox.c:function) 2009-11-17 22:05:18 [13660] [3] INFO: Connection closed by the box <127.0.0.1> Smsbox.log 2009-11-17 21:34:24 [13662] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'. 2009-11-17 21:34:24 [13662] [0] INFO: HTTP: Opening server at port 13013. 2009-11-17 21:34:24 [13662] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2009-11-17 21:34:24 [13662] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 13662. 2009-11-17 21:34:24 [13662] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 13662. 2009-11-17 21:34:24 [13662] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2009-11-17 21:34:24 [13662] [0] INFO: Set up send sms service at port 13013 2009-11-17 21:34:24 [13662] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2009-11-17 21:34:24 [13662] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 13662. 2009-11-17 21:34:24 [13662] [0] DEBUG: ---------------------------------------------- 2009-11-17 21:34:24 [13662] [0] DEBUG: Kannel smsbox version cvs-20090624 starting 2009-11-17 21:34:24 [13662] [0] DEBUG: dumping group (sendsms-user): 2009-11-17 21:34:24 [13662] [0] DEBUG: <group> = <sendsms-user> 2009-11-17 21:34:24 [13662] [0] DEBUG: <username> = <tester> 2009-11-17 21:34:24 [13662] [0] DEBUG: <password> = <foobar> 2009-11-17 21:34:24 [13662] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2009-11-17 21:34:24 [13662] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 13662. 2009-11-17 21:34:24 [13662] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2009-11-17 21:34:24 [13662] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 13662. 2009-11-17 21:34:24 [13662] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 13662. 2009-11-17 21:34:24 [13662] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2009-11-17 21:34:24 [13662] [0] DEBUG: Connecting to <127.0.0.1> 2009-11-17 21:34:24 [13662] [0] INFO: Connected to bearerbox at 127.0.0.1 port 13005. 2009-11-17 21:34:24 [13662] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 13662. 2009-11-17 21:34:24 [13662] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread)
smskannel.conf
Description: Binary data
sqlbox.conf
Description: Binary data
