<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    But once again, the LB CAN do failover - if the call fails, in
    failure route, simply do again LB to fail to another destination.<br>
    <br>
    Regards,<br>
    Bogdan<br>
    <br>
    On 03/29/2012 04:08 PM, [Digital^Dude] &reg; wrote:
    <blockquote
cite="mid:CAArAGKm29e1e8auTYfxB5ba-=fB2hKCOAhJcDa4azndz4-4CFQ@mail.gmail.com"
      type="cite"><font face="trebuchet ms,sans-serif">Yes, dispatcher
        does both, but it doesn't have the LB logic... it randomly
        forwards calls.<br>
        Is it possible to have both load_balancer and drouting modules
        working seamlessly to handle LB and failover situations?<br>
        I managed to get both working but I could only have drouting
        called in the failure_route routine... And, in failover cases,
        calls land in the failure_route only after the request timeout
        has elapsed. Giving the call connect time (in failover case) to
        be huge.<br>
      </font><br>
      <div class="gmail_quote">On Thu, Mar 29, 2012 at 12:31 PM, Nick
        Altmann <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:nick.altmann@gmail.com">nick.altmann@gmail.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          You may try dispatcher module. It can do load balancing with
          failover.<br>
          <br>
          --<br>
          Nick<br>
          <br>
          <br>
          2012/3/29 [Digital^Dude] &reg; &lt;<a moz-do-not-send="true"
            href="mailto:millennium.bug@gmail.com">millennium.bug@gmail.com</a>&gt;:<br>
          <div>
            <div class="h5">&gt; Hello,<br>
              &gt;<br>
              &gt; I have set up failover using drouting: use_next_gw.<br>
              &gt; Now I want the call load on my voice gateways to be
              distributed in a load<br>
              &gt; balanced manner. the "load_balancer.so" module and
              "drouting.so" appear to<br>
              &gt; operate independently, hence it seems I can only
              achieve either load<br>
              &gt; balancing, or failover.<br>
              &gt;<br>
              &gt; Please let me know if there is a solution to have a
              load balanced pool of<br>
              &gt; nodes with failover (using drouting). Sharing
              opensips.cfg snippets would be<br>
              &gt; helpful.<br>
              &gt;<br>
              &gt; --<br>
              &gt; Thanks.<br>
              &gt;<br>
            </div>
          </div>
          &gt; _______________________________________________<br>
          &gt; Users mailing list<br>
          &gt; <a moz-do-not-send="true"
            href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
          &gt; <a moz-do-not-send="true"
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
          &gt;<br>
          <br>
          _______________________________________________<br>
          Users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
        </blockquote>
      </div>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
    <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></pre>
  </body>
</html>