<div dir="ltr"><div><div><div>Hello Dmitry,<br><br></div>I guess the below link with help you:<br><br><a href="http://saevolgo.blogspot.in/2012/07/freeswitch-with-sip-users-in-mysql-mod.html">http://saevolgo.blogspot.in/2012/07/freeswitch-with-sip-users-in-mysql-mod.html</a><br><br></div>Thanks,<br></div>Chandra.<br><br><div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 10, 2016 at 1:21 PM, Dmitry Mordovin <span dir="ltr"><<a href="mailto:d.mordovin@dwide.com" target="_blank">d.mordovin@dwide.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
I want configure two FreeSWITCH servers as cluster.<br>
<br>
As I understand, I need:<br>
- Configure one core DB (PostgreSQL) for each FreeSWITCH instances.<br>
- Add two A records in DNS to resolve domain name and load
balancing.<br>
<br>
<b>Scheme, 2 FS servers and one DB.</b><br>
<br>
FS-1 server 192.168.0.1<br>
Core-DB server 192.168.0.100<br>
FS-2 server 192.168.0.2<br>
<br>
<b>Add two A records in DNS</b><br>
<br>
<a href="http://mydomain.com" target="_blank">mydomain.com</a>. 43200 IN A 192.168.0.1<br>
<a href="http://mydomain.com" target="_blank">mydomain.com</a>. 43200 IN A 192.168.0.2<br>
<br>
<br>
I expect, FreeSWITCH instances will mirror each other in this
configuration.<br>
<br>
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.<br>
Also, in this case, SIP messages from Bob during the call session
will sending to any of nodes, depend on DNS resolve.<br>
<br>
Am I right?<br>
Is this correct way to build cluster?<br>
<br>
Please direct me in right way.<br>
<br>
BR, Dmitry<br>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>