<div dir="ltr"><div><div><div>Hi Maciej,<br><br></div>i have an seperate sip_profile for external, nated clients and i use this settings (and correct rtp/sip ip settings)<br><br>&lt;param name=&quot;nat-options-ping&quot; value=&quot;true&quot;/&gt;<br>
&lt;param name=&quot;apply-nat-acl&quot; value=&quot;rfc1918&quot;/&gt;<br>&lt;param name=&quot;aggressive-nat-detection&quot; value=&quot;true&quot;/&gt;<br>&lt;param name=&quot;NDLB-received-in-nat-reg-contact&quot; value=&quot;true&quot;/&gt;<br>
<br></div>the apply-nat-acl rfc1918.auto excludes your own local-lan, the rfc1918 is the hole private range.<br><br></div>and &quot;sofia status profile &lt;yourprofile&gt; reg&quot; should show the nated client with<br><br>
Status:         Registered(UDP-NAT)(unknown) EXP(2013-09-18 17:07:52) EXPSECS(351)<br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/18 Maciej Aniserowicz <span dir="ltr">&lt;<a href="mailto:maciej.aniserowicz@gmail.com" target="_blank">maciej.aniserowicz@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small"><div style="direction:ltr">

<div style="direction:ltr;margin-top:0in;margin-left:0in;width:7.4979in">

<div style="direction:ltr;margin-top:0in;margin-left:0in;width:7.4979in">

<p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="font-size:11pt">Hi,</span><br></p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">I have a &quot;NAT
situation&quot;:).</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">My FS machine is not
behind NAT, but one of the softphones (Twinkle) is. It registers correctly, but
after viewing registrations on the profile I do not see any NAT-related info in
Contact header.</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">I cannot dial to
this extension, I get this after ~30sec:</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">-ERR
RECOVERY_ON_TIMER_EXPIRE</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt"> </p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">The interesting
thing is that when I execute this command:</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">acl &lt;external IP
of network with Twinkle&gt; localnet.auto</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">it returns true.</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">I tried removing
this line from profile configuration, but it did not change anything:</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">&lt;param
name=&quot;local-network-acl&quot; value=&quot;localnet.auto&quot;/&gt;.</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt"> </p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">I also defined my
own ACL</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">    &lt;list name=&quot;nat.twinkle&quot;
default=&quot;allow&quot;&gt;</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">      &lt;node type=&quot;allow&quot;
cidr=&quot;&lt;IP&gt;/32&quot;/&gt;</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">    &lt;/list&gt;</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">and applied it to
the profile:</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt"> &lt;param name=&quot;apply-nat-acl&quot;
value=&quot;nat.twinkle&quot;/&gt;</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">Still - no luck.</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt"> </p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">I even tried to
enable aggressive-nat-detection even though it&#39;s not recommended, but I did not
change anything.</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt"> </p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">I restarted FS after
each configuration modification, then flushed all registrations on the profile
and re-registered my softphones.</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt"> </p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">How else can I try
to solve this issue?</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt"> </p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">And one more
question: is there any way to view the autogenerated ACLs localnet.auto and
nat.auto ?</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt"> </p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">Best regards, </p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">Maciej Aniserowicz</p>

</div>

</div>

</div></div></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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Mit freundlichen Grüßen<br>*Karsten Horsmann*<br>
</div>