<div dir="ltr"><div>What you probably wanna do is set your ext-sip-ip and ext-rtp-ip to &quot;autonat:<span style="font-size:12.8000001907349px;font-family:arial,sans-serif">212.xxx.xxx.106&quot;, then set the local-network-acl to nat.auto, Then restart FreeSWITCH.  But what you outline doesn&#39;t make sense without autonat being on it should always use the ext-sip-ip and ext-rtp-ip on all outbound sip requests... can you get a sip trace of the one you&#39;re saying is exhibiting this issue?</span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 11, 2014 at 6:27 AM, Peter Steinbach <span dir="ltr">&lt;<a href="mailto:lists@telefaks.de" target="_blank">lists@telefaks.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hello Brian,<br>
      <br>
      a reloadacl shows<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_core.c:1306 Created ip
      list rfc6598.auto default (deny)<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_utils.c:325 Adding
      <a href="http://100.64.0.0/10" target="_blank">100.64.0.0/10</a> (allow) [] to list rfc6598.auto<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_core.c:1312 Created ip
      list rfc1918.auto default (deny)<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_utils.c:325 Adding
      <a href="http://10.0.0.0/8" target="_blank">10.0.0.0/8</a> (allow) [] to list rfc1918.auto<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_utils.c:325 Adding
      <a href="http://172.16.0.0/12" target="_blank">172.16.0.0/12</a> (allow) [] to list rfc1918.auto<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_utils.c:325 Adding
      <a href="http://192.168.0.0/16" target="_blank">192.168.0.0/16</a> (allow) [] to list rfc1918.auto<br>
      <br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_core.c:1320 Created ip
      list wan.auto default (allow)<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_utils.c:325 Adding
      <a href="http://0.0.0.0/8" target="_blank">0.0.0.0/8</a> (deny) [] to list wan.auto<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_utils.c:325 Adding
      <a href="http://10.0.0.0/8" target="_blank">10.0.0.0/8</a> (deny) [] to list wan.auto<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_utils.c:325 Adding
      <a href="http://172.16.0.0/12" target="_blank">172.16.0.0/12</a> (deny) [] to list wan.auto<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_utils.c:325 Adding
      <a href="http://192.168.0.0/16" target="_blank">192.168.0.0/16</a> (deny) [] to list wan.auto<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_utils.c:325 Adding
      <a href="http://169.254.0.0/16" target="_blank">169.254.0.0/16</a> (deny) [] to list wan.auto<br>
      <br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_core.c:1330 Created ip
      list nat.auto default (deny)<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_core.c:1332 Adding
      <a href="http://192.168.206.241/255.255.255.255" target="_blank">192.168.206.241/255.255.255.255</a> (deny) to list nat.auto<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_utils.c:325 Adding
      <a href="http://10.0.0.0/8" target="_blank">10.0.0.0/8</a> (allow) [] to list nat.auto<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_utils.c:325 Adding
      <a href="http://172.16.0.0/12" target="_blank">172.16.0.0/12</a> (allow) [] to list nat.auto<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_utils.c:325 Adding
      <a href="http://192.168.0.0/16" target="_blank">192.168.0.0/16</a> (allow) [] to list nat.auto<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_utils.c:325 Adding
      <a href="http://100.64.0.0/10" target="_blank">100.64.0.0/10</a> (allow) [] to list nat.auto<br>
      <br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_core.c:1342 Created ip
      list loopback.auto default (deny)<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_utils.c:325 Adding
      <a href="http://127.0.0.0/8" target="_blank">127.0.0.0/8</a> (allow) [] to list loopback.auto<br>
      <br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_core.c:1348 Created ip
      list localnet.auto default (deny)<br>
      2014-11-11 13:21:37.079554 [NOTICE] switch_core.c:1351 Adding
      <a href="http://192.168.206.241/255.255.255.255" target="_blank">192.168.206.241/255.255.255.255</a> (allow) to list localnet.auto<br>
      <br>
      2014-11-11 13:21:37.179566 [NOTICE] switch_core.c:1376 Created ip
      list lan default (allow)<br>
      2014-11-11 13:21:37.179566 [NOTICE] switch_utils.c:325 Adding
      <a href="http://192.168.42.0/24" target="_blank">192.168.42.0/24</a> (deny) [] to list lan<br>
      2014-11-11 13:21:37.179566 [NOTICE] switch_core.c:1451 Adding
      <a href="http://192.168.42.0/24" target="_blank">192.168.42.0/24</a> (deny) to list lan<br>
      2014-11-11 13:21:37.179566 [NOTICE] switch_utils.c:325 Adding
      <a href="http://192.168.42.42/32" target="_blank">192.168.42.42/32</a> (allow) [] to list lan<br>
      2014-11-11 13:21:37.179566 [NOTICE] switch_core.c:1451 Adding
      <a href="http://192.168.42.42/32" target="_blank">192.168.42.42/32</a> (allow) to list lan<br>
      <br>
      212.xxx.xxx.106 is set for ext-rtp-ip and ext-sip-ip.<br>
      <br>
      Best regards<br>
      Peter<div><div class="h5"><br>
      <br>
      On 11/07/14 14:16, Brian West wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">what do you have local-network-acl, ext-rtp-ip and
        ext-sip-ip?</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Nov 7, 2014 at 6:23 AM, Peter
          Steinbach <span dir="ltr">&lt;<a href="mailto:lists@telefaks.de" target="_blank">lists@telefaks.de</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hell,<br>
            <br>
            we have the following problem:<br>
            <br>
            Our Freswitch is behind NAT. We are sending faxes to a SIP
            provider.<br>
            Dependend on the destination number, the faxes are received
            or not.<br>
            Faxes are always sent via the same SIP provider and the same
            dialplan,<br>
            but I expect, they may be routed differently via other,
            subsequent SIP<br>
            providers.<br>
            <br>
            Regarding the SDP I can see, that the c-line does contain
            the our<br>
            external IP, but the o-Line does contain the local IP in the<br>
            unicast_address field.<br>
            We are routing the call via a defined gateway in the
            external profile,<br>
            which has external_sip_ip set and external_rtp_ip set.<br>
            Dialplan is:<br>
            &lt;action application=&quot;export&quot;
            data=&quot;t38_passthru=true&quot;/&gt;<br>
            &lt;action application=&quot;set&quot; data=&quot;proxy_media=true&quot;/&gt;<br>
            &lt;action application=&quot;bridge&quot;<br>
            data=&quot;sofia/gateway/QSC/<a href="mailto:06912345678@sip.qsc.de" target="_blank">06912345678@sip.qsc.de</a>&quot;/&gt;<br>
            <br>
            Here is the SDP<br>
            ====================================<br>
            v=0.<br>
            o=FreeSWITCH 1037989557 1037989558 IN IP4 192.168.206.241.<br>
            s=FreeSWITCH.<br>
            c=IN IP4 212.xxx.xxx.106.<br>
            t=0 0.<br>
            m=audio 12056 RTP/AVP 0 8.<br>
            a=rtpmap:0 PCMU/8000/1.<br>
            a=rtpmap:8 PCMA/8000/1.<br>
            a=maxptime:240.<br>
            ====================================<br>
            <br>
            I suspect, that the following SIP providers may have a
            problem with the<br>
            o-line with the local IP.<br>
            So - Is there any way to control this? E.g. via Dialplan
            variable?<br>
            <br>
            ACL also seems to be fine<br>
            2014-11-07 12:31:10.599563 [NOTICE] switch_utils.c:324
            Adding<br>
            <a href="http://192.168.0.0/16" target="_blank">192.168.0.0/16</a> (allow) [] to list
            rfc1918.auto<br>
            2014-11-07 12:31:10.599563 [NOTICE] switch_utils.c:324
            Adding<br>
            <a href="http://192.168.0.0/16" target="_blank">192.168.0.0/16</a> (allow) [] to list
            nat.auto<br>
            <br>
            I see the same behaviour also in<br>
            <a href="https://freeswitch.org/jira/browse/FS-5909" target="_blank">https://freeswitch.org/jira/browse/FS-5909</a>
            &quot;ext-xxx-ip ignored with<br>
            proxy_media turned on&quot;<br>
            There is a link for a patch, which is no longer available.
            Did this go<br>
            into the main release? Does anybody have this patch?<br>
            <br>
            <br>
            --<br>
            With kind regards<br>
            Peter<br>
            <br>
            <br>
_________________________________________________________________________<br>
            Professional FreeSWITCH Consulting Services:<br>
            <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
            <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
            <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
            <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
            <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
            UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div>
          <div dir="ltr">
            <p><font face="courier new, monospace"><b><i><font size="4">Brian
                      West</font></i></b><br>
                <span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
            <p><font face="courier new, monospace" size="1"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br>
              </font></p>
            <p><font face="courier new, monospace"><b><i>Twitter:
                    @FreeSWITCH , @briankwest</i></b><br>
                <a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
                <a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
            <p><font face="courier new, monospace"><b>T:</b><a href="tel:%2B19184209001" value="+19184209001" target="_blank">+19184209001</a>
                | <b>F:</b><a href="tel:%2B19184209002" value="+19184209002" target="_blank">+19184209002</a> | <b>M:</b>+1918424WEST (9378)<br>
                <b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
    <br>
    </div></div><span class="HOEnZb"><font color="#888888"><pre cols="72">-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
<a href="mailto:lists" target="_blank">mailto:lists</a> (att) <a href="http://telefaks.de" target="_blank">telefaks.de</a>
Internet: <a href="http://www.telefaks.de" target="_blank">www.telefaks.de</a>

</pre>
  </font></span></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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div>
</div>