Hi,

Bearerbox is stateful and remembers MO's originating SMSc, but it makes nosense to use the same for the reply. If no preferences are given, it will load balance between different SMScs to optimize performance. To route all MO replies from an sms-service to a specific SMSc, use forced-smsc. To select a specific inbound smsbox for MO's use smsbox-route.

You cannot control MO's incoming SMSc through kannel. SMS can come in from any connection. You should talk to your SMSc if you want to not route incoming MOs to you. What they will tell you is probably that you need to fix your HLR and talk to the mobile operators. Too much trouble.

You can also specify forced-smsc to sendsms-user group, or even specify it (&smsc=d) in your push URL for MTs.

To further make sure that no load-balancing will be done, remember to use denied-smsc-id in your smsc defifinitions.

BR,
Nikos
----- Original Message ----- From: "Ravi Chemudugunta" <[email protected]>
To: <[email protected]>
Sent: Saturday, January 02, 2010 6:54 AM
Subject: Message service routing


hi,

I have the following scenario - I seem to be having some trouble,

I have two sms centers on my bearerbox b:

d
e

and a single smsbox s;

I would like to use smsc d for incoming and e for outgoing (both push
and service replies).

For the case of services, it seems to pick outgoing path arbitrarily,
for e.g. say that I send a message to the smsc d, it seems to send a
reply through either d or e.

Does this mean that bearerbox is stateless, i.e. it sends the message
to a listening smsbox, the smsbox services the message and sends it
back to the bearerbox (the bearerbox then having no knowledge of which
incoming message the service is answering, sends it to a randomly
chosen smsc ?)

I've tried using 'inbox routing' using preferred-smsc-id, is this correct?

--snip--

# fake sms center configuration

group = smsc
smsc-id = fake1
smsc = fake
log-file = "/var/log/kannel/fake1_smsc.log"
preferred-smsc-id = fake2
denied-smsc-id = fake1
port = 12998

group = smsc
smsc-id = fake2
smsc = fake
log-file = "/var/log/kannel/fake2_smsc.log"
port = 12999

group = sms-service
keyword-regex = ".*"
text = "test"
catch-all = true

# send sms
group = sendsms-user
username = test
password = test
max-messages = 1

--snip--

Thanks,

-ravi

--
:wq



Reply via email to