Hi!
i have installed kannel on three machines,and have
two smsboxes, on separate machines, connected to one bearerbox.
i can successfully run bearerbox and smsboxes but when i
send an sms it is send to one of the smsboxes which then
terminates connection without sending reply back. can
anyone please help, i have been trying to solve the problem
for over two weeks now.
Below is my sample configurations!
configuration on the bearerbox excluding smsc, modem, and
services
#################### # CORE GROUP #################### group = core admin-port
= 13001 admin-password = admin smsbox-port = 13000 log-file =
logs/bearerbox.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip =
192.168.*.*;127.0.0.1;196.24.0.5 admin-deny-ip = *.*.*.* admin-allow-ip =
192.168.*.* unified-prefix = +266,09266; access-log = logs/bearerbox.access
store-file = logs/kannel.log smsbox-max-pending = 5 sms-incoming-queue-limit =
5 dlr-storage = internal ################### # SMSBOX ###################
group = smsbox sendsms-port = 13019
configuration on the two machines hosting smsboxes
###################
# SMSBOX
###################
group = smsbox
bearerbox-host = 192.168.9.50
sendsms-port = 13019
global-sender = +26658584892
log-file = logs/smsbox.log
log-level = 1
access-log = logs/smsbox.access
###################
# CORE GROUP
###################
group = core
smsbox-port = 13000
the result that i get when i send an sms
.
.
.
.
2007-12-18 13:26:55 [27081] [7] INFO: AT2[modemrelay]: AT SMSC successfully
opened.
2007-12-18 13:27:30 [27081] [6] DEBUG: Started thread 11 (gw/bb_boxc.c:function)
2007-12-18 13:27:30 [27081] [11] DEBUG: Thread 11 (gw/bb_boxc.c:function) maps
to pid 27081.
2007-12-18 13:27:30 [27081] [11] INFO: Client connected from <192.168.9.58>
2007-12-18 13:27:30 [27081] [11] DEBUG: Started thread 12
(gw/bb_boxc.c:boxc_sender)
2007-12-18 13:27:30 [27081] [12] DEBUG: Thread 12 (gw/bb_boxc.c:boxc_sender)
maps to pid 27081.
2007-12-18 13:27:34 [27081] [7] DEBUG: AT2[modemrelay]: <-- +CMTI: "SM",14
2007-12-18 13:27:34 [27081] [7] DEBUG: AT2[modemrelay]: +CMTI incoming SMS
indication: +CMTI: "SM",14
2007-12-18 13:27:35 [27081] [7] DEBUG: AT2[modemrelay]: --> AT+CMGR=14^M
2007-12-18 13:27:35 [27081] [7] DEBUG: AT2[modemrelay]: <-- AT+CMGR=14
2007-12-18 13:27:35 [27081] [7] DEBUG: AT2[modemrelay]: <-- +CMGR: 0,,26
2007-12-18 13:27:35 [27081] [7] DEBUG: AT2[modemrelay]: <--
07916256850280F8240B916256480930F70000702181315370800750F9DB5E968B01
2007-12-18 13:27:35 [27081] [7] DEBUG: AT2[modemrelay]: Numeric sender
(international) <+26658490037>
2007-12-18 13:27:35 [27081] [7] DEBUG: AT2[modemrelay]: User data length read
as (7)
2007-12-18 13:27:35 [27081] [7] DEBUG: AT2[modemrelay]: Udh decoding done len=7
udhi=0 udhlen=0 udh=''
2007-12-18 13:27:35 [27081] [12] DEBUG: send_msg: sending msg to box:
<192.168.9.58>
2007-12-18 13:27:35 [27081] [12] DEBUG: boxc_sender: sent message to
<192.168.9.58>
2007-12-18 13:27:35 [27081] [7] DEBUG: AT2[modemrelay]: <-- OK
2007-12-18 13:27:35 [27081] [7] DEBUG: AT2[modemrelay]: --> AT+CMGD=14^M
2007-12-18 13:27:35 [27081] [11] DEBUG: boxc_receiver: heartbeat with load
value 0 received
2007-12-18 13:27:35 [27081] [11] INFO: Connection closed by the box
<192.168.9.58>
2007-12-18 13:27:35 [27081] [12] DEBUG: send_msg: sending msg to box:
<192.168.9.58>
2007-12-18 13:27:35 [27081] [12] DEBUG: Thread 12 (gw/bb_boxc.c:boxc_sender)
terminates.
2007-12-18 13:27:35 [27081] [7] DEBUG: AT2[modemrelay]: <-- AT+CMGD=14
2007-12-18 13:27:35 [27081] [11] DEBUG: Thread 11 (gw/bb_boxc.c:function)
terminates.
2007-12-18 13:27:35 [27081] [5] WARNING: smsbox_list empty!
2007-12-18 13:27:35 [27081] [5] WARNING: smsbox_list empty!
2007-12-18 13:27:35 [27081] [5] WARNING: smsbox_list empty!
2007-12-18 13:27:35 [27081] [5] WARNING: smsbox_list empty!
2007-12-18 13:27:35 [27081] [7] DEBUG: AT2[modemrelay]: <-- OK
Thanks in advance!
Motekoa Mokhitli
---------------------------------
Never miss a thing. Make Yahoo your homepage.