Hi Hillel,
I think you are misunderstanding what smsbox-route can do. It is
meant to manage several smsboxes connected to one bearerbox.
But, as I understand, the carrier wants you to stablish two
connections and load-balance traffic between them in such a way that
doubles the throughput. BUT if one connection fails, you must use the
reminding in "degraded mode" (half total throughput) right?
This can be achieved defining 2 SMSC connections (2 smsc groups)
and specifying "allowed-smsc-id" and "preferred-smsc-id" for each one.
So, all outgoing traffic (MTs) will be sent through the preferred
connection and only if this connection becomes unavailable it will be
redirected to the allowed one. Throughput of each connection should be
set to 10msgs/sec.
It is up to your script to "load balance" the outgoing traffic
between the 2 connections.
No "smsbox-route" is needed for this.
Best regards,
Rodrigo
P.S.: This should be directed to users list.
On 5/8/07, Hillel <[EMAIL PROTECTED]> wrote:
Hi,
We have a SMSC provider that wants us to load balance so the diagram will
look like:
Sending SMSs:
Kannel ---Bind to Gateway1-----> Gateway1 ----connect to SMSC-----> SMSC
---Bind to Gateway2-----> Gateway2 ----connect to SMSC----->
For Incoming SMSs and delivery receipts:
Kannel <---Bind to Kannel----- Gateway1 <----connect to Gateway1----- SMSC
<---Bind to Kannel----- Gateway2 <----connect to Gateway2 -----
>From Gateway 1 and Gateway 2 we can send SMSs at 10 SMSs/sec per Gateway.
For SMSs going out, we must send via both Gateway1 and Gateway2 to get 20
SMSs/sec.
If either of the gateways go down the other must get the full amount of the
SMSs and throttle at 10 SMS/sec.
For delivery receipts they can come back via either Gateway.
For Incoming SMSs they can come back via either Gateway.
1. For Sending SMSs is there any way to get Kannel to do the load balancing
or must one add a patch to CVS?
For incoming SMSs we would like to use the setup:
group = smsbox-route
smsbox-id = smsc_provider
smsc-id = "Gateway1;Gateway2"
2. Will this work for delivery receipts so that they can come back with
either Gateway1 or Gateway2.? (I assume this will work for incoming SMSs as
this is described
via the Kannel CVS website.)
Thanks, any ideas on how to setup load-balancing (or if it can be done)
appreciated