<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello Bogdan-Andrei,<div><br></div><div><br></div><div><div>When I said that load_balance function returns null I meant that after run it $du is null.</div><div><br></div><div>These are some errors just before that load_balance function fails:</div></div><div><span style="font-size: 12pt;"><br></span></div><div>ERROR:mediaproxy:send_command: did timeout waiting for an answer</div><div><span style="font-size: 12pt;">ERROR:uri:check_username: No authorized credentials found (error in scripts)</span></div><div>ERROR:uri:check_username: Call {www,proxy}_authorize before calling check_* functions!</div><div><span style="font-size: 12pt;"><br></span></div><div><div>I don't know if these errors mean anything for you. My OpenSIPS version is 1.6.4-2</div><div><br></div><div><br></div><div>Parsing your words I think that perhaps OpenSIPS+Mediaproxy hasn't hardware resources enough . Further db_mode parameter of dialog module is 1-REALTIME, Can be it detrimental to performance too?</div><div><br></div><div>My DB is MySQL 5.1 with Engine=MyISAM. Is there any document about optimal configuration parameters for mysql ? </div></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Very much Thanks.</span></div><div><span style="font-size: 12pt;">Regards.</span></div><div><span style="font-size: 12pt;"> </span></div><div><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Thu, 6 Dec 2012 15:33:27 +0200<br>From: bogdan@opensips.org<br>To: users@lists.opensips.org<br>CC: darham@hotmail.com<br>Subject: Re: [OpenSIPS-Users] Load Balancing<br><br>
<tt>Hi Jorge,<br>
<br>
LB modules is quite stable, maybe the status was not updated. <br>
<br>
I cannot comment on the issues you had with the throughput as LB
depends on Dialog, dialog uses DB, so it really depends on how
good is your configuration.<br>
<br>
LB function cannot return NULL, but a negative return code if no
destination was selected - the logs should indicate you the nature
of the failure. It is all about reading logs :)<br>
<br>
Now, about DR - with 1.8 you can spread the load over multiple GWs
in the same rule - simply put all the GWs in a list in the rule
and when doing do_routing, use the W (weight parameter).<br>
<br>
Regards,<br>
</tt>
<pre class="ecxmoz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<br>
On 12/06/2012 02:11 PM, Jorge Ortea wrote:
<blockquote cite="mid:DUB002-W3112761F453ACA2AA69848DC450@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:12pt;font-family:Calibri;}
--></style>
<div dir="ltr">Hi all,<br>
<br>
I have a voip platform with OpenSIPS and several asterisk
behind. I'm using Load-Balancer module, but I don't seem very
reliable, sometimes when take place very much CPS, load_balance
function returns null.<br>
<br>
I noticed that Load-Balancer module has beta status, perhaps
that is why this module has not enough stability. However, I
don't know how can I reach distribute calls on platform,
Drouting module does not seem can to do it, this module flood
delivers up to the next, Am I right?<br>
<br>
What other option can offer OpenSIPS?<br>
<br>
Thanks.<br>
Regards.<span id="ecxresult_box" class="ecxshort_text" lang="en"><span class="ecxhps"><br>
</span></span> </div>
<pre><fieldset class="ecxmimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote></div></div>                                            </div></body>
</html>