<div dir="ltr"><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Hello,</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US"> </span></p>
<pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">I need a little help regarding a load balancer issue. </span></pre><pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">I have two destinations (A.X.X.X and B.X.X.X) in the load balancer group. A.X.X.X is working fine but sometimes B.X.X.X is not responding in time and a 408 response is received. In that case I am doing a lb_next() and load balancer send it to A.X.X.X but in “opensips fifo lb_list“ is showing that B.X.X.X load is 1 and I think it must be 0 because in A.X.X.X load is 2 and there is only 2 dialogs.</span></pre><pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New""><i><span lang="EN-US" style="color:black"> </span></i></pre>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Destination::
<a style="color:rgb(5,99,193);text-decoration-line:underline">sip:33@A.X.X.X:5080</a> id=96 group=1 enabled=yes
auto-reenable=on</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">
Resources::</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">
Resource:: channel max=10 <b>load</b>=2</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Destination::
<a style="color:rgb(5,99,193);text-decoration-line:underline">sip:33@B.X.X.X:5080</a> id=98 group=1 enabled=yes
auto-reenable=on</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">
Resources::</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">
Resource:: channel max=10 <b>load=</b>1</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">I’m trying
to remove that “load=1” but if I use lb_count_call to undo :</span></p>
<p class="MsoNormal" style="text-indent:35.4pt;margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">if (lb_is_destination(“B.X.X.X",
"5080", "1","1"))</span></p>
<p class="MsoNormal" style="text-indent:35.4pt;margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">{
</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt 35.4pt;text-indent:35.4pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">lb_count_call("B.X.X.X","5080","1","channel","1");</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">
}</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">This error
happens:</span></p>
<p class="MsoNormal" style="text-indent:35.4pt;margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Feb 21 13:05:18 [11033]
ERROR:load_balancer:lb_route: sequential call of LB - failed to remove from
profile [lbXchannel]->[62]</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US"> </span></p>
<pre style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">Is there any way to decrease the load of B.X.X.X or how can it not be considered in load count in a</span><span lang="EN-US"> </span><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">failure_route? I’m saving load data to statistics purpose and it doesn’t match with the number of dialogues.</span></pre><pre style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">I’m using Opensips 2.4.2</span></pre><pre style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"> </span></pre><pre style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">Thank you very much.</span></pre>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US"> </span></p></div>