hi all, i try kannel 1.2.1 on my RH9 with my ME45 siemens phone attached by serial cable at ttyS1. and i try to send sms with url connection http://localhost:13001/..... and i got ERROR at bearerbox.log, like below.
ANYBODY CAN HELP ME TO SOLVE THIS ERROR? ---- thanks -me- ---- this my config file: ----- group = core admin-port = 13000 smsbox-port = 13001 wapbox-port = 13002 admin-password = foobar wdp-interface-name = "*" log-file = "/tmp/bearerbox.log" access-log = "/tmp/bearer-access.log" group = modems id = siemensphone name = "Siemens Phone" #detect-string = "SIEMENS" need-sleep = true sendline-sleep = 500 #keepalive-cmd = "AT+CBC;+CSQ" group = sendsms-user username = tester password = foobar group = smsc smsc = at #modemtype = siemens modemtype = auto speed = 19200 device = /dev/ttyS1 host = localhost smsc-username = tester smsc-password = foobar group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 log-file = "/tmp/smsbox.log" access-log = "/tmp/sms-access.log" # there should be default always group = sms-service keyword = default text = "No service spesified" group = wapbox bearerbox-host = localhost log-file = "/tmp/wapbox.log" log-level = 0 syslog-level = none ----- ----- [EMAIL PROTECTED] sbin]# bearerbox /usr/local/etc/kannel/satu.conf & [EMAIL PROTECTED] sbin]# 2004-03-09 22:33:30 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 2004-03-09 22:33:30 [0] WARNING: DLR: using default 'internal' for storage type. 2004-03-09 22:33:30 [0] DEBUG: Kannel bearerbox version `1.2.1'. System Linux, release 2.4.20-8, version #1 Thu Mar 13 17:54:28 EST 2003, machine i686. Hostname localhost.localdomain, IP 127.0.0.1. Libxml version 20504. Using native malloc. 2004-03-09 22:33:30 [0] INFO: Added logfile `/tmp/bearerbox.log' with level `0'. 2004-03-09 22:33:30 [0] INFO: Started access logfile `/tmp/bearer-access.log'. 2004-03-09 22:33:30 [0] INFO: SSL not supported, no SSL initialization done. 2004-03-09 22:33:30 [0] DEBUG: HTTP: Opening server at port 13000. 2004-03-09 22:33:30 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2004-03-09 22:33:30 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2004-03-09 22:33:30 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2004-03-09 22:33:30 [0] DEBUG: starting smsbox connection module 2004-03-09 22:33:30 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run) 2004-03-09 22:33:30 [0] DEBUG: AT: Command: AT 2004-03-09 22:33:30 [0] DEBUG: Read from modem: 'OK' 2004-03-09 22:33:30 [0] DEBUG: AT: Command: AT&F 2004-03-09 22:33:30 [0] DEBUG: Read from modem: 'OK' 2004-03-09 22:33:30 [0] DEBUG: AT: Command: AT 2004-03-09 22:33:30 [0] DEBUG: Read from modem: 'AT OK' 2004-03-09 22:33:30 [0] DEBUG: AT: Command: ATE0 2004-03-09 22:33:30 [0] DEBUG: Read from modem: 'ATE0 OK' 2004-03-09 22:33:30 [0] DEBUG: AT: Command: ATI 2004-03-09 22:33:30 [0] DEBUG: Read from modem: '042 OK' 2004-03-09 22:33:31 [0] DEBUG: AT: Command: ATI1 2004-03-09 22:33:31 [0] DEBUG: Read from modem: '042 OK' 2004-03-09 22:33:32 [0] DEBUG: AT: Command: ATI2 2004-03-09 22:33:32 [0] DEBUG: Read from modem: 'OK OK' 2004-03-09 22:33:33 [0] DEBUG: AT: Command: ATI3 2004-03-09 22:33:34 [0] DEBUG: Read from modem: 'OK' 2004-03-09 22:33:35 [0] DEBUG: AT: Command: ATI4 2004-03-09 22:33:35 [0] DEBUG: Read from modem: 'OK' 2004-03-09 22:33:36 [0] DEBUG: AT: Command: AT+CPIN? 2004-03-09 22:33:36 [0] DEBUG: Read from modem: '+CPIN: READY' 2004-03-09 22:33:36 [0] DEBUG: AT: Command: AT+CMGF=0 2004-03-09 22:33:36 [0] DEBUG: Read from modem: 'OK' 2004-03-09 22:33:37 [0] DEBUG: AT: Command: AT+CNMI=1,2,0,0,0 2004-03-09 22:33:37 [0] DEBUG: Read from modem: 'OK' 2004-03-09 22:33:37 [0] INFO: AT SMSC successfully opened. 2004-03-09 22:33:37 [0] DEBUG: Started thread 5 (gw/smsc/smsc_wrapper.c:wrapper_receiver) 2004-03-09 22:33:37 [0] DEBUG: Started thread 6 (gw/smsc/smsc_wrapper.c:wrapper_sender) 2004-03-09 22:33:37 [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2004-03-09 22:33:37 [0] DEBUG: starting UDP sender/receiver module 2004-03-09 22:33:37 [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9200> 2004-03-09 22:33:37 [7] DEBUG: sms_router: time to sleep 2004-03-09 22:33:37 [0] DEBUG: Started thread 8 (gw/bb_udp.c:udp_receiver) 2004-03-09 22:33:37 [0] DEBUG: Started thread 9 (gw/bb_udp.c:udp_sender) 2004-03-09 22:33:37 [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9201> 2004-03-09 22:33:37 [0] DEBUG: Started thread 10 (gw/bb_udp.c:udp_receiver) 2004-03-09 22:33:37 [0] DEBUG: Started thread 11 (gw/bb_udp.c:udp_sender) 2004-03-09 22:33:37 [0] DEBUG: starting wapbox connection module 2004-03-09 22:33:37 [0] DEBUG: Started thread 12 (gw/bb_boxc.c:wdp_to_wapboxes) 2004-03-09 22:33:37 [0] DEBUG: Started thread 13 (gw/bb_boxc.c:wapboxc_run) 2004-03-09 22:33:37 [0] DEBUG: starting WDP router 2004-03-09 22:33:37 [0] DEBUG: Started thread 14 (gw/bearerbox.c:wdp_router) 2004-03-09 22:33:37 [0] INFO: ---------------------------------------- 2004-03-09 22:33:37 [0] INFO: Kannel bearerbox II version 1.2.1 starting 2004-03-09 22:33:37 [0] INFO: MAIN: Start-up done, entering mainloop 2004-03-09 22:33:37 [0] DEBUG: Starting wrapper 2004-03-09 22:33:37 [7] DEBUG: sms_router: list_len = 0 ------------ [EMAIL PROTECTED] sbin]# smsbox /usr/local/etc/kannel/satu.conf & [2] 3223 [EMAIL PROTECTED] sbin]# 2004-03-09 22:33:54 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 2004-03-09 22:33:54 [0] DEBUG: Kannel smsbox version `1.2.1'. System Linux, release 2.4.20-8, version #1 Thu Mar 13 17:54:28 EST 2003, machine i686. Hostname localhost.localdomain, IP 127.0.0.1. Libxml version 20504. Using native malloc. 2004-03-09 22:33:54 [0] INFO: Starting to log to file /tmp/smsbox.log level 0 2004-03-09 22:33:54 [0] INFO: Added logfile `/tmp/smsbox.log' with level `0'. 2004-03-09 22:33:54 [0] INFO: Service global sender set as '13013' 2004-03-09 22:33:54 [0] INFO: Logging accesses to '/tmp/sms-access.log'. 2004-03-09 22:33:54 [0] INFO: Started access logfile `/tmp/sms-access.log'. 2004-03-09 22:33:54 [0] DEBUG: HTTP: Opening server at port 13013. 2004-03-09 22:33:54 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2004-03-09 22:33:54 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2004-03-09 22:33:54 [0] INFO: Set up send sms service at port 13013 2004-03-09 22:33:54 [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2004-03-09 22:33:54 [0] DEBUG: ---------------------------------------------- 2004-03-09 22:33:54 [0] DEBUG: Kannel smsbox version 1.2.1 starting 2004-03-09 22:33:54 [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2004-03-09 22:33:54 [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2004-03-09 22:33:54 [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2004-03-09 22:33:54 [4] DEBUG: Started thread 15 (gw/bb_boxc.c:function) 2004-03-09 22:33:54 [15] INFO: Client connected from <127.0.0.1> 2004-03-09 22:33:54 [0] INFO: Connected to bearerbox at localhost port 13001. 2004-03-09 22:33:54 [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) 2004-03-09 22:33:54 [15] DEBUG: Started thread 16 (gw/bb_boxc.c:boxc_sender) ------------ after send sms by url, result is like below and any "ERROR" in there. ------------ 2004-03-09 22:34:51 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1> 2004-03-09 22:34:51 [3] INFO: sendsms used by <tester> 2004-03-09 22:34:51 [3] INFO: sendsms sender:<tester:08161639462> (127.0.0.1) to:<08128077690> msg:<testis> 2004-03-09 22:34:51 [3] DEBUG: message length 6, sending 1 messages 2004-03-09 22:34:51 [3] DEBUG: Status: 202 Answer: <Sent.> 2004-03-09 22:34:51 [3] DEBUG: HTTP: Destroying HTTPClient area 0x809b248. 2004-03-09 22:34:51 [3] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2004-03-09 22:34:51 [15] DEBUG: boxc_receiver: sms received 2004-03-09 22:34:51 [6] DEBUG: smscconn_sender (AT: /dev/ttyS1): sending message 2004-03-09 22:34:51 [6] DEBUG: TP-Validity-Period: 24.0 hours 2004-03-09 22:34:51 [6] DEBUG: AT: Command: AT+CMGS=20 2004-03-09 22:34:51 [6] DEBUG: Read from modem: '>' 2004-03-09 22:34:51 [6] DEBUG: AT: Command: 11000B818021087796F00000A706F4F29C9E9E03 2004-03-09 22:34:51 [6] DEBUG: Read from modem: 'ERROR' 2004-03-09 22:34:51 [6] DEBUG: send command status: -1 2004-03-09 22:34:51 [6] DEBUG: AT: Command: AT+CMGS=20 2004-03-09 22:34:52 [6] DEBUG: Read from modem: '>' 2004-03-09 22:34:52 [6] DEBUG: AT: Command: 11000B818021087796F00000A706F4F29C9E9E03 2004-03-09 22:34:52 [6] DEBUG: Read from modem: 'ERROR' 2004-03-09 22:34:52 [6] DEBUG: send command status: -1 2004-03-09 22:34:52 [6] DEBUG: AT: Command: AT+CMGS=20 2004-03-09 22:34:52 [6] DEBUG: Read from modem: '>' 2004-03-09 22:34:52 [6] DEBUG: AT: Command: 11000B818021087796F00000A706F4F29C9E9E03 2004-03-09 22:34:52 [6] DEBUG: Read from modem: 'ERROR' 2004-03-09 22:34:52 [6] DEBUG: send command status: -1 2004-03-09 22:34:52 [6] DEBUG: AT: Command: AT+CMGS=20 2004-03-09 22:34:52 [6] DEBUG: Read from modem: '>' 2004-03-09 22:34:52 [6] DEBUG: AT: Command: 11000B818021087796F00000A706F4F29C9E9E03 2004-03-09 22:34:52 [6] DEBUG: Read from modem: 'ERROR' 2004-03-09 22:34:52 [6] DEBUG: send command status: -1 2004-03-09 22:34:52 [6] DEBUG: smsc_wrapper <AT: /dev/ttyS1>: reconnect started 2004-03-09 22:34:52 [6] INFO: Re-open of AT: /dev/ttyS1 succeeded. -----------------------------
