Hello,<br><br>it is a matter of the used dispatching algorithm. For a call, first gateway based on algorithm is selected and the rest, starting with the next, are added in a list of avps to be used for failover purposes.<br>
<br>So if you do round robin and one gw is down, if you don&#39;t mark it as inactive, 2 calls are going to the next one after the one that is done and 1 call to the third gw, and so on.<br><br>Cheers,<br>Daniel<br><br><div class="gmail_quote">
On Mon, Mar 5, 2012 at 5:59 PM, Klaus Darilion <span dir="ltr">&lt;<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi!<br>
<br>
Imagine a dispatcher list with 3 entries. I wonder what happens if one of the targets fail. Is the traffic moved evenly to the remaining 2 nodes or is the whole traffic of the broken node moved to one of the nodes?<br>
<br>
I took a quick look at the code and it seems that the whole traffic is moved to the next node in the list (i=i+1):<br>
<br>
        while (ds_skip_dst(idx-&gt;dlist[i].<u></u>flags))<br>
        {<br>
                if(ds_use_default!=0 &amp;&amp; idx-&gt;nr!=1)<br>
                        i = (i+1)%(idx-&gt;nr-1);<br>
                else<br>
                        i = (i+1)%idx-&gt;nr;<br>
<br>
Is my assumption correct?<br>
<br>
Thanks<br>
Klaus<br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Daniel-Constantin Mierla<br>  <a href="http://www.asipto.com">http://www.asipto.com</a><br>