Hello,
you can find more details about that in the module documentation:
“Using this algorithm, you can also enable congestion control by setting the attribute
'cc=1', when 'cc' is enabled the 'weight' attribute will also be
used to control congestion tolerance. When facing congestion the weight of a gateway is
lowered by 1 for every ms of estimated congestion, a 'rweight' value of 50 is
recommended. See the example "configuring load balancing with congestion
detection" below.“
https://kamailio.org/docs/modules/5.6.x/modules/dispatcher.html#dispatcher.…
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com<https://gilawa.com/>
From: satyaprakash ch <chiramchetty.satyaprakash(a)gmail.com>
Sent: Monday, November 14, 2022 9:17 AM
To: Henning Westerholt <hw(a)gilawa.com>
Cc: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
Subject: Re: [SR-Users] Uneven-distribution of calls
Hi,
But we are having 2 setups in which
1st setup - we are having 3 freeswitch.
2nd setup - we are having 4 freeswitch. with the same dispatcher configuration as the
above chain mail.
However, we are getting an issue of uneven distribution of calls in only 2nd setup. and
1st setup is working fine.
Note: can you explain to me some brief on congestion control (cc=1).
Thanks and Regards,
Satyaprakash.
On Mon, Nov 14, 2022 at 1:07 PM Henning Westerholt
<hw@gilawa.com<mailto:hw@gilawa.com>> wrote:
Hello,
The 5.4.x branch has reached its end of life. You could try to update to the latest
version 5.4.9, or even better, do an update to a newer version of the 5.5.x or 5.6.x
branch.
It could be also an effect of the congestion control (cc=1). You could try to deactivate
it.
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com<https://gilawa.com/>
From: satyaprakash ch
<chiramchetty.satyaprakash@gmail.com<mailto:chiramchetty.satyaprakash@gmail.com>>
Sent: Monday, November 14, 2022 8:29 AM
To: Henning Westerholt <hw@gilawa.com<mailto:hw@gilawa.com>>
Cc: Kamailio (SER) - Users Mailing List
<sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>>
Subject: Re: [SR-Users] Uneven-distribution of calls
Hi,
We are using the version kamailio 5.4.7.
Thanks and regards,
Satyaprakash.
On Mon, Nov 14, 2022 at 12:57 PM Henning Westerholt
<hw@gilawa.com<mailto:hw@gilawa.com>> wrote:
Hello,
ok – which version of Kamailio do you use? There might be some bug fixes in later version
and it would be good to check.
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com<https://gilawa.com/>
From: satyaprakash ch
<chiramchetty.satyaprakash@gmail.com<mailto:chiramchetty.satyaprakash@gmail.com>>
Sent: Monday, November 14, 2022 7:22 AM
To: Henning Westerholt <hw@gilawa.com<mailto:hw@gilawa.com>>
Cc: Kamailio (SER) - Users Mailing List
<sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>>
Subject: Re: [SR-Users] Uneven-distribution of calls
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@gilawa.com<mailto:hw@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<https://gilawa.com/>
From: sr-users
<sr-users-bounces@lists.kamailio.org<mailto:sr-users-bounces@lists.kamailio.org>>
On Behalf Of satyaprakash ch
Sent: Thursday, November 10, 2022 12:48 AM
To: sr-users@lists.kamailio.org<mailto:sr-users@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