<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Sergey,<br>
    <br>
    Thank you. Your suggested solution worked perfectly. I really
    appreciate your taking the time to help me!<br>
    <br>
    Robert<br>
    <br>
    <div class="moz-cite-prefix">On 02/25/2015 12:07 AM, Sergey Safarov
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAHtxdDffT+KKVVw4U5e2h_xQEoWXBuy84F91aicuEpBAmnLwbQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">1) Create VPN connection betwen Sip_B (client) and
        Sip_A (server);
        <div>2) On VPN interface configure static IP address;</div>
        <div>3) Configure station on Sip_B and gateway on Sib_A;</div>
        <div>4) Route call from Sip_A to Sip_B like you has configured
          routing call  Sip_B to Sip_A;</div>
        <div>5) To allow FS listen on VPN IP when VPN connection is down
          cconfigure sysctl variable "net.ipv4.ip_nonlocal_bind = 1"</div>
        <div><a moz-do-not-send="true"
            href="https://wiki.freeswitch.org/wiki/Freeswitch_HA">https://wiki.freeswitch.org/wiki/Freeswitch_HA</a><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Feb 25, 2015 at 5:37 AM, Robert
          Oldham <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:robert@oldhamtechnology.com" target="_blank">robert@oldhamtechnology.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">I have two
            FreeSWITCH servers that I need to gateway calls between.<br>
            Sip_A is on a public network with a static IP address. Sip_B
            is on a<br>
            private network that is NAT'd. I am trying to pass calls
            from devices<br>
            connected to Sip_B, through Sip_A and on to another server.
            I am also<br>
            trying to pass calls from Sip_A into Sip_B. I don't have
            access to the<br>
            firewall at the location of Sip_B so I am not able to
            forward standard<br>
            ports into Sip_B.<br>
            <br>
            I am fairly new to FreeSWITCH, so I'm not certain how to
            solve this<br>
            problem well. Many of the documents I have read online
            recommend using<br>
            ACLs and port forwards for this. However, the private
            network does not<br>
            have a static IP address that I can give access to and, as
            mentioned, I<br>
            cannot make port forwards. Instead, I have created an
            extension on Sip_A<br>
            and a gateway on Sip_B that registers using the extension on
            Sip_A. That<br>
            works fine for passing calls from Sip_B through Sip_A and
            on. Sip_B has<br>
            been maintaining a registered connection to Sip_A through
            the NAT'd<br>
            connection for several days now without trouble.<br>
            <br>
            Not knowing a better solution, I have been searching for a
            gateway<br>
            configuration on Sip_A that would allow it to route calls
            back over the<br>
            registered extension from Sip_B. I have not found a way to
            accomplish it<br>
            yet. As an alternative, I have also tried without success to
            create a<br>
            passive gateway on Sip_A that the gateway on Sip_B could
            register with.<br>
            <br>
            Any help is appreciated!<br>
            <br>
            Thanks,<br>
            Robert<br>
            <br>
            <br>
            <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" target="_blank">http://www.freeswitchsolutions.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              target="_blank">http://www.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://www.cluecon.com"
              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"
              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"
              target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              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>