Some time ago I noticed different balancing weights with my smsc configuration. It turns out that you can set different balancing weights (at least with kannel-1.4.1) by specially constructing your configuration.
For example:

group = smsc
smsc = emi
smsc-id = same-smsc-id-for-all-groups
host = <non-existent-smsc-host1>
...

group = smsc
smsc = emi
smsc-id = same-smsc-id-for-all-groups
host = <non-existent-smsc-host2>
...

group = smsc
smsc = emi
smsc-id = same-smsc-id-for-all-groups
host = <non-existent-smsc-host3>
...

group = smsc
smsc = emi
smsc-id = same-smsc-id-for-all-groups
host = <real ip of smsc1>
...

group = smsc
smsc = emi
smsc-id = same-smsc-id-for-all-groups
host = <real ip of smsc2>
...

Above configuration will generate balancing as you expect: 80% for smsc1 and 20% for smsc2.

The explonation of this strange behavior can be found here: https://redmine.kannel.org/issues/556

Regards
Michal Sokolowski

On 03/03/2011 12:42 PM, Luca Agostini wrote:

Hello, in my bearerbox I have 2 smsc connection set. Is there a way to configure MT traffic with different balancing weights?

Now it works with 50%-50% traffic balancing between smsc. Is it possible have 80%-20%?

Regards

Pino



--
Michał Sokołowski
e-mail: m...@touk.pl
work: +48 22 576 18 15

TouK sp. z o.o. s.k.a.
02-389 Warszawa, al. Bohaterów Września 9
Sąd Rejonowy dla m.st. Warszawy, XII Wydział Gospodarczy Krajowego
Rejestru Sądowego
KRS 0000251363, NIP 113-23-83-725, REGON 015255429 kapitał zakładowy:
1.198.800,- PLN, kapitał wpłacony: 1.198.800,- PLN

Reply via email to