Hi All
I have 5 session of a single SMSC on 5 different ports. out of from these 5
session only 2 at a time are online and remaing three are in re-connecting
state. But the problem is that these 5 session keeps on change their state
and all of them have recieved and sent sms. I think the problem could be
keepalive. i have set this value to 30. below is my configuration.
#=============== OP1==================
group = "smsc"
smsc = "smpp"
host = "1.2.3.4"
port= "11111"
#receive-port = "17601"
smsc-username = "123"
smsc-password = "pwd"
system-type = "123"
address-range = ""
smsc-id = "OP1"
allowed-smsc-id = "OP1"
log-file = "/var/log/gw/Op1smsbox.log"
log-level=1
transceiver-mode = 1
throughput = 5
reconnect-delay = "30"
keepalive = "30"
source-addr-ton = 5
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
below is the status of kannel
SMSC
connections:
OP1 SMPP:1.1.1.1:11111/11111:123:123 (re-connecting, rcvd 810,
sent 1433, failed 0, queued 0
msgs)
OP1 SMPP:1.1.1.1:11112/11112:123:123 (re-connecting, rcvd 4066,
sent 4150, failed 0, queued 0
msgs)
OP1 SMPP:1.1.1.1:11113/11113:123:123 (online 43419s, rcvd 838,
sent 1094, failed 0, queued 0
msgs)
OP1 SMPP:1.1.1.1:11114/11114:123:123 (re-connecting, rcvd 1878,
sent 1755, failed 0, queued 0
msgs)
OP1 SMPP:1.1.1.1:11115/11115:123:123 (online 44543s, rcvd 2008,
sent 1159, failed 0, queued 0 msgs)