Good Morning
Sir,

        I Configure new Kannel with a Single Data Card (Micromax) modem.
But it is not connecting here are configuration files please give some way
to resolve it, i am a new one in kannel.

*Kannel.conf*

group = core
admin-port = 16000
admin-password = Kannel@123
status-password = status
smsbox-port = 13007
dlr-storage = mysql
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;192.168.0.*"
store-type = file
store-location = "/backup/kannel"
sms-incoming-queue-limit = -1
log-level = 0
access-log = /var/log/kannel/bearerbox.access
log-file = /var/log/kannel/bearerbox.log

group = smsbox
smsbox-id = sqlbox
bearerbox-host = localhost
bearerbox-port = 13007
sendsms-port = 13131
global-sender = +919999999999
log-file = "/var/log/kannel/smsbox.log"
access-log = /var/log/kannel/smsbox.access
log-level = 0

#include = "micromax.conf"

group = smsc
smsc = at
smsc-id = "AT"
modemtype = auto
device=/dev/tty0
my-number = +919999999999
log-level = 0


group = sendsms-user
username = "sur"
password = "oqsj88o7"
max-messages = 15

group = mysql-connection
id = sqlbox-db
host = localhost
username = root
password = redhat
database = sms_dlr
max-connections = 15

group = dlr-db
id = sqlbox-db
table = kannel_dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

group = modems
id = MMX144F
name = "MICROMAX"
detect-string = "ATI"
init-string = "AT+CNMI=1,2,0,0,1;+CMEE=1"

*sqlbox.conf*

group = mysql-connection
id = sqlbox
host = localhost
username = root
password = redhat
database = SQLBOX
max-connections = 15

group = sqlbox
id = sqlbox
smsbox-id = sqlbox
global-sender = "+919999999999"
bearerbox-host = localhost
bearerbox-port = 13007
smsbox-port = 13132
sql-log-table = sent_sms
sql-insert-table = send_sms
log-file = "/var/log/kannel/sqlbox.log"
log-level = 0

*bearerbox.log*

2012-10-16 11:25:40 [7897] [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `0'.
2012-10-16 11:25:40 [7897] [0] INFO: Started access logfile
`/var/log/kannel/bearerbox.access'.
2012-10-16 11:25:40 [7897] [0] INFO: HTTP: Opening server at port 16000.
2012-10-16 11:25:40 [7897] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2012-10-16 11:25:40 [7897] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 7897.
2012-10-16 11:25:40 [7897] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2012-10-16 11:25:40 [7897] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2012-10-16 11:25:40 [7897] [0] DEBUG: starting smsbox connection module
2012-10-16 11:25:40 [7897] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2012-10-16 11:25:40 [7897] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)
2012-10-16 11:25:40 [7897] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2012-10-16 11:25:40 [7897] [0] INFO: Set SMS resend frequency to 60 seconds.
2012-10-16 11:25:40 [7897] [0] INFO: SMS resend retry set to unlimited.
2012-10-16 11:25:40 [7897] [0] DEBUG: MO concatenated message handling
enabled
2012-10-16 11:25:40 [7897] [0] INFO: DLR rerouting for smsc id <AT>
disabled.
2012-10-16 11:25:40 [7897] [0] INFO: AT2[AT]: configuration doesn't show
modemtype. will autodetect
2012-10-16 11:25:40 [7897] [0] DEBUG: Started thread 6
(gw/smsc/smsc_at.c:at2_device_thread)
2012-10-16 11:25:40 [7897] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2012-10-16 11:25:40 [7897] [0] INFO:
----------------------------------------
2012-10-16 11:25:40 [7897] [0] INFO: Kannel bearerbox II version 1.5.0
starting
2012-10-16 11:25:40 [7897] [7] DEBUG: Thread 7
(gw/bb_smscconn.c:sms_router) maps to pid 7897.
2012-10-16 11:25:40 [7897] [6] DEBUG: Thread 6
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 7897.
2012-10-16 11:25:40 [7897] [6] DEBUG: AT2[AT]: detecting modem speed.
2012-10-16 11:25:40 [7897] [6] INFO: AT2[AT]: opening device
2012-10-16 11:25:40 [7897] [6] DEBUG: AT2[AT]: device opened. Telnet mode =
0
2012-10-16 11:25:40 [7897] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 7897.
2012-10-16 11:25:40 [7897] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 7897.
2012-10-16 11:25:40 [7897] [2] DEBUG: HTTP: Including port 16000, fd 23 for
polling in server thread
2012-10-16 11:25:40 [7897] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
maps to pid 7897.
2012-10-16 11:25:40 [7897] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
maps to pid 7897.
2012-10-16 11:25:40 [7897] [0] INFO: Loading store file `/backup/kannel'
2012-10-16 11:25:40 [7897] [0] INFO: Store-file size 1732, starting to
unpack
2012-10-16 11:25:40 [7897] [0] INFO: Retrieved 8 messages, non-acknowledged
messages: 8
*2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: handling message
(0x104d660 vs 0x104d660)
2012-10-16 11:25:40 [7897] [7] DEBUG: Routing failed, re-queued.
2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: handling message
(0x104d440 vs 0x104d660)
2012-10-16 11:25:40 [7897] [7] DEBUG: Routing failed, re-queued.
2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: handling message
(0x104e1c0 vs 0x104d660)
2012-10-16 11:25:40 [7897] [7] DEBUG: Routing failed, re-queued.
2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: handling message
(0x104d660 vs 0x104d660)
2012-10-16 11:25:40 [7897] [7] DEBUG: Routing failed, re-queued.*
2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2012-10-16 11:25:40 [7897] [0] DEBUG: Started thread 8
(gw/bb_store_file.c:store_dumper)
2012-10-16 11:25:40 [7897] [8] DEBUG: Thread 8
(gw/bb_store_file.c:store_dumper) maps to pid 7897.
2012-10-16 11:25:40 [7897] [0] INFO: MAIN: Start-up done, entering mainloop
2012-10-16 11:25:40 [7897] [0] DEBUG: AT2[AT]: start called
2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: gwlist_len = 8
2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: handling message
(0x104e830 vs 0x104e830)
2012-10-16 11:25:40 [7897] [7] DEBUG: Routing failed, re-queued.
2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: handling message
(0x104d440 vs 0x104e830)
2012-10-16 11:25:40 [7897] [7] DEBUG: Routing failed, re-queued.
2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: handling message
(0x104e6b0 vs 0x104e830)
2012-10-16 11:25:40 [7897] [7] DEBUG: Routing failed, re-queued.
2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: handling message
(0x104eaf0 vs 0x104e830)
2012-10-16 11:25:40 [7897] [7] DEBUG: Routing failed, re-queued.
2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: handling message
(0x104e1c0 vs 0x104e830)
2012-10-16 11:25:40 [7897] [7] DEBUG: Routing failed, re-queued.
2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: handling message
(0x104f000 vs 0x104e830)
2012-10-16 11:25:40 [7897] [7] DEBUG: Routing failed, re-queued.
2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: handling message
(0x104d660 vs 0x104e830)
2012-10-16 11:25:40 [7897] [7] DEBUG: Routing failed, re-queued.
2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: handling message
(0x104f510 vs 0x104e830)
2012-10-16 11:25:40 [7897] [7] DEBUG: Routing failed, re-queued.
2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: handling message
(0x104e830 vs 0x104e830)
2012-10-16 11:25:40 [7897] [7] DEBUG: Routing failed, re-queued.
2012-10-16 11:25:40 [7897] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2012-10-16 11:25:41 [7897] [6] DEBUG: AT2[AT]: device opened
2012-10-16 11:25:41 [7897] [6] INFO: AT2[AT]: speed set to 115200
2012-10-16 11:25:41 [7897] [6] DEBUG: AT2[AT]: --> ^M
2012-10-16 11:25:43 [7897] [6] DEBUG: AT2[AT]: --> AT^M
2012-10-16 11:25:49 [7897] [6] DEBUG: AT2[AT]: --> AT^M
2012-10-16 11:25:55 [7897] [6] DEBUG: AT2[AT]: --> AT^M

-- 
*Sudhir Kumar Meena
Linux System Engineer
+91-8373902596
AcubePro Pvt. Ltd.
*

Reply via email to