I have a nokia 6085 acting as a virtual smsc with Kannel version 1.4.1. So far everything appears to work o.k. The Nokia phone appears to be communicating with kannel correctly and I can use the http interface to tell the phone to send out an sms message to another phone number. The problem is receiving sms messages on the Nokia 6085. I would like to send an sms message to the virtual smsc and see it show up *anywhere* in kannel. Right now sms messages just get sent to the phone and bearerbox and smsbox give no indication of having been alerted to the new message. Can anyone help me out here?
Here is my Kannel config file. # # THIS IS A SAMPLE CONFIGURATION FOR KANNEL # # For any modifications to this file, see Kannel User Guide # If that does not help, send email to [email protected] # group = core admin-port = 55555 admin-password = ********* admin-allow-ip = "*.*.*.*" log-file = "/root/box-logs/runkannel.log" log-level = 0 access-log = "/root/box-logs/runaccess.log" smsbox-port = 55556 box-allow-ip = "*.*.*.*" # SMSC CONNECTIONS - GLOBAL FIELDS group = smsc smsc = at modemtype = AT2 device = /dev/ttyACM0 speed = 0 smsc-id = Nokia_smsc port = 55557 log-file="/root/box-logs/smsc.log" log-level = 0 #Modem Setup group = modems id = AT2 name = "Nokia 6085 config" detect-string="Nokia" detect-string2="Nokia 6085" init-string = "ATZ" speed = 19200 enable-hwhs = "AT+IFC=2,2" message-storage = "SM" # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 log-file="/root/box-logs/smsbox.log" log-level=0 access-log="/root/box-logs/smsbox_access.log" sendsms-chars="0123456789 +-" # SEND-SMS USERS group = sendsms-user username = ********** password = ********** # SMS SERVICES # SMS SERVICE GET-URL EXAMPLE #group = sms-service #keyword = relay #get-url = " http://localhost/service?phone=%p&text=%r&binary=%b&smsc=$i&time=%t # SMS SERVICE black-list group = sms-service keyword = black-list text = "You are not alowed to use this service, Go away!" # SMS SERVICE Default # there should be default always group = sms-service keyword = default text = "No service specified" Kannel run log. 2007-06-22 16:58:16 [28139] [0] INFO: Added logfile `/root/box-logs/runkannel.log' with level `0'. 2007-06-22 16:58:16 [28139] [0] INFO: Started access logfile `/root/box-logs/runaccess.log'. 2007-06-22 16:58:16 [28139] [0] INFO: HTTP: Opening server at port 55555. 2007-06-22 16:58:16 [28139] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2007-06-22 16:58:16 [28139] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2007-06-22 16:58:16 [28139] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2007-06-22 16:58:16 [28139] [0] DEBUG: starting smsbox connection module 2007-06-22 16:58:16 [28139] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2007-06-22 16:58:16 [28139] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2007-06-22 16:58:16 [28139] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2007-06-22 16:58:16 [28139] [0] INFO: Set SMS resend frequency to 60 seconds. 2007-06-22 16:58:16 [28139] [0] INFO: SMS resend retry set to unlimited. 2007-06-22 16:58:16 [28139] [0] INFO: DLR rerouting for smsc id <Nokia_smsc> disabled. 2007-06-22 16:58:16 [28139] [0] INFO: Added logfile `/root/box-logs/smsc.log' with level `0'. 2007-06-22 16:58:16 [28139] [0] INFO: AT2[Nokia_smsc]: configuration shows modemtype <AT2> 2007-06-22 16:58:16 [28139] [0] DEBUG: AT2[Nokia_smsc]: Reading modem definitions from </etc/kannel/kannel.conf> 2007-06-22 16:58:16 [28139] [0] DEBUG: AT2[Nokia_smsc]: Found <1> modems in config 2007-06-22 16:58:16 [28139] [0] INFO: AT2[Nokia_smsc]: read modem definition for <Nokia 6085 config> 2007-06-22 16:58:16 [28139] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread) 2007-06-22 16:58:16 [28139] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2007-06-22 16:58:16 [28139] [0] INFO: ---------------------------------------- 2007-06-22 16:58:16 [28139] [0] INFO: Kannel bearerbox II version 1.4.1starting 2007-06-22 16:58:16 [28139] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 28139. 2007-06-22 16:58:16 [28139] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 28139. 2007-06-22 16:58:16 [28139] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 28139. 2007-06-22 16:58:16 [28139] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 28139. 2007-06-22 16:58:16 [28139] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 28139. 2007-06-22 16:58:16 [28139] [6] INFO: Logging thread `6' to logfile `/root/box-logs/smsc.log' with level `0'. 2007-06-22 16:58:16 [28139] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 28139. 2007-06-22 16:58:16 [28139] [0] INFO: MAIN: Start-up done, entering mainloop 2007-06-22 16:58:16 [28139] [0] DEBUG: AT2[Nokia_smsc]: start called 2007-06-22 16:58:16 [28139] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 28139. 2007-06-22 16:58:16 [28139] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2007-06-22 16:58:16 [28139] [7] DEBUG: sms_router: gwlist_len = 0 2007-06-22 16:58:18 [28139] [5] INFO: Client connected from <127.0.0.1> 2007-06-22 16:58:18 [28139] [5] DEBUG: Started thread 8 (gw/bb_boxc.c:function) 2007-06-22 16:58:18 [28139] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) maps to pid 28139. 2007-06-22 16:58:18 [28139] [8] DEBUG: Started thread 9 (gw/bb_boxc.c:boxc_sender) 2007-06-22 16:58:18 [28139] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender) maps to pid 28139. 2007-06-22 16:58:23 [28139] [0] WARNING: Killing signal or HTTP admin command received, shutting down... 2007-06-22 16:58:24 [28139] [0] DEBUG: Shutting down Kannel... 2007-06-22 16:58:24 [28139] [0] DEBUG: shutting down smsc 2007-06-22 16:58:24 [28139] [0] DEBUG: AT2[Nokia_smsc]: Shutting down SMSCConn, slow 2007-06-22 16:58:24 [28139] [0] DEBUG: shutting down udp 2007-06-22 16:58:25 [28139] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) terminates. 2007-06-22 16:58:25 [28139] [9] DEBUG: send_msg: sending msg to box: < 127.0.0.1> 2007-06-22 16:58:25 [28139] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender) terminates. 2007-06-22 16:58:25 [28139] [8] INFO: Connection closed by the box < 127.0.0.1> 2007-06-22 16:58:25 [28139] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) terminates. 2007-06-22 16:58:25 [28139] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) terminates. 2007-06-22 16:58:26 [28139] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) terminates. 2007-06-22 16:58:26 [28139] [0] INFO: All flow threads have died, killing core 2007-06-22 16:58:26 [28139] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate 2007-06-22 16:58:26 [28139] [3] DEBUG: HTTP: No clients with requests, quitting. 2007-06-22 16:58:26 [28139] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates. 2007-06-22 16:58:26 [28139] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates. 2007-06-22 16:58:26 [28139] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates. 2007-06-22 16:58:26 [28139] [0] INFO: Total WDP messages: received 0, sent 0 2007-06-22 16:58:26 [28139] [0] INFO: Total SMS messages: received 0, sent 0 2007-06-22 16:58:26 [28139] [0] DEBUG: Immutable octet strings: 210. Smsbox run log 2007-06-22 16:58:18 [28147] [0] INFO: Added logfile `/root/box-logs/smsbox.log' with level `0'. 2007-06-22 16:58:18 [28147] [0] INFO: Service global sender set as '13013' 2007-06-22 16:58:18 [28147] [0] INFO: Logging accesses to '/root/box-logs/smsbox_access.log'. 2007-06-22 16:58:18 [28147] [0] INFO: Started access logfile `/root/box-logs/smsbox_access.log'. 2007-06-22 16:58:18 [28147] [0] INFO: HTTP: Opening server at port 13013. 2007-06-22 16:58:18 [28147] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2007-06-22 16:58:18 [28147] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2007-06-22 16:58:18 [28147] [0] INFO: Set up send sms service at port 13013 2007-06-22 16:58:18 [28147] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2007-06-22 16:58:18 [28147] [0] DEBUG: ---------------------------------------------- 2007-06-22 16:58:18 [28147] [0] DEBUG: Kannel smsbox version 1.4.1 starting 2007-06-22 16:58:18 [28147] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2007-06-22 16:58:18 [28147] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2007-06-22 16:58:18 [28147] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2007-06-22 16:58:18 [28147] [0] INFO: Connected to bearerbox at localhost port 55556. 2007-06-22 16:58:18 [28147] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 28147. 2007-06-22 16:58:18 [28147] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 28147. 2007-06-22 16:58:18 [28147] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 28147. 2007-06-22 16:58:18 [28147] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) 2007-06-22 16:58:18 [28147] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 28147. 2007-06-22 16:58:18 [28147] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 28147. 2007-06-22 16:58:18 [28147] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 28147. 2007-06-22 16:58:18 [28147] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 28147. 2007-06-22 16:58:25 [28147] [0] INFO: Bearerbox told us to die 2007-06-22 16:58:25 [28147] [0] INFO: Received (and handled?) 0 requests in 7 seconds (0.00 per second) 2007-06-22 16:58:25 [28147] [0] INFO: Kannel smsbox terminating. 2007-06-22 16:58:25 [28147] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) terminates. 2007-06-22 16:58:25 [28147] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate 2007-06-22 16:58:25 [28147] [3] DEBUG: HTTP: No clients with requests, quitting. 2007-06-22 16:58:25 [28147] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) terminates. 2007-06-22 16:58:25 [28147] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates. 2007-06-22 16:58:25 [28147] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates. 2007-06-22 16:58:25 [28147] [0] DEBUG: Waiting for 4 (gw/smsbox.c:obey_request_thread) to terminate 2007-06-22 16:58:25 [28147] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) terminates. 2007-06-22 16:58:25 [28147] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) terminates. 2007-06-22 16:58:25 [28147] [0] DEBUG: Waiting for 5 (gw/smsbox.c:url_result_thread) to terminate 2007-06-22 16:58:25 [28147] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) terminates. 2007-06-22 16:58:25 [28147] [0] DEBUG: Immutable octet strings: 175. SMSC log 2007-06-22 16:58:16 [28139] [6] INFO: AT2[Nokia_smsc]: trying to use speed <19200> from modem definition 2007-06-22 16:58:16 [28139] [6] INFO: AT2[Nokia_smsc]: opening device 2007-06-22 16:58:16 [28139] [6] DEBUG: AT2[Nokia_smsc]: device opened 2007-06-22 16:58:16 [28139] [6] DEBUG: AT2[Nokia_smsc]: device opened 2007-06-22 16:58:16 [28139] [6] INFO: AT2[Nokia_smsc]: speed set to 19200 2007-06-22 16:58:16 [28139] [6] DEBUG: AT2[Nokia_smsc]: --> ^M 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: --> AT^M 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- AT 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- OK 2007-06-22 16:58:18 [28139] [6] INFO: AT2[Nokia_smsc]: closing device 2007-06-22 16:58:18 [28139] [6] INFO: AT2[Nokia_smsc]: speed is 19200 2007-06-22 16:58:18 [28139] [6] INFO: AT2[Nokia_smsc]: opening device 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: device opened 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: device opened 2007-06-22 16:58:18 [28139] [6] INFO: AT2[Nokia_smsc]: init device 2007-06-22 16:58:18 [28139] [6] INFO: AT2[Nokia_smsc]: speed set to 19200 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: --> ATZ^M 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- ATZ 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- OK 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: --> AT^M 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- AT 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- OK 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: --> AT&F^M 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- AT&F 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- OK 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: --> ATE0^M 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- ATE0 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- OK 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: --> AT+IFC=2,2^M 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- OK 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: --> AT+CPIN?^M 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- +CPIN: READY 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- OK 2007-06-22 16:58:18 [28139] [6] DEBUG: AT2[Nokia_smsc]: --> AT+CMGF=0^M 2007-06-22 16:58:19 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- OK 2007-06-22 16:58:19 [28139] [6] DEBUG: AT2[Nokia_smsc]: --> AT+CSMS=?^M 2007-06-22 16:58:19 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- +CSMS: (0) 2007-06-22 16:58:19 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- OK 2007-06-22 16:58:19 [28139] [6] DEBUG: AT2[Nokia_smsc]: --> ATZ^M 2007-06-22 16:58:19 [28139] [6] DEBUG: AT2[Nokia_smsc]: <-- OK 2007-06-22 16:58:19 [28139] [6] INFO: AT2[Nokia_smsc]: AT SMSC successfully opened. 2007-06-22 16:58:25 [28139] [6] INFO: AT2[Nokia_smsc]: closing device 2007-06-22 16:58:25 [28139] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) terminates.
