<div dir="ltr">Hi, <div><br></div><div>Maybe you can look at Mod_distributor module. </div><div><a href="https://wiki.freeswitch.org/wiki/Mod_distributor" target="_blank">https://wiki.freeswitch.org/wiki/Mod_distributor</a><br></div><div class="gmail_extra"><br clear="all"><div><div>Thanks,<br>Samir</div></div>
<br><div class="gmail_quote">On Wed, Nov 12, 2014 at 12:07 AM, Peter Steinbach <span dir="ltr">&lt;<a href="mailto:lists@telefaks.de" target="_blank">lists@telefaks.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hello,<br>
      <br>
      sure you can do this. It&#39;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&#39;s how we do it):<br>
      <a href="https://wiki.freeswitch.org/wiki/Mod_xml_curl" target="_blank">https://wiki.freeswitch.org/wiki/Mod_xml_curl</a><br>
      or get values from memcache (via an external app or the balanced
      freeswitches&#39; dialplans) and react on it in your load balancer
      dialplan.<br>
      <a href="https://wiki.freeswitch.org/wiki/Mod_memcache" target="_blank">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 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  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"><br>
              </font> </div>
            <div><br>
              <div>
                <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></fieldset>
      <br>
      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre><span><font color="#888888">
    </font></span></blockquote><span><font color="#888888">
    <br>
    <br>
    <pre cols="72">-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
<a href="mailto:lists" target="_blank">mailto:lists</a> (att) <a href="http://telefaks.de" target="_blank">telefaks.de</a>
Internet: <a href="http://www.telefaks.de" target="_blank">www.telefaks.de</a>

</pre>
  </font></span></div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div>