Here is the detail info. Log as: 2010-09-25 22:52:40 [26789] [0] INFO: Added logfile `/tmp/smsbox.log' with level `0'. 2010-09-25 22:52:40 [26789] [0] INFO: Service global sender set as '13013' 2010-09-25 22:52:40 [26789] [0] INFO: HTTP: Opening server at port 13013. 2010-09-25 22:52:40 [26789] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2010-09-25 22:52:40 [26789] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2010-09-25 22:52:40 [26789] [0] INFO: Set up send sms service at port 13013 2010-09-25 22:52:40 [26789] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2010-09-25 22:52:40 [26789] [0] DEBUG: ---------------------------------------------- 2010-09-25 22:52:40 [26789] [0] DEBUG: Kannel smsbox version 1.4.3 starting 2010-09-25 22:52:40 [26789] [0] DEBUG: dumping group (sendsms-user): 2010-09-25 22:52:40 [26789] [0] DEBUG: <group> = <sendsms-user> 2010-09-25 22:52:40 [26789] [0] DEBUG: <username> = <roger> 2010-09-25 22:52:40 [26789] [0] DEBUG: <password> = <roger> 2010-09-25 22:52:40 [26789] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2010-09-25 22:52:40 [26789] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2010-09-25 22:52:40 [26789] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2010-09-25 22:52:40 [26789] [0] INFO: Connected to bearerbox at 127.0.0.1 port 13001. 2010-09-25 22:52:40 [26789] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) 2010-09-25 22:52:40 [26789] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 26789. 2010-09-25 22:52:40 [26789] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 26789. 2010-09-25 22:52:40 [26789] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 26789. 2010-09-25 22:52:40 [26789] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 26789. 2010-09-25 22:52:40 [26789] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 26789. 2010-09-25 22:52:40 [26789] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 26789. 2010-09-25 22:52:40 [26789] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 26789. 2010-09-25 22:52:58 [26789] [2] DEBUG: HTTP: Creating HTTPClient for `192.168.1.150'. 2010-09-25 22:52:58 [26789] [2] DEBUG: HTTP: Created HTTPClient area 0x930ee00. 2010-09-25 22:52:58 [26789] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <192.168.1.150> 2010-09-25 22:52:58 [26789] [3] INFO: sendsms used by <roger> 2010-09-25 22:52:58 [26789] [3] INFO: sendsms sender:<roger:13013> (192.168.1.150) to:< 14162702125> msg:<this is a test call me if you can receive this message> 2010-09-25 22:52:58 [26789] [3] DEBUG: Stored UUID 69bac167-891d-4435-a9a0-e9a48b9f0129 2010-09-25 22:52:58 [26789] [3] DEBUG: message length 54, sending 1 messages 2010-09-25 22:52:58 [26789] [3] DEBUG: Status: 202 Answer: <Sent.> 2010-09-25 22:52:58 [26789] [3] DEBUG: Delayed reply - wait for bearerbox 2010-09-25 22:52:58 [26789] [0] DEBUG: Got ACK (0) of 69bac167-891d-4435-a9a0-e9a48b9f0129 2010-09-25 22:52:58 [26789] [0] DEBUG: HTTP: Resetting HTTPClient for `192.168.1.150'. 2010-09-25 22:53:58 [26789] [1] DEBUG: Timeout for fd:23 appeares.
following is my kannel.conf & modems.conf group = core admin-port = 13000 smsbox-port = 13001 group = smsc smsc = at modemtype = wavecom speed = 9600 device=/dev/ttyS0 #my-number = 16472172125 #smsc-id = FAKE #alt-charset = GB2312 #port = 12000 connect-allow-ip = 127.0.0.1 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 13013 #sendsms-chars = "0123456789 +-" log-file = "/tmp/smsbox.log" log-level = 0 mo-recode = true #access-log = "/tmp/access.log" group = sendsms-user username = roger password = roger #user-deny-ip = "" #user-allow-ip = "" include = "/usr/local/gateway/modems.conf" Modems.conf: group = modems id = generic name = "Generic my Modem " # group = modems # id = wavecom # name = Wavecom # detect-string = "WAVECOM" # init-string = "AT+CNMI=1,2,0,0,0" # init-string = "AT+CNMI=2,3,0,1,0;+CMEE=1;at*cmee=1 " # init-string = "AT+CNMI=1,2,0,1,1 # init-string = AT+CNMI=2,1,0,0,0;+CPMS="ME","ME","ME";+CMEE=1 # speed = 9600 group = modems id = wavecom name = Wavecom detect-string = "WAVECOM" # init-string = AT+CNMI=3,1,0,0,0;+CPMS="ME","ME","ME";+CMEE=1 message-storage = "ME" need-sleep = true sendline-sleep = 300 reset-string = "AT+CFUN=1" speed = 9600 keepalive-cmd = "AT+CMGD=1,2" group = modems id = premicell name = Premicell detect-string = "PREMICEL" no-pin = true no-smsc = true group = modems id = siemens_tc35 name = "Siemens TC35" detect-string = "SIEMENS" detect-string2 = "TC35" # init-string = "AT+CNMI=1,2,0,1,1" init-string = "AT+CNMI=2,3,0,1,0;+CMEE=1" speed = 9600 enable-hwhs = "AT\\Q3" need-sleep = true group = modems id = siemens_m20 name = "Siemens M20" detect-string = "SIEMENS" detect-string2 = "M20" speed = 9600 enable-hwhs = "AT\\Q3" keepalive-cmd = "AT+CBC;+CSQ" need-sleep = true group = modems id = siemens_sl45 name = "Siemens SL45" detect-string = "SIEMENS" detect-string2 = "SL45" # init-string = "AT+CNMI=1,2,2,2,1" init-string = "AT+CNMI=2,3,0,1,0;+CMEE=1" keepalive-cmd = "AT+CBC;+CSQ" speed = 9600 enable-hwhs = "AT\\Q3" need-sleep = true message-storage = "SM" group = modems id = nokiaphone name = "Nokia Phone" detect-string = "Nokia Mobile Phone" need-sleep = true keepalive-cmd = "AT+CBC;+CSQ" enable-mms = true group = modems id = falcom name = "Falcom" detect-string = "Falcom" #no-smsc = true group = modems id = ericsson_r520m name = "Ericsson R520m" detect-string = "R520m" init-string = "AT+CNMI=3,2,0,0" group = modems id = ericsson_t68 name = "Ericsson T68" detect-string = "T68" init-string = "AT+CNMI=3,3" keepalive-cmd = "AT+CBC;+CSQ" broken = true group = modems id = sonyericsson_gr47 name = "Sony Ericsson GR47" detect-string = "GR47" message-storage = "ME" # use this init-string for non sim-buffering init-string = "AT+CNMI=3,2,0,0" # use this init-string for sim-buffering #init-string = "AT+CNMI=3,1,0,0" reset-string = "ATZ" broken = true group = modems id = alcatel name = "Alcatel" detect-string = "Alcatel" init-string = "AT+CNMI=3,2,0,0" group = modems id = sonyericsson_T630-T628 name = "Sony Ericsson T630-T628? init-string = "AT+CNMI=2,3,2,0,0;+CMGF=0? keepalive-cmd = "AT+CBC;+CSQ;+CMGF=0? broken = true group = modems id = sonyericsson_p1i name = "Sony Ericsson P1i" detect-string = "Sony Ericsson P1i" init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" message-storage = "SM" reset-string = "ATZ" broken = true rcong wrote: > > Does anyone know that if GSM operator (Fido/Rogers in Canada) has blocked > SMS gateway? I am trying to setup SMS gateway using Wavecom modem, but > somehow the messages are staying in queue and log shows as following: > DEBUG: message length 54, sending 1 messages > 2010-09-25 22:52:58 [26789] [3] DEBUG: Status: 202 Answer: <Sent.> > 2010-09-25 22:52:58 [26789] [3] DEBUG: Delayed reply - wait for bearerbox > 2010-09-25 22:52:58 [26789] [0] DEBUG: Got ACK (0) of > 69bac167-891d-4435-a9a0-e9a48b9f0129 > > Any help will be appreciated! Thanks, > Roger > -- View this message in context: http://old.nabble.com/Block-by-operator--tp29809539p29811275.html Sent from the Kannel - User mailing list archive at Nabble.com.
