Hello group, I have serious problem with setting my siemens m20 as smsc center. Kannel cannot run it. I don`t know what it is, but i used this modem with other applications (based on AT commands too) and worked fine (the same machine, same port). I can`t even make it visible for kannel not to mention of setting m20 based smsc...
I have a question to you, if someone of you is using M20 Terminal with kannel? Maybe someone have similar problem and solved it and want to share how to do it;-) I have tried to set smsc both AT and AT2 type - no success. I`ve tried autodetection, changing speed, even changing query-string. The green LED is still blinking and modem gives no answer to kannel. Below is my log, first when i use AT, and the second when the smsc was AT2, i have also included a piece of my config file and modem defs file. I will appreciate every advices. bye, lukas --- smsc: AT ---- 2002-05-31 10:22:11 [0] INFO: Added logfile `/var/log/mobile/kannel.log' with level `5'. 2002-05-31 10:22:11 [0] INFO: ---------------------------------------- 2002-05-31 10:22:11 [0] INFO: Kannel bearerbox II version 1.1.6 starting 2002-05-31 10:22:11 [0] INFO: Started access logfile `/var/log/mobile/kannel-access.log'. 2002-05-31 10:22:11 [0] DEBUG: HTTP: Opening server at port 13000. 2002-05-31 10:22:11 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2002-05-31 10:22:11 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2002-05-31 10:22:11 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2002-05-31 10:22:11 [0] DEBUG: starting smsbox connection module 2002-05-31 10:22:11 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run) 2002-05-31 10:22:11 [0] DEBUG: AT: Command: AT 2002-05-31 10:22:21 [0] DEBUG: Read from modem: '' 2002-05-31 10:22:21 [0] DEBUG: AT: Command: AT&F 2002-05-31 10:22:31 [0] DEBUG: Read from modem: '' 2002-05-31 10:22:31 [0] DEBUG: AT: Command: AT 2002-05-31 10:22:41 [0] DEBUG: Read from modem: '' 2002-05-31 10:22:41 [0] DEBUG: AT: Command: ATE0 2002-05-31 10:22:51 [0] DEBUG: Read from modem: '' 2002-05-31 10:22:51 [0] ERROR: Failed to create Smsc wrapper 2002-05-31 10:22:51 [0] PANIC: Cannot start with SMSC connection failing --- SMSC: AT2 ----- 2002-05-31 10:24:44 [0] DEBUG: HTTP: Opening server at port 13000. 2002-05-31 10:24:44 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2002-05-31 10:24:44 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2002-05-31 10:24:44 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2002-05-31 10:24:44 [0] DEBUG: starting smsbox connection module 2002-05-31 10:24:44 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run) 2002-05-31 10:24:44 [0] INFO: AT2[/dev/ttyS0]: configuration shows modemtype <siemens_m20> 2002-05-31 10:24:44 [0] DEBUG: AT2[/dev/ttyS0]: Reading modem definitions from </etc/mobile/smskannel.conf> 2002-05-31 10:24:44 [0] DEBUG: Loading include file `/etc/mobile/modems.conf' (on line 19 of file /etc/mobile/smskannel.conf). 2002-05-31 10:24:44 [0] DEBUG: AT2[/dev/ttyS0]: Found <10> modems in config 2002-05-31 10:24:44 [0] INFO: AT2[/dev/ttyS0]: read modem definition for <Siemens M20> 2002-05-31 10:24:44 [0] DEBUG: Started thread 5 (gw/smsc_at2.c:at2_device_thread) 2002-05-31 10:24:44 [5] INFO: AT2[/dev/ttyS0]: opening device 2002-05-31 10:24:44 [5] DEBUG: AT2[/dev/ttyS0]: device opened 2002-05-31 10:24:44 [0] DEBUG: Started thread 6 (gw/bb_smscconn.c:sms_router) 2002-05-31 10:24:44 [0] INFO: MAIN: Start-up done, entering mainloop 2002-05-31 10:24:44 [0] DEBUG: AT2[/dev/ttyS0]: start called 2002-05-31 10:24:44 [6] DEBUG: sms_router: time to sleep 2002-05-31 10:24:44 [6] DEBUG: sms_router: list_len = 0 2002-05-31 10:24:45 [5] DEBUG: AT2[/dev/ttyS0]: device opened 2002-05-31 10:24:45 [5] INFO: AT2[/dev/ttyS0]: init device 2002-05-31 10:24:45 [5] INFO: AT2[/dev/ttyS0]: speed set to 9600 2002-05-31 10:24:45 [5] DEBUG: AT2[/dev/ttyS0]: --> AT^M My Config file: -- include = "/etc/mobile/modems.conf" group = core admin-port = 13000 smsbox-port = 13001 admin-password = lde log-file = "/var/log/mobile/kannel.log" log-level = 3 #box-deny-ip = "*.*.*.*" #box-allow-ip = "192.168.155.*" box-allow-ip = "*.*.*.*" #unified-prefix = "00358,0" access-log = "/var/log/mobile/kannel-access.log" group = smsc smsc = at2 modemtype = siemens_m20 device = /dev/ttyS0 speed = 9600 connect-allow-ip = "*.*.*.*" pin = 5229 #alt-dcs = true -- modems.conf, section with M20 group = modems id = siemens_m20 name = "Siemens M20" detect-string = "SIEMENS" detect-string2 = "M20" #speed = 19200 enable-hwhs = "AT\\Q3" need-sleep = true --cut--