Hi Nikos


Set max-messages = 0, it says "Message rejected by bearerbox, no router!". 
Please suggest how to specify routing info for this.



Thanks,

Sameer







On Fri, 30 Apr 2010 16:41:58 +0530  wrote

>

Hi,



In sms-service you have:



max-messages = 0



That's why you get no response.



BR,

Nikos



  ----- Original Message ----- 

  From: 

  SameerBhagwat 

  To: [email protected] 

  Sent: Friday, April 30, 2010 1:45 

PM

  Subject: Unable to send the SMS 

  

>Hello All,

>

>In my Kannel, I am able send message to 

  server and get response back, but the response I am not able to redirect to 

  the mobile which sends the SMS. 

>

>Please find the attached logs and the 

  config file.

>

>Kindly help

>

>Thanks,

>Sameer

>

>

  

    

    

      

2010-04-30 17:33:04 [11762] [0] INFO: Added logfile `/etc/kannel/check_sendsms_smsc.log' with level `0'.
2010-04-30 17:33:04 [11762] [0] INFO: SSL not supported, no SSL initialization done.
2010-04-30 17:33:04 [11762] [0] INFO: HTTP: Opening server at port 13000.
2010-04-30 17:33:04 [11762] [0] ERROR: bind failed
2010-04-30 17:33:04 [11762] [0] ERROR: System error 98: Address already in use
2010-04-30 17:33:04 [11762] [0] DEBUG: Started thread 1 (gw/bb_http.c:httpadmin_run)
2010-04-30 17:33:04 [11762] [1] DEBUG: Thread 1 (gw/bb_http.c:httpadmin_run) maps to pid 11762.
2010-04-30 17:33:04 [11762] [1] DEBUG: HTTP: No clients with requests, quitting.
2010-04-30 17:33:04 [11762] [1] DEBUG: Thread 1 (gw/bb_http.c:httpadmin_run) terminates.
2010-04-30 17:33:04 [11762] [0] DEBUG: starting smsbox connection module
2010-04-30 17:33:04 [11762] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100).
2010-04-30 17:33:04 [11762] [0] DEBUG: Started thread 2 (gw/bb_boxc.c:sms_to_smsboxes)
2010-04-30 17:33:04 [11762] [2] DEBUG: Thread 2 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 11762.
2010-04-30 17:33:04 [11762] [0] DEBUG: Started thread 3 (gw/bb_boxc.c:smsboxc_run)
2010-04-30 17:33:04 [11762] [3] DEBUG: Thread 3 (gw/bb_boxc.c:smsboxc_run) maps to pid 11762.
2010-04-30 17:33:04 [11762] [0] INFO: Set SMS resend frequency to 60 seconds.
2010-04-30 17:33:04 [11762] [0] INFO: SMS resend retry set to unlimited.
2010-04-30 17:33:04 [11762] [0] DEBUG: smsbox MO concatenated message handling enabled
2010-04-30 17:33:04 [11762] [0] INFO: DLR rerouting for smsc id <9159927969> disabled.
2010-04-30 17:33:04 [11762] [0] INFO: AT2[9159927969]: configuration shows modemtype <ericsson_t68>
2010-04-30 17:33:04 [11762] [0] DEBUG: AT2[9159927969]: Reading modem definitions from <bearerbox.conf>
2010-04-30 17:33:04 [11762] [0] DEBUG: Loading include file `/usr/local/include/kannel/modems.conf' (on line 102 of file bearerbox.conf).
2010-04-30 17:33:04 [11762] [0] DEBUG: AT2[9159927969]: Found <12> modems in config
2010-04-30 17:33:04 [11762] [0] INFO: Modems group without id, bad
2010-04-30 17:33:04 [11762] [0] INFO: AT2[9159927969]: read modem definition for <Ericsson T68>
2010-04-30 17:33:04 [11762] [0] DEBUG: Started thread 4 (gw/smsc/smsc_at.c:at2_device_thread)
2010-04-30 17:33:04 [11762] [4] DEBUG: Thread 4 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 11762.
2010-04-30 17:33:04 [11762] [4] INFO: AT2[9159927969]: trying to use speed <9600> from modem definition
2010-04-30 17:33:04 [11762] [0] DEBUG: Started thread 5 (gw/bb_smscconn.c:sms_router)
2010-04-30 17:33:04 [11762] [4] INFO: AT2[9159927969]: opening device
2010-04-30 17:33:04 [11762] [0] INFO: ----------------------------------------
2010-04-30 17:33:04 [11762] [0] INFO: Kannel bearerbox II version 1.4.3 starting
2010-04-30 17:33:04 [11762] [0] INFO: MAIN: Start-up done, entering mainloop
2010-04-30 17:33:04 [11762] [0] DEBUG: AT2[9159927969]: start called
2010-04-30 17:33:04 [11762] [5] DEBUG: Thread 5 (gw/bb_smscconn.c:sms_router) maps to pid 11762.
2010-04-30 17:33:04 [11762] [4] DEBUG: AT2[9159927969]: device opened. Telnet mode = 0
2010-04-30 17:33:04 [11762] [4] DEBUG: AT2[9159927969]: device opened
2010-04-30 17:33:04 [11762] [4] INFO: AT2[9159927969]: speed set to 9600
2010-04-30 17:33:04 [11762] [4] DEBUG: AT2[9159927969]: --> ^M
2010-04-30 17:33:06 [11762] [4] DEBUG: AT2[9159927969]: --> AT^M
2010-04-30 17:33:06 [11762] [4] DEBUG: AT2[9159927969]: <-- AT
2010-04-30 17:33:06 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:33:06 [11762] [4] INFO: AT2[9159927969]: Closing device
2010-04-30 17:33:06 [11762] [4] INFO: AT2[9159927969]: speed is 9600
2010-04-30 17:33:06 [11762] [4] INFO: AT2[9159927969]: opening device
2010-04-30 17:33:06 [11762] [4] DEBUG: AT2[9159927969]: device opened. Telnet mode = 0
2010-04-30 17:33:06 [11762] [4] DEBUG: AT2[9159927969]: device opened
2010-04-30 17:33:06 [11762] [4] INFO: AT2[9159927969]: Logging in
2010-04-30 17:33:06 [11762] [4] INFO: AT2[9159927969]: init device
2010-04-30 17:33:06 [11762] [4] INFO: AT2[9159927969]: speed set to 9600
2010-04-30 17:33:06 [11762] [4] DEBUG: AT2[9159927969]: --> ATZ^M
2010-04-30 17:33:06 [11762] [4] DEBUG: AT2[9159927969]: <-- ATZ
2010-04-30 17:33:06 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:33:06 [11762] [4] DEBUG: AT2[9159927969]: --> AT^M
2010-04-30 17:33:06 [11762] [4] DEBUG: AT2[9159927969]: <-- AT
2010-04-30 17:33:06 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:33:06 [11762] [4] DEBUG: AT2[9159927969]: --> AT&F^M
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: <-- AT&F
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: --> ATE0^M
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: <-- ATE0
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: --> AT+IFC=2,2^M
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: --> AT+CPIN?^M
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: <-- +CPIN: READY
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: --> AT+CMGF=0^M
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: --> AT+CSMS=?^M
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: <-- +CSMS: (0)
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: --> AT+CNMI=2,3,0,1,0;+CMEE=2^M
2010-04-30 17:33:07 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:33:07 [11762] [4] INFO: AT2[9159927969]: AT SMSC successfully opened.
2010-04-30 17:33:09 [11762] [4] DEBUG: AT2[9159927969]: --> AT+CPMS?^M
2010-04-30 17:33:09 [11762] [4] DEBUG: AT2[9159927969]: <-- +CPMS: "SM",0,20,"SM",0,20,"ME",0,200
2010-04-30 17:33:09 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:33:12 [11762] [3] INFO: Client connected from <127.0.0.1> 
2010-04-30 17:33:12 [11762] [3] DEBUG: Started thread 6 (gw/bb_boxc.c:function)
2010-04-30 17:33:12 [11762] [6] DEBUG: Thread 6 (gw/bb_boxc.c:function) maps to pid 11762.
2010-04-30 17:33:12 [11762] [6] DEBUG: Started thread 7 (gw/bb_boxc.c:boxc_sender)
2010-04-30 17:33:12 [11762] [7] DEBUG: Thread 7 (gw/bb_boxc.c:boxc_sender) maps to pid 11762.
2010-04-30 17:34:07 [11762] [4] DEBUG: AT2[9159927969]: <-- +CMTI: "ME",1
2010-04-30 17:34:07 [11762] [4] DEBUG: AT2[9159927969]: +CMTI incoming SMS indication: +CMTI: "ME",1
2010-04-30 17:34:09 [11762] [4] INFO: AT2[9159927969]: CMTI received, but no message-storage is set in confiuration.setting now to <ME>
2010-04-30 17:34:09 [11762] [4] INFO: System error 2: No such file or directory
2010-04-30 17:34:09 [11762] [4] DEBUG: AT2[9159927969]: --> AT+CPMS="ME"^M
2010-04-30 17:34:09 [11762] [4] DEBUG: AT2[9159927969]: <-- +CPMS: 1,200,0,20,1,200
2010-04-30 17:34:09 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:34:09 [11762] [4] DEBUG: AT2[9159927969]: --> AT+CMGR=1^M
2010-04-30 17:34:09 [11762] [4] DEBUG: AT2[9159927969]: <-- +CMGR: 0,,22
2010-04-30 17:34:09 [11762] [4] DEBUG: AT2[9159927969]: <-- 0791198904100161040C911969771721590000014003712283220341351D
2010-04-30 17:34:09 [11762] [4] DEBUG: AT2[9159927969]: received message from SMSC: +919840011016
2010-04-30 17:34:09 [11762] [4] DEBUG: AT2[9159927969]: Numeric sender (international) <+919677711295>
2010-04-30 17:34:09 [11762] [4] DEBUG: AT2[9159927969]: User data length read as (3)
2010-04-30 17:34:09 [11762] [4] DEBUG: AT2[9159927969]: Udh decoding done len=3 udhi=0 udhlen=0 udh=''
2010-04-30 17:34:09 [11762] [7] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2010-04-30 17:34:09 [11762] [7] DEBUG: boxc_sender: sent message to <127.0.0.1>
2010-04-30 17:34:09 [11762] [6] DEBUG: boxc_receiver: got ack
2010-04-30 17:34:09 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:34:09 [11762] [4] DEBUG: AT2[9159927969]: --> AT+CMGD=1^M
2010-04-30 17:34:09 [11762] [6] DEBUG: boxc_receiver: sms received
2010-04-30 17:34:09 [11762] [6] WARNING: Cannot find SMSCConn for message to <+919677711295>, rejected.
2010-04-30 17:34:09 [11762] [6] WARNING: Message rejected by bearerbox, no router!
2010-04-30 17:34:09 [11762] [6] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2010-04-30 17:34:09 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:34:11 [11762] [4] DEBUG: AT2[9159927969]: --> AT+CPMS?^M
2010-04-30 17:34:11 [11762] [4] DEBUG: AT2[9159927969]: <-- +CPMS: "ME",0,200,"SM",0,20,"ME",0,200
2010-04-30 17:34:11 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:34:12 [11762] [6] DEBUG: boxc_receiver: heartbeat with load value 0 received
2010-04-30 17:35:13 [11762] [4] DEBUG: AT2[9159927969]: --> AT+CPMS?^M
2010-04-30 17:35:13 [11762] [4] DEBUG: AT2[9159927969]: <-- +CPMS: "ME",0,200,"SM",0,20,"ME",0,200
2010-04-30 17:35:13 [11762] [4] DEBUG: AT2[9159927969]: <-- OK
2010-04-30 17:35:31 [11762] [0] WARNING: Killing signal or HTTP admin command received, shutting down...
2010-04-30 17:35:31 [11762] [0] DEBUG: Shutting down Kannel...
2010-04-30 17:35:31 [11762] [0] DEBUG: shutting down smsc
2010-04-30 17:35:31 [11762] [0] DEBUG: AT2[9159927969]: Shutting down SMSCConn, slow
2010-04-30 17:35:31 [11762] [0] DEBUG: shutting down udp
2010-04-30 17:35:33 [11762] [4] INFO: AT2[9159927969]: Closing device
2010-04-30 17:35:33 [11762] [4] DEBUG: Thread 4 (gw/smsc/smsc_at.c:at2_device_thread) terminates.
2010-04-30 17:35:33 [11762] [2] DEBUG: Thread 2 (gw/bb_boxc.c:sms_to_smsboxes) terminates.
2010-04-30 17:35:33 [11762] [7] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2010-04-30 17:35:33 [11762] [7] DEBUG: Thread 7 (gw/bb_boxc.c:boxc_sender) terminates.
2010-04-30 17:35:33 [11762] [6] INFO: Connection closed by the box <127.0.0.1>
2010-04-30 17:35:33 [11762] [6] DEBUG: Thread 6 (gw/bb_boxc.c:function) terminates.
2010-04-30 17:35:33 [11762] [5] DEBUG: Thread 5 (gw/bb_smscconn.c:sms_router) terminates.
2010-04-30 17:35:34 [11762] [3] DEBUG: Thread 3 (gw/bb_boxc.c:smsboxc_run) terminates.
2010-04-30 17:35:34 [11762] [0] INFO: All flow threads have died, killing core
2010-04-30 17:35:34 [11762] [0] DEBUG: final clean-up for SMSCConn
2010-04-30 17:35:34 [11762] [0] DEBUG: smsbox MO concatenated message handling cleaned up
2010-04-30 17:35:34 [11762] [0] INFO: Total WDP messages: received 0, sent 0
2010-04-30 17:35:34 [11762] [0] INFO: Total SMS messages: received 1, sent 0
2010-04-30 17:35:34 [11762] [0] DEBUG: Immutable octet strings: 264.

Attachment: bearerbox.conf
Description: Binary data

Attachment: smskannel.conf
Description: Binary data

Reply via email to