I am unable to ping the smsc from my machine. I was trying to eliminate the possibility that I entered the wrong configuration in kannel.
Nikos Balkanas-2 wrote: > > Hi, > > This is because your SMSc is never started, and bb doesn't know where to > send the SMS. It doesn't even attempt to start it. Are you sure you are > giving it the correct conf file? > > BR, > Nikos > ----- Original Message ----- > From: "digiTonik" <[email protected]> > To: <[email protected]> > Sent: Friday, November 06, 2009 9:38 AM > Subject: Routing failed, re-queued > > >> >> I am attempting to test a connection to my smsc by sending a sample >> message. >> >> http://127.0.0.1:13013/cgi-bin/sendsms?username=test&password=test123&to=251911127145&test=whyisthisnotworking >> >> bearerbox receives the message from smsbox however it continues to >> display >> the message "Routing failed, re-queued" >> >> Here are my configurations and log file trace >> >> conf >> ----- >> #-------------------------------------------------------------------------- >> #CORE >> #-------------------------------------------------------------------------- >> group = core >> admin-port = 13002 >> smsbox-port = 13003 >> admin-password = test123 >> admin-deny-ip = "*.*.*.*" >> log-file = "/var/log/kannel/etc_bearerbox.log" >> box-deny-ip = "*.*.*.*" >> box-allow-ip = "127.0.0.1;" >> >> #------------------------- >> #SMSBOX (pg. 72) >> # >> #------------------------- >> group = smsbox >> bearerbox-host = 127.0.0.1 >> sendsms-port = 13013 >> global-sender = 13013 >> >> #------------------------- >> #SMSC Connection >> #------------------------- >> group = smsc >> smsc = smpp >> smsc-id = etcSMSC >> host = ***.***.**.*** >> port = **** >> smsc-username = "user" >> smsc-password = passwd >> system-type = "VMA" >> >> >> #-------------------------------------------- >> #SENDSMS-User (one or more) >> # sms push out to a user >> # required to send an HTTP response to a user >> #-------------------------------------------- >> group = sendsms-user >> username = test >> password = test123 >> >> >> smsbox log >> =========== >> 2009-11-05 15:48:59 [23674] [0] INFO: Service global sender set as >> '13013' >> 2009-11-05 15:48:59 [23674] [0] INFO: HTTP: Opening server at port 13013. >> 2009-11-05 15:48:59 [23674] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) >> maps >> to pid 23674. >> 2009-11-05 15:48:59 [23674] [0] DEBUG: Started thread 1 >> (gwlib/fdset.c:poller) >> 2009-11-05 15:48:59 [23674] [2] DEBUG: Thread 2 >> (gwlib/http.c:server_thread) >> maps to pid 23674. >> 2009-11-05 15:48:59 [23674] [0] DEBUG: Started thread 2 >> (gwlib/http.c:server_thread) >> 2009-11-05 15:48:59 [23674] [0] INFO: Set up send sms service at port >> 13013 >> 2009-11-05 15:48:59 [23674] [3] DEBUG: Thread 3 >> (gw/smsbox.c:sendsms_thread) >> maps to pid 23674. >> 2009-11-05 15:48:59 [23674] [0] DEBUG: Started thread 3 >> (gw/smsbox.c:sendsms_thread) >> 2009-11-05 15:48:59 [23674] [0] DEBUG: >> ---------------------------------------------- >> 2009-11-05 15:48:59 [23674] [0] DEBUG: Kannel smsbox version 1.4.3 >> starting >> 2009-11-05 15:48:59 [23674] [0] DEBUG: dumping group (sendsms-user): >> 2009-11-05 15:48:59 [23674] [0] DEBUG: <group> = <sendsms-user> >> 2009-11-05 15:48:59 [23674] [0] DEBUG: <username> = <test> >> 2009-11-05 15:48:59 [23674] [0] DEBUG: <password> = <test123> >> 2009-11-05 15:48:59 [23674] [4] DEBUG: Thread 4 >> (gw/smsbox.c:obey_request_thread) maps to pid 23674. >> 2009-11-05 15:48:59 [23674] [0] DEBUG: Started thread 4 >> (gw/smsbox.c:obey_request_thread) >> 2009-11-05 15:48:59 [23674] [5] DEBUG: Thread 5 >> (gw/smsbox.c:url_result_thread) maps to pid 23674. >> 2009-11-05 15:48:59 [23674] [0] DEBUG: Started thread 5 >> (gw/smsbox.c:url_result_thread) >> 2009-11-05 15:48:59 [23674] [6] DEBUG: Thread 6 >> (gw/smsbox.c:http_queue_thread) maps to pid 23674. >> 2009-11-05 15:48:59 [23674] [0] DEBUG: Started thread 6 >> (gw/smsbox.c:http_queue_thread) >> 2009-11-05 15:48:59 [23674] [0] INFO: Connected to bearerbox at 127.0.0.1 >> port 13003. >> 2009-11-05 15:48:59 [23674] [7] DEBUG: Thread 7 >> (gw/heartbeat.c:heartbeat_thread) maps to pid 23674. >> 2009-11-05 15:48:59 [23674] [0] DEBUG: Started thread 7 >> (gw/heartbeat.c:heartbeat_thread) >> 2009-11-05 15:50:13 [23674] [2] DEBUG: HTTP: Creating HTTPClient for >> `127.0.0.1'. >> 2009-11-05 15:50:13 [23674] [2] DEBUG: HTTP: Created HTTPClient area >> 0x9d9ffe8. >> 2009-11-05 15:50:13 [23674] [3] INFO: smsbox: Got HTTP request >> </cgi-bin/sendsms> from <127.0.0.1> >> 2009-11-05 15:50:13 [23674] [3] INFO: sendsms used by <test> >> 2009-11-05 15:50:13 [23674] [3] INFO: sendsms sender:<test:13013> >> (127.0.0.1) to:<251911127145> msg:<whyisthisnotworking> >> 2009-11-05 15:50:13 [23674] [3] DEBUG: Stored UUID >> 307e3833-5026-4577-89aa-67c53d1fd384 >> 2009-11-05 15:50:13 [23674] [3] DEBUG: message length 19, sending 1 >> messages >> 2009-11-05 15:50:13 [23674] [3] DEBUG: Status: 202 Answer: <Sent.> >> 2009-11-05 15:50:13 [23674] [3] DEBUG: Delayed reply - wait for bearerbox >> 2009-11-05 15:50:13 [23674] [0] DEBUG: Got ACK (3) of >> 307e3833-5026-4577-89aa-67c53d1fd384 >> >> >> bearerbox log >> =========== >> 2009-11-05 15:48:17 [23664] [0] INFO: >> ---------------------------------------- >> 2009-11-05 15:48:17 [23664] [0] INFO: Kannel bearerbox II version 1.4.3 >> starting >> 2009-11-05 15:48:17 [23664] [0] INFO: MAIN: Start-up done, entering >> mainloop >> 2009-11-05 15:48:17 [23664] [7] DEBUG: Thread 7 >> (gw/bb_smscconn.c:sms_router) maps to pid 23664. >> 2009-11-05 15:48:59 [23664] [5] INFO: Client connected from <127.0.0.1> >> 2009-11-05 15:48:59 [23664] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) >> maps >> to pid 23664. >> 2009-11-05 15:48:59 [23664] [9] DEBUG: Thread 9 >> (gw/bb_boxc.c:boxc_sender) >> maps to pid 23664. >> 2009-11-05 15:48:59 [23664] [8] DEBUG: Started thread 9 >> (gw/bb_boxc.c:boxc_sender) >> 2009-11-05 15:48:59 [23664] [5] DEBUG: Started thread 8 >> (gw/bb_boxc.c:function) >> 2009-11-05 15:50:13 [23664] [8] DEBUG: boxc_receiver: sms received >> 2009-11-05 15:50:13 [23664] [8] DEBUG: send_msg: sending msg to box: >> <127.0.0.1> >> 2009-11-05 15:50:13 [23664] [7] DEBUG: sms_router: handling message >> (0x8eb7e40 vs 0x8eb7e40) >> 2009-11-05 15:50:13 [23664] [7] DEBUG: Routing failed, re-queued. >> 2009-11-05 15:50:13 [23664] [7] DEBUG: sms_router: handling message >> (0x8eb7e40 vs 0x8eb7e40) >> 2009-11-05 15:50:13 [23664] [7] DEBUG: Routing failed, re-queued. >> 2009-11-05 15:50:13 [23664] [7] DEBUG: sms_router: time to sleep 30.00 >> secs. >> 2009-11-05 15:50:13 [23664] [7] DEBUG: sms_router: gwlist_len = 1 >> 2009-11-05 15:50:13 [23664] [7] DEBUG: sms_router: handling message >> (0x8eb7e40 vs 0x8eb7e40) >> 2009-11-05 15:50:13 [23664] [7] DEBUG: Routing failed, re-queued. >> 2009-11-05 15:50:13 [23664] [7] DEBUG: sms_router: handling message >> (0x8eb7e40 vs 0x8eb7e40) >> 2009-11-05 15:50:13 [23664] [7] DEBUG: Routing failed, re-queued. >> 2009-11-05 15:50:13 [23664] [7] DEBUG: sms_router: time to sleep 30.00 >> secs. >> 2009-11-05 15:50:43 [23664] [7] DEBUG: sms_router: gwlist_len = 1 >> 2009-11-05 15:50:43 [23664] [7] DEBUG: sms_router: handling message >> (0x8eb7e40 vs 0x8eb7e40) >> 2009-11-05 15:50:43 [23664] [7] DEBUG: Routing failed, re-queued. >> 2009-11-05 15:50:43 [23664] [7] DEBUG: sms_router: handling message >> (0x8eb7e40 vs 0x8eb7e40) >> 2009-11-05 15:50:43 [23664] [7] DEBUG: Routing failed, re-queued. >> 2009-11-05 15:50:43 [23664] [7] DEBUG: sms_router: time to sleep 30.00 >> secs. >> -- >> View this message in context: >> http://old.nabble.com/Routing-failed%2C-re-queued-tp26227897p26227897.html >> Sent from the Kannel - User mailing list archive at Nabble.com. >> > > > > -- View this message in context: http://old.nabble.com/Routing-failed%2C-re-queued-tp26227897p26228806.html Sent from the Kannel - User mailing list archive at Nabble.com.
