<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      sure you can do this. It's best to configure an inbound gateway on
      one profile (e.g. external) and some outbound gateways to the
      internal balanced freeswitch servers on onother profile (e.g.
      internal). <br>
      The problem is still: How do you balance? By round-robin or by
      calculating the number of calls on the target server and then
      forward the call to the server with the least load. Or by time
      (odd/even seconds)?<br>
      <br>
      You may also consider to generate the dialplan via xml-curl
      (that's how we do it):<br>
      <a class="moz-txt-link-freetext" href="https://wiki.freeswitch.org/wiki/Mod_xml_curl">https://wiki.freeswitch.org/wiki/Mod_xml_curl</a><br>
      or get values from memcache (via an external app or the balanced
      freeswitches' dialplans) and react on it in your load balancer
      dialplan.<br>
      <a class="moz-txt-link-freetext" href="https://wiki.freeswitch.org/wiki/Mod_memcache">https://wiki.freeswitch.org/wiki/Mod_memcache</a><br>
      <br>
      If you have an internal DNS server, you can also set it up to
      balance the call by round robin.<br>
      <br>
      Best regards<br>
      Peter<br>
      <br>
      On 11/11/14 18:59, babak wrote:<br>
    </div>
    <blockquote
      cite="mid:1415728747.98527.YahooMailNeo@web141505.mail.bf1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:16px">
        <div><span><br>
          </span></div>
        <div>sorry I meant freeswitch&nbsp; in bypass_media as
          loadbalancer...</div>
        <div>is there any comment?<br>
        </div>
        <div style="font-family: HelveticaNeue, Helvetica Neue,
          Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;">
          <div style="font-family: HelveticaNeue, Helvetica Neue,
            Helvetica, Arial, Lucida Grande, sans-serif; font-size:
            16px;">
            <div dir="ltr">
              <hr size="1"><font face="Arial" size="2"><br>
              </font> </div>
            <div class="y_msg_container"><br>
              <div id="yiv9544463132">
                <div>
                  <div
                    style="color:#000;background-color:#fff;font-family:HelveticaNeue,
                    Helvetica Neue, Helvetica, Arial, Lucida Grande,
                    sans-serif;font-size:16px;">
                    <div>Hi</div>
                    <div>I want to use a freeswitch in media proxy mode
                      as load balancer in front of two <br>
                    </div>
                    <div style="color:rgb(0, 0,
                      0);font-size:16px;font-family:HelveticaNeue,
                      Helvetica Neue, Helvetica, Arial, Lucida Grande,
                      sans-serif;background-color:transparent;font-style:normal;">other
                      freeswitch servers. <br>
                    </div>
                    <div style="color:rgb(0, 0,
                      0);font-size:16px;font-family:HelveticaNeue,
                      Helvetica Neue, Helvetica, Arial, Lucida Grande,
                      sans-serif;background-color:transparent;font-style:normal;">Is
                      there any sample configuration guide?</div>
                    <div style="color:rgb(0, 0,
                      0);font-size:16px;font-family:HelveticaNeue,
                      Helvetica Neue, Helvetica, Arial, Lucida Grande,
                      sans-serif;background-color:transparent;font-style:normal;"><br>
                    </div>
                    <div style="color:rgb(0, 0,
                      0);font-size:16px;font-family:HelveticaNeue,
                      Helvetica Neue, Helvetica, Arial, Lucida Grande,
                      sans-serif;background-color:transparent;font-style:normal;">Regards</div>
                  </div>
                </div>
              </div>
              <br>
              <br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
<a class="moz-txt-link-freetext" href="mailto:lists">mailto:lists</a> (att) telefaks.de
Internet: <a class="moz-txt-link-abbreviated" href="http://www.telefaks.de">www.telefaks.de</a>

</pre>
  </body>
</html>