Hello Dmitry, I guess the below link with help you: http://saevolgo.blogspot.in/2012/07/freeswitch-with-sip-users-in-mysql-mod.h... Thanks, Chandra. On Sun, Apr 10, 2016 at 1:21 PM, Dmitry Mordovin <d.mordovin@dwide.com> wrote:
Hi,
I want configure two FreeSWITCH servers as cluster.
As I understand, I need: - Configure one core DB (PostgreSQL) for each FreeSWITCH instances. - Add two A records in DNS to resolve domain name and load balancing.
*Scheme, 2 FS servers and one DB.*
FS-1 server 192.168.0.1 Core-DB server 192.168.0.100 FS-2 server 192.168.0.2
*Add two A records in DNS*
mydomain.com. 43200 IN A 192.168.0.1 mydomain.com. 43200 IN A 192.168.0.2
I expect, FreeSWITCH instances will mirror each other in this configuration.
So, if Bob register on 192.168.0.1 server, and Alice register on 192.168.0.2, they can call each other like local users. Also, in this case, SIP messages from Bob during the call session will sending to any of nodes, depend on DNS resolve.
Am I right? Is this correct way to build cluster?
Please direct me in right way.
BR, Dmitry
_________________________________________________________________________ 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