Hi, [1] tells how one can achieve HA with Freeswitch. However, the setup is an active-passive one and for each active needs one passive. I have 2 questions: a) Currently, is there a way to achieve an active-active setup? b) Currently, is there a way to achieve a setup like this one: a group of i.e. 5 active Freeswitches and a group of i.e. 1 passive Freeswitch. When one of the 5 breaks, the passive 1 becomes active and restores the sessions for the broken one. Regards, Stefan [1] https://freeswitch.org/confluence/display/FREESWITCH/High+Availability
Hi list, Has somebody try to encapsulate the freeswitch into Docker and use swarm to autodiscovery? How did you do the docker image? With Dockerfile or DockerCompose or manually? I am thinking of doing it this way since it will allow me to rapidly scale the solution. BR Joaquin
Hello, For active-active without a single point of failure, you may use DNS-SRV. But i don't think that you will be able to restore session without using a shared ip address ( so active/passive ) On 28/09/2016 14:28, Anonim Stefan wrote:
Hi,
[1] tells how one can achieve HA with Freeswitch. However, the setup is an active-passive one and for each active needs one passive. I have 2 questions:
a) Currently, is there a way to achieve an active-active setup?
b) Currently, is there a way to achieve a setup like this one: a group of i.e. 5 active Freeswitches and a group of i.e. 1 passive Freeswitch. When one of the 5 breaks, the passive 1 becomes active and restores the sessions for the broken one.
Regards, Stefan
[1] https://freeswitch.org/confluence/display/FREESWITCH/High+Availability
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
You can configure two or more FreeSwitch server in kazoo cluster. In this configuration all server is active-active. But calls on failed hosts is canceled and requred establish new call. ср, 28 сент. 2016 г. в 16:22, Tanguy <phenix@vfemail.net>:
Hello,
For active-active without a single point of failure, you may use DNS-SRV. But i don't think that you will be able to restore session without using a shared ip address ( so active/passive )
On 28/09/2016 14:28, Anonim Stefan wrote:
Hi,
[1] tells how one can achieve HA with Freeswitch. However, the setup is an active-passive one and for each active needs one passive. I have 2 questions:
a) Currently, is there a way to achieve an active-active setup?
b) Currently, is there a way to achieve a setup like this one: a group of i.e. 5 active Freeswitches and a group of i.e. 1 passive Freeswitch. When one of the 5 breaks, the passive 1 becomes active and restores the sessions for the broken one.
Regards, Stefan
[1] https://freeswitch.org/confluence/display/FREESWITCH/High+Availability
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Wed, Sep 28, 2016 at 4:26 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
You can configure two or more FreeSwitch server in kazoo cluster. In this configuration all server is active-active. But calls on failed hosts is canceled and requred establish new call.
So all the ongoing calls on the failed host will drop and the end users need to re-invite call, right?
I find the answer to this question changes depending on what you're looking to do.. eg.. Is FS acting as a b2b? voicemail server? presence server? Perhaps you could describe a few scenarios. Ben On Wed, Sep 28, 2016 at 1:28 PM, Anonim Stefan <fanx07@gmail.com> wrote:
Hi,
[1] tells how one can achieve HA with Freeswitch. However, the setup is an active-passive one and for each active needs one passive. I have 2 questions:
a) Currently, is there a way to achieve an active-active setup?
b) Currently, is there a way to achieve a setup like this one: a group of i.e. 5 active Freeswitches and a group of i.e. 1 passive Freeswitch. When one of the 5 breaks, the passive 1 becomes active and restores the sessions for the broken one.
Regards, Stefan
[1] https://freeswitch.org/confluence/display/FREESWITCH/High+Availability
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- All the best, Ben Cropley 07539 366 905
In my setup, FS has a private SIP IP and public RTP IP. FS is mainly handling conference calls, bridge calls and streaming. It also originates calls, not only receives calls. Thanks, Stefan On Wed, Sep 28, 2016 at 4:28 PM, Benjamin Cropley < benjamin.cropley@gmail.com> wrote:
I find the answer to this question changes depending on what you're looking to do..
eg.. Is FS acting as a b2b? voicemail server? presence server?
Perhaps you could describe a few scenarios.
Ben
On Wed, Sep 28, 2016 at 1:28 PM, Anonim Stefan <fanx07@gmail.com> wrote:
Hi,
[1] tells how one can achieve HA with Freeswitch. However, the setup is an active-passive one and for each active needs one passive. I have 2 questions:
a) Currently, is there a way to achieve an active-active setup?
b) Currently, is there a way to achieve a setup like this one: a group of i.e. 5 active Freeswitches and a group of i.e. 1 passive Freeswitch. When one of the 5 breaks, the passive 1 becomes active and restores the sessions for the broken one.
Regards, Stefan
[1] https://freeswitch.org/confluence/display/FREESWITCH/High+ Availability
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- All the best, Ben Cropley 07539 366 905
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Figured I throw in simple load balancing as an option. Assuming you've "cloned' your primary FS server and all configurations are either the same or being served from a different server (ideal option). On Wed, Sep 28, 2016 at 8:28 AM, Benjamin Cropley < benjamin.cropley@gmail.com> wrote:
I find the answer to this question changes depending on what you're looking to do..
eg.. Is FS acting as a b2b? voicemail server? presence server?
Perhaps you could describe a few scenarios.
Ben
On Wed, Sep 28, 2016 at 1:28 PM, Anonim Stefan <fanx07@gmail.com> wrote:
Hi,
[1] tells how one can achieve HA with Freeswitch. However, the setup is an active-passive one and for each active needs one passive. I have 2 questions:
a) Currently, is there a way to achieve an active-active setup?
b) Currently, is there a way to achieve a setup like this one: a group of i.e. 5 active Freeswitches and a group of i.e. 1 passive Freeswitch. When one of the 5 breaks, the passive 1 becomes active and restores the sessions for the broken one.
Regards, Stefan
[1] https://freeswitch.org/confluence/display/FREESWITCH/High+ Availability
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- All the best, Ben Cropley 07539 366 905
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- <http://teleoh.com> *Sincerely,* Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT <http://zello.com>: push2don P: 469-214-5044
On Wed, Sep 28, 2016 at 5:37 PM, Don Hawkins <hawkins@hawkinsegroup.com> wrote:
Figured I throw in simple load balancing as an option. Assuming you've "cloned' your primary FS server and all configurations are either the same or being served from a different server (ideal option).
What I'm actually aiming for, when setting the FS HA is the following: When one FS machine fails, all the calls on that machine to keep going, such as the user needs not to invite again. Reading [1], this is possible with the expense of 1 backup, passive machine for each active machine. Scaling this up would be an issue, hence my a), b) questions above. [1] https://freeswitch.org/confluence/display/FREESWITCH/High+Availability Thanks, Stefan
What I understand is you are looking for Load Balancing with HA, you will need at least 4 servers for that and a smart DNS that handles the balancing (SRV are static, you might have balancing issues) -- Luis Daniel Lucio Quiroz CISSP, CISM, CISA Linux, VoIP and much more fun www.okay.com.mx Need LCR? Check out LCR for FusionPBX with FreeSWITCH Need Billing? Check out Billing for FusionPBX with FreeSWITCH On Wed, Sep 28, 2016 at 11:18 AM, Anonim Stefan <fanx07@gmail.com> wrote:
On Wed, Sep 28, 2016 at 5:37 PM, Don Hawkins <hawkins@hawkinsegroup.com> wrote:
Figured I throw in simple load balancing as an option. Assuming you've "cloned' your primary FS server and all configurations are either the same or being served from a different server (ideal option).
What I'm actually aiming for, when setting the FS HA is the following: When one FS machine fails, all the calls on that machine to keep going, such as the user needs not to invite again.
Reading [1], this is possible with the expense of 1 backup, passive machine for each active machine. Scaling this up would be an issue, hence my a), b) questions above.
[1] https://freeswitch.org/confluence/display/FREESWITCH/High+Availability
Thanks, Stefan
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Do you think that [1] can be extended to achieve setup [2]? Have someone tried [2] before, or something simmilar? At least in theory, should [2] be possible? [1] https://freeswitch.org/confluence/display/FREESWITCH/High+Availability [2] https://postimg.org/image/7575twlvt/ Regards, Stefan
participants (7)
-
Anonim Stefan
-
Benjamin Cropley
-
Don Hawkins
-
Joaquin Henriquez Alzola
-
Luis Daniel Lucio Quiroz
-
Sergey Safarov
-
Tanguy