<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Alain,<br>
<br>
What are the resources you require via the lb_start() - the second
parameter ?<br>
<br>
Best regards,<br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2018
<a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
<div class="moz-cite-prefix">On 10/23/2018 06:28 PM, Alain Bieuzent
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:00DA1873-E604-49E1-9A97-6AB21619DD90@free.fr">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;}
span.shorttext
{mso-style-name:short_text;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Hi
all,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">I’m
trying to migrate from 2.1.5 to 2.4.2, i modify my script to
use the new lb_start() function, but now i received a lot of
CRITICAL and WARNING message in my logs.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Oct
23 14:29:13 ded-lb-out-slave opensips[3592]:
CRITICAL:load_balancer:get_dst_load: bug - cannot find
request resource in dst</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Oct
23 14:29:13 ded-lb-out-slave opensips[3592]:
WARNING:load_balancer:lb_route: initial call of LB -
skipping destination 168 <a class="moz-txt-link-rfc2396E" href="sip:31.169.63.1:5060"><sip:31.169.63.1:5060></a> -
unable to calculate free resources</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Oct
23 14:29:13 ded-lb-out-slave opensips[3592]:
CRITICAL:load_balancer:get_dst_load: bug - cannot find
request resource in dst</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Oct
23 14:29:13 ded-lb-out-slave opensips[3592]:
WARNING:load_balancer:lb_route: initial call of LB -
skipping destination 169 <a class="moz-txt-link-rfc2396E" href="sip:31.169.63.2:5060"><sip:31.169.63.2:5060></a> -
unable to calculate free resources</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:FR"
lang="EN-US">in the past I had already tried to migrate from
2.1.5 to 2.3 with the same error message.</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:FR"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:FR"
lang="EN-US">I do not use the module to limit the number of
calls (the resources are set to 10000), I’m using it only to
load balance traffic between these 3 trunks. If a call is
dropped, I don’t use lb_next to retry to another.</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:FR"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal">id,group_id,dst_uri,resources,probe_mode,description<o:p></o:p></p>
<p class="MsoNormal">172,1,<a class="moz-txt-link-freetext" href="sip:X.Y.Z.107:5060,WTF=10000,2">sip:X.Y.Z.107:5060,WTF=10000,2</a>,"WTF
Trunk 1"<o:p></o:p></p>
<p class="MsoNormal">173,1,<a class="moz-txt-link-freetext" href="sip:X.Y.Z.108:5060,WTF=10000,2">sip:X.Y.Z.108:5060,WTF=10000,2</a>,"WTF
Trunk 2"<o:p></o:p></p>
<p class="MsoNormal">174,1,<a class="moz-txt-link-freetext" href="sip:W.Y.Z.109:5060,WTF=10000,2">sip:W.Y.Z.109:5060,WTF=10000,2</a>,"WTF
Trunk 3"<o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:FR"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:FR"
lang="EN-US">Any idea to why i received this error message
(which does not seem to have any impact on the calls)</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:FR"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:FR"
lang="EN-US">Thanks </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:FR"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:FR"
lang="EN-US">Alain</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:FR"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:FR"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:FR"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"> </span><o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>