Hi
I got a sample bearerbox config file from the old nabble forum and modified the bearerbox and also attached the logs, once the sms reached the mobile I exited the gateway. It didnt show me any notification of the SMS received. Please find the attached logs. Dont we need the smsbox running? Thanks, PradeepChandar.R On Wed, 10 Mar 2010 20:00:50 +0530 wrote > Hi, I see various problems in your configuration. You should use one of the example configurations provided and customize it. How do you start kannel? 1) Throughput should be an integer. 2) Throw away smskannel.conf. Group smsc doesn't do what you think. Read user's guide. Please correct and post detailed bearerbox logs (-v 0) relevant to problem. BR, Nikos ----- Original Message ----- From: PradeepChandar Rajarathnam To: [email protected] Cc: [email protected] Sent: Wednesday, March 10, 2010 2:36 PM Subject: SMS Doesnot Reach the Kannel >Hello, > >Please find the attached Bearerbox & the smsbox conf files and please let me me know what is wrong with that. The sms sent doesnot reaches the kannel gateway. > >Does kannel works only for Italian operators and not for Indian operators? > >Thanks, >PradeepChandar.R >
bearerboxkannel.conf
Description: Binary data
Log file for Checking SendSMS _____________________________ 2010-03-11 16:55:59 [8157] [0] INFO: Added logfile `/etc/kannel/check_sendsms_smsc.log' with level `0'. 2010-03-11 16:55:59 [8157] [0] INFO: SSL not supported, no SSL initialization done. 2010-03-11 16:55:59 [8157] [0] INFO: HTTP: Opening server at port 13000. 2010-03-11 16:55:59 [8157] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2010-03-11 16:55:59 [8157] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 8157. 2010-03-11 16:55:59 [8157] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2010-03-11 16:55:59 [8157] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 8157. 2010-03-11 16:55:59 [8157] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2010-03-11 16:55:59 [8157] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 8157. 2010-03-11 16:55:59 [8157] [0] DEBUG: starting smsbox connection module 2010-03-11 16:55:59 [8157] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2010-03-11 16:55:59 [8157] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2010-03-11 16:55:59 [8157] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 8157. 2010-03-11 16:55:59 [8157] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2010-03-11 16:55:59 [8157] [0] INFO: Set SMS resend frequency to 60 seconds. 2010-03-11 16:55:59 [8157] [0] INFO: SMS resend retry set to unlimited. 2010-03-11 16:55:59 [8157] [0] DEBUG: smsbox MO concatenated message handling enabled 2010-03-11 16:55:59 [8157] [0] INFO: DLR rerouting for smsc id <9159927969> disabled. 2010-03-11 16:55:59 [8157] [0] INFO: AT2[9159927969]: configuration shows modemtype <ericsson_t68> 2010-03-11 16:55:59 [8157] [0] DEBUG: AT2[9159927969]: Reading modem definitions from <bearerboxkannel.conf> 2010-03-11 16:55:59 [8157] [0] DEBUG: Loading include file `/usr/local/include/kannel/modems.conf' (on line 64 of file bearerboxkannel.conf). 2010-03-11 16:55:59 [8157] [0] DEBUG: AT2[9159927969]: Found <11> modems in config 2010-03-11 16:55:59 [8157] [0] INFO: AT2[9159927969]: read modem definition for <Ericsson T68> 2010-03-11 16:55:59 [8157] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread) 2010-03-11 16:55:59 [8157] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 8157. 2010-03-11 16:55:59 [8157] [6] INFO: AT2[9159927969]: trying to use speed <9600> from modem definition 2010-03-11 16:55:59 [8157] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2010-03-11 16:55:59 [8157] [6] INFO: AT2[9159927969]: opening device 2010-03-11 16:55:59 [8157] [0] INFO: ---------------------------------------- 2010-03-11 16:55:59 [8157] [0] INFO: Kannel bearerbox II version 1.4.3 starting 2010-03-11 16:55:59 [8157] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 8157. 2010-03-11 16:55:59 [8157] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 8157. 2010-03-11 16:55:59 [8157] [0] INFO: MAIN: Start-up done, entering mainloop 2010-03-11 16:55:59 [8157] [0] DEBUG: AT2[9159927969]: start called 2010-03-11 16:55:59 [8157] [6] DEBUG: AT2[9159927969]: device opened. Telnet mode = 0 2010-03-11 16:55:59 [8157] [6] DEBUG: AT2[9159927969]: device opened 2010-03-11 16:55:59 [8157] [6] INFO: AT2[9159927969]: speed set to 9600 2010-03-11 16:55:59 [8157] [6] DEBUG: AT2[9159927969]: --> ^M 2010-03-11 16:56:01 [8157] [6] DEBUG: AT2[9159927969]: --> AT^M 2010-03-11 16:56:01 [8157] [6] DEBUG: AT2[9159927969]: <-- AT 2010-03-11 16:56:01 [8157] [6] DEBUG: AT2[9159927969]: <-- OK 2010-03-11 16:56:01 [8157] [6] INFO: AT2[9159927969]: Closing device 2010-03-11 16:56:01 [8157] [6] INFO: AT2[9159927969]: speed is 9600 2010-03-11 16:56:01 [8157] [6] INFO: AT2[9159927969]: opening device 2010-03-11 16:56:01 [8157] [6] DEBUG: AT2[9159927969]: device opened. Telnet mode = 0 2010-03-11 16:56:01 [8157] [6] DEBUG: AT2[9159927969]: device opened 2010-03-11 16:56:01 [8157] [6] INFO: AT2[9159927969]: Logging in 2010-03-11 16:56:01 [8157] [6] INFO: AT2[9159927969]: init device 2010-03-11 16:56:01 [8157] [6] INFO: AT2[9159927969]: speed set to 9600 2010-03-11 16:56:01 [8157] [6] DEBUG: AT2[9159927969]: --> ATZ^M 2010-03-11 16:56:01 [8157] [6] DEBUG: AT2[9159927969]: <-- ATZ 2010-03-11 16:56:01 [8157] [6] DEBUG: AT2[9159927969]: <-- OK 2010-03-11 16:56:01 [8157] [6] DEBUG: AT2[9159927969]: --> AT^M 2010-03-11 16:56:01 [8157] [6] DEBUG: AT2[9159927969]: <-- AT 2010-03-11 16:56:01 [8157] [6] DEBUG: AT2[9159927969]: <-- OK 2010-03-11 16:56:01 [8157] [6] DEBUG: AT2[9159927969]: --> AT&F^M 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: <-- AT&F 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: <-- OK 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: --> ATE0^M 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: <-- ATE0 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: <-- OK 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: --> AT+IFC=2,2^M 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: <-- OK 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: --> AT+CPIN?^M 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: <-- +CPIN: READY 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: <-- OK 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: --> AT+CMGF=0^M 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: <-- OK 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: --> AT+CSMS=?^M 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: <-- +CSMS: (0) 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: <-- OK 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: --> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0^M 2010-03-11 16:56:02 [8157] [6] DEBUG: AT2[9159927969]: <-- OK 2010-03-11 16:56:02 [8157] [6] INFO: AT2[9159927969]: AT SMSC successfully opened. 2010-03-11 17:00:26 [8157] [0] WARNING: Killing signal or HTTP admin command received, shutting down... 2010-03-11 17:00:26 [8157] [0] DEBUG: Shutting down Kannel... 2010-03-11 17:00:26 [8157] [0] DEBUG: shutting down smsc 2010-03-11 17:00:26 [8157] [0] DEBUG: AT2[9159927969]: Shutting down SMSCConn, slow 2010-03-11 17:00:26 [8157] [0] DEBUG: shutting down udp 2010-03-11 17:00:28 [8157] [6] INFO: AT2[9159927969]: Closing device 2010-03-11 17:00:28 [8157] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) terminates. 2010-03-11 17:00:28 [8157] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) terminates. 2010-03-11 17:00:28 [8157] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) terminates. 2010-03-11 17:00:28 [8157] [0] INFO: All flow threads have died, killing core 2010-03-11 17:00:28 [8157] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate 2010-03-11 17:00:28 [8157] [3] DEBUG: HTTP: No clients with requests, quitting. 2010-03-11 17:00:28 [8157] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates. 2010-03-11 17:00:28 [8157] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) terminates. 2010-03-11 17:00:28 [8157] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates. 2010-03-11 17:00:28 [8157] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates. 2010-03-11 17:00:28 [8157] [0] DEBUG: final clean-up for SMSCConn 2010-03-11 17:00:28 [8157] [0] DEBUG: smsbox MO concatenated message handling cleaned up 2010-03-11 17:00:28 [8157] [0] INFO: Total WDP messages: received 0, sent 0 2010-03-11 17:00:28 [8157] [0] INFO: Total SMS messages: received 0, sent 0 2010-03-11 17:00:28 [8157] [0] DEBUG: Immutable octet strings: 256.
