Hi,

Rerouting is something else. Your question is obviously about routing. Please post detailed bb logs from startup, leading up to the problem. Probably smscs are inactive, i.e. have not started up.

BR,
Nikos

----- Original Message ----- From: "Pawel Bunko" <[email protected]>
To: <[email protected]>
Sent: Wednesday, December 16, 2009 9:19 AM
Subject: problem with routing sms to proper smsc


Hello,

I configured 4 modems of 2 gsm operators:

group = smsc
smsc = at
smsc-id = GS2ModemEra14
modemtype = telit
device = rawtcp
host = 172.16.82.194
port = 15014
speed = 9600
pin = 5047
keepalive = 5
max-error-count = 5
log-file = "/opt/kannel/GS2ModemEra14.log"
log-level = 0
sim-buffering = true
preferred-smsc-id="GS2ModemEra14;GS2ModemEra15"
allowed-smsc-id="GS2ModemEra14;GS2ModemEra15"

group = smsc
smsc = at
smsc-id = GS2ModemEra15
modemtype = telit
device = rawtcp
host = 172.16.82.194
port = 15015
speed = 9600
pin = 8321
keepalive = 5
max-error-count = 5
log-file = "/opt/kannel/GS2ModemEra15.log"
log-level = 0
sim-buffering = true
preferred-smsc-id="GS2ModemEra14;GS2ModemEra15"
allowed-smsc-id="GS2ModemEra14;GS2ModemEra15"

group = smsc
smsc = at
smsc-id = GS2ModemPlus07
modemtype = telit
device = rawtcp
host = 172.16.82.194
port = 15007
speed = 9600
pin = 8856
keepalive = 5
max-error-count = 5
log-file = "/opt/kannel/GS2ModemPlus07.log"
log-level = 0
sim-buffering = true
preferred-smsc-id="GS2ModemPlus07;GS2ModemPlus08"
allowed-smsc-id="GS2ModemPlus07;GS2ModemPlus08"


group = smsc
smsc = at
smsc-id = GS2ModemPlus08
modemtype = telit
device = rawtcp
host = 172.16.82.194
port = 15008
speed = 9600
pin = 7282
keepalive = 5
max-error-count = 5
log-file = "/opt/kannel/GS2ModemPlus08.log"
log-level = 0
sim-buffering = true
preferred-smsc-id="GS2ModemPlus07;GS2ModemPlus08"
allowed-smsc-id="GS2ModemPlus07;GS2ModemPlus08"

# SEND-SMS USERS

group = sendsms-user
username = GS2ModemEra14
password = GS2ModemEra14

group = sendsms-user
username = GS2ModemEra15
password = GS2ModemEra15

group = sendsms-user
username = GS2ModemPlus07
password = GS2ModemPlus07

group = sendsms-user
username = GS2ModemPlus08
password = GS2ModemPlus08

and when I try to send sms with sendsms:

url looks like this:
http://172.16.160.82:13013/cgi-bin/sendsms?username=GS2ModemEra14&password=GS2ModemEra14&from=xxxx&to=xxx&text=test&smsc-id=GS2ModemEra14&dlr-mask
=31&coding=0&validity=1440

bearbox logs looks like this:

2009-12-16 08:02:48 [11165] [12] DEBUG: boxc_receiver: sms received
2009-12-16 08:02:48 [11165] [12] WARNING: Cannot find SMSCConn for message to <xxxx>, rejected. 2009-12-16 08:02:48 [11165] [12] WARNING: Message rejected by bearerbox, no router!

According to the user's guide this sendsms request with that configuration should reroute sms to GS2ModemEra14 or GS2ModemEra15 smsc

http://172.16.160.82:13013/cgi-bin/sendsms?username=GS2ModemPlus08&password=GS2ModemPlus08&from=xxxx&to=xxx&text=test&smsc-id=GS2ModemPlus08&dlr-mask
=31&coding=0&validity=1440

this sms should be rerouted to GS2ModemPlus08 or GS2ModemPlus07 smsc

why those sms were rejected?
when I leave only preferred-smsc-id list for each modem everything working fine but I think that rerouting wouldn't work as I wish

what is wrong?

thanks for your help

Pawel



Reply via email to