<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Thank you Chandra!<br>
    <br>
    Yes, in my case I need use external DB for xml_curl.<br>
    <br>
    Main different, I don't want use SIP Proxy as load balancer, I want
    balance calls with DNS.<br>
    <br>
    And I worrying about FreeSWITHes behavior.<br>
    <br>
    Imagine one steps, Bob register and make a call:<br>
     1. <font color="#009900">Bob send REGISTER to @mydomain.com</font>.
    DNS will resolve @mydomain.com to 192.168.0.1 (FS-1 server). Ok,
    registered!<br>
     2. <font color="#ff0000">Bob send INVITE to @mydomain.com</font>.
    DNS will/may resolve @mydomain.com next time to second node
    192.168.0.2 (FS-2 server).<br>
     3. <font color="#ff0000">Bob send BYE to @mydomain.com</font>. DNS
    will/may resolve @mydomain.com next time to first node again
    192.168.0.1 (FS-1 server).<br>
    <br>
    <br>
    I don't know FS behavior on 2 and 3 steps<br>
    <br>
    Step 2. FS on FS-2 server must to know Bob, which registered on FS-1
    server<br>
    Step 3. FS on FS-1 server must inform FS-2 to finish the Bob's call<br>
    <br>
    BR, Dmitry<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 04/10/2016 12:04 PM, Chandramouli P
      wrote:<br>
    </div>
    <blockquote
cite="mid:CALR0W68x8tY=OOP5Xrra2rR-3i+3qdJNi08TY-hsGixtDxjodA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Hello Dmitry,<br>
              <br>
            </div>
            I guess the below link with help you:<br>
            <br>
            <a moz-do-not-send="true"
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">&lt;<a moz-do-not-send="true"
              href="mailto:d.mordovin@dwide.com" target="_blank">d.mordovin@dwide.com</a>&gt;</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 moz-do-not-send="true" href="http://mydomain.com"
                target="_blank">mydomain.com</a>.  43200 IN A      
              192.168.0.1<br>
              <a moz-do-not-send="true" 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 moz-do-not-send="true"
              href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://www.freeswitchsolutions.com" rel="noreferrer"
              target="_blank">http://www.freeswitchsolutions.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://confluence.freeswitch.org" rel="noreferrer"
              target="_blank">http://confluence.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://www.cluecon.com"
              rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              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 moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
              rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>