<div dir="ltr">Hi,<br><br>We are using the dispatcher module with weight-based distribution.<br>We have 2 proxies and 4 freeswitches where the calls from the 2 proxies will be distributed to 4 freeswitches with the dispatcher module.<div><br></div><div>The dispatcher module parameters are as follows:</div><div>#--- Dispatcher params ----<br>modparam("dispatcher", "db_url", DBURL_LOCAL)<br>modparam("dispatcher", "flags", 2)<br>modparam("dispatcher", "xavp_dst", "ds_dst")<br>modparam("dispatcher", "ds_probing_mode", 1)<br>modparam("dispatcher", "ds_ping_interval", 30)<br>modparam("dispatcher", "ds_ping_from", "sip:proxy@VAR_LOCAL_IP")<br><br>The weight based distributions are given in database as follows:</div><div>rweight=50;weight=50;cc=1;<br></div><div><br></div><div>Let me know the details which you need from me.<br><br>Thanks and regards,</div><div>Satyaprakash.<br><br><br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 11, 2022 at 1:14 AM Henning Westerholt <<a href="mailto:hw@gilawa.com" target="_blank">hw@gilawa.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>





<div lang="DE">
<div>
<p class="MsoNormal"><span>Hello,<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">it could be because of the input for the distribution hash function.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Can you give a bit more details how you actually use the module, like the function with parameter etc..<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Cheers,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Henning<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">-- <u></u>
<u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Henning Westerholt –
</span><span><a href="https://skalatan.de/blog/" target="_blank"><span lang="EN-GB" style="color:rgb(5,99,193)">https://skalatan.de/blog/</span></a></span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Kamailio services –
</span><span><a href="https://gilawa.com/" target="_blank"><span lang="EN-GB" style="color:rgb(5,99,193)">https://gilawa.com</span></a></span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal" style="margin-left:35.4pt"><b>From:</b> sr-users <<a href="mailto:sr-users-bounces@lists.kamailio.org" target="_blank">sr-users-bounces@lists.kamailio.org</a>>
<b>On Behalf Of </b>satyaprakash ch<br>
<b>Sent:</b> Thursday, November 10, 2022 12:48 AM<br>
<b>To:</b> <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<b>Subject:</b> [SR-Users] Uneven-distribution of calls<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Hi,<br>
<br>
what would be the reason for the <b>Un-even</b> distribution of calls from kamailio proxy to freeswitches. The dispatcher lists are having the same weight.<br>
<br>
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.<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">The dispatcher weight for the freeswitches are:  rweight=50;weight=50;cc=1;<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Thanks and regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Satya<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>

</div></blockquote></div>