<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><param name="nat-options-ping" value="true"/><br>
<param name="apply-nat-acl" value="rfc1918"/><br><param name="aggressive-nat-detection" value="true"/><br><param name="NDLB-received-in-nat-reg-contact" value="true"/><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 "sofia status profile <yourprofile> reg" 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"><<a href="mailto:maciej.aniserowicz@gmail.com" target="_blank">maciej.aniserowicz@gmail.com</a>></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 "NAT
situation":).</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 <external IP
of network with Twinkle> 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"><param
name="local-network-acl" value="localnet.auto"/>.</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"> <list name="nat.twinkle"
default="allow"></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt"> <node type="allow"
cidr="<IP>/32"/></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt"> </list></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"> <param name="apply-nat-acl"
value="nat.twinkle"/></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'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>