Hi,
We are using the dispatcher module with weight-based distribution.
We have 2 proxies and 4 freeswitches where the calls from the 2 proxies
will be distributed to 4 freeswitches with the dispatcher module.
The dispatcher module parameters are as follows:
#--- Dispatcher params ----
modparam("dispatcher", "db_url", DBURL_LOCAL)
modparam("dispatcher", "flags", 2)
modparam("dispatcher", "xavp_dst", "ds_dst")
modparam("dispatcher", "ds_probing_mode", 1)
modparam("dispatcher", "ds_ping_interval", 30)
modparam("dispatcher", "ds_ping_from",
"sip:proxy@VAR_LOCAL_IP")
The weight based distributions are given in database as follows:
rweight=50;weight=50;cc=1;
Let me know the details which you need from me.
Thanks and regards,
Satyaprakash.
On Fri, Nov 11, 2022 at 1:14 AM Henning Westerholt <hw(a)gilawa.com> wrote:
Hello,
it could be because of the input for the distribution hash function.
Can you give a bit more details how you actually use the module, like the
function with parameter etc..
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com
*From:* sr-users <sr-users-bounces(a)lists.kamailio.org> *On Behalf Of *satyaprakash
ch
*Sent:* Thursday, November 10, 2022 12:48 AM
*To:* sr-users(a)lists.kamailio.org
*Subject:* [SR-Users] Uneven-distribution of calls
Hi,
what would be the reason for the *Un-even* distribution of calls from
kamailio proxy to freeswitches. The dispatcher lists are having the same
weight.
For example: If we are having 4 freeswitches, the calls are evenly
distributing for 3 freeswitches but there is high calls for the 4th
freeswitch.
The dispatcher weight for the freeswitches are: rweight=50;weight=50;cc=1;
Thanks and regards,
Satya