Well,<div><br></div><div>This is embarrassing. Please disregard my last few questions. I have identified the logic error in one of my routing blocks. Sorry to have troubled everyone on the email list.<div><br></div><div>
Thanks,</div><div>Seth<br><br><div class="gmail_quote">On Thu, Aug 2, 2012 at 6:20 PM, Seth Schultz <span dir="ltr"><<a href="mailto:sschultz@scholarchip.com" target="_blank">sschultz@scholarchip.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hello,</div><div><br></div>I think I found the issue. I was using a gateway DNS entry (sip:<a href="http://some.host.net" target="_blank">some.host.net</a>), which resolves to two different IP addresses. When I add the SBC addresses individually into my lb group, everything works as expected.<div>
<br></div><div>Is there a known bug with the load balancer that prevents it from doing failover properly with a DNS entry as opposed to an IP address?</div><div><br></div><div>Thanks,</div><div>Seth<br clear="all">
<br><div class="gmail_quote">On Thu, Aug 2, 2012 at 5:13 PM, Seth Schultz <span dir="ltr"><<a href="mailto:sschultz@scholarchip.com" target="_blank">sschultz@scholarchip.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<div><br></div><div>Do I have to call lb_disable() to get this functionality working? In my testing the load_balance module is attempting a gateway multiple times if I call it again from the failure_route without lb_disable().</div>
<div><br></div><div>Does lb_disable() disable the gateway for all calls, or does it only disable the last use gateway for the current call?</div><div><br></div><div>Thanks,</div><div>Seth<br>
<br><br><div class="gmail_quote">On Thu, Jul 12, 2012 at 10:51 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div bgcolor="#ffffff" text="#000000">
<tt>Hi Seth,<br>
<br>
On 07/11/2012 07:21 PM, Seth Schultz wrote:</tt>
<blockquote type="cite"><tt>Hello,</tt>
<div><tt><br>
</tt></div>
<div><tt>I am attempting to do load balancing with failover
support. From what I have read, this can be achieved by
calling the load_balance function in the failure route, but I
am unsure how to avoid the following two scenarios.</tt></div>
<div>
<ol>
<li><tt>Make sure the new destination isn't one we have
already tried</tt></li>
</ol>
</div>
</blockquote>
<tt>the load_balancer() function will take care and not use again
the already used destination (for a call)<br>
<br>
</tt>
<blockquote type="cite">
<div>
<ol>
<li><tt>Make sure we haven't exhausted all of our destination
options</tt></li>
</ol>
</div>
</blockquote>
<tt>the load_balancer() function will return false if there is no
other available destination.<br>
<br>
Regards,<br>
Bogdan</tt><br>
</div>
</blockquote></div><br></div>
</blockquote></div><br></div>
</blockquote></div><br></div></div>