<!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">
    <tt>Hi Duane,<br>
      <br>
      More or less is the same (forcing a call as load for a destination
      without actually doing LB) - in your case, what is different is
      the way you identify the destination - But if I'm not wrong, using
      the IP of the destination should work in both cases (when call
      comes form GW with IP X and when you force routing to GW with IP
      X).<br>
      <br>
      Regards,<br>
    </tt>
    <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>
    <br>
    On 11/05/2012 05:27 PM, Duane Larson wrote:
    <blockquote
cite="mid:CAFcM1EobdTBBjHzzBRTU0ALEsybu0L9SNegyEhCb5haDmrp7NQ@mail.gmail.com"
      type="cite">Ali,
      <div><br>
      </div>
      <div>Just to add to the scenarios when you don't use load balancer
        but want to keep up with load.....</div>
      <div><br>
      </div>
      <div>If you are load balancing to Asterisk servers but you don't
        use the load_balance() function because you want an "attended
        transfer" or someone is call for a "Parked Call". &nbsp;You want to
        make sure the call goes to the Asterisk server that has the
        current call for an Attended Transfer or the call goes to the
        Asterisk server that has the parked call.</div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Mon, Nov 5, 2012 at 8:17 AM, Ali Pey
          <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:alipey@gmail.com" target="_blank">alipey@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;">
            Hello All,
            <div><br>
            </div>
            <div>Not sure if this is the right place to suggest
              changes/new features. I have a request for a new function
              for the load_balancer module.</div>
            <div><br>
            </div>
            <div>Load_balancer knows how many resources are available
              for each gateway and keeps track of active calls for each
              resource to distribute the calls accordingly. This works
              well if the gateways's calls always go through the
              load_balancer module. However, this is not always the
              case.</div>
            <div><br>
            </div>
            <div>Let's say I have a number of gateways for termination
              and I use the load_balancer module to distribute the
              calls. If there happen to be some outgoing calls from
              these gateways, load balancer would not know about them
              and the number of active calls and available resources
              would be inaccurate.</div>
            <div><br>
              <div class="gmail_extra">This can be fixed if there was a
                function to add a call to a gateway's resource (maybe
                based on the IP address) without calling the
                load_balance() function.</div>
              <div class="gmail_extra">
                <br>
              </div>
              <div class="gmail_extra">This functionality can also be
                used when you are using resources of one of your
                gateways but outside the load balancer module such as
                routing a test number to a particular gateway and so on.</div>
              <div class="gmail_extra"><br>
              </div>
              <div class="gmail_extra">Regards,</div>
              <div class="gmail_extra">Ali Pey</div>
              <div class="gmail_extra"><br>
                <br>
              </div>
            </div>
            <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>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        --<br>
        *--*--*--*--*--*<br>
        Duane<br>
        *--*--*--*--*--*<br>
        --<br>
      </div>
      <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>
  </body>
</html>