[Freeswitch-users] Freeswitch as load balancer in media proxy mode

Samir Doshi smrdoshi at gmail.com
Tue Nov 11 22:08:21 MSK 2014


Hi,

Maybe you can look at Mod_distributor module.
https://wiki.freeswitch.org/wiki/Mod_distributor

Thanks,
Samir

On Wed, Nov 12, 2014 at 12:07 AM, Peter Steinbach <lists at telefaks.de> wrote:

>  Hello,
>
> 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).
> 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)?
>
> You may also consider to generate the dialplan via xml-curl (that's how we
> do it):
> https://wiki.freeswitch.org/wiki/Mod_xml_curl
> or get values from memcache (via an external app or the balanced
> freeswitches' dialplans) and react on it in your load balancer dialplan.
> https://wiki.freeswitch.org/wiki/Mod_memcache
>
> If you have an internal DNS server, you can also set it up to balance the
> call by round robin.
>
> Best regards
> Peter
>
> On 11/11/14 18:59, babak wrote:
>
>
>  sorry I meant freeswitch  in bypass_media as loadbalancer...
> is there any comment?
>   ------------------------------
>
>
>   Hi
> I want to use a freeswitch in media proxy mode as load balancer in front
> of two
>  other freeswitch servers.
>  Is there any sample configuration guide?
>
>  Regards
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> --
> With kind regards
> Peter Steinbach
>
> Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de
> Internet: www.telefaks.de
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141112/84a973ec/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list