<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-family:arial,sans-serif;font-size:13px">do you think is a client problem or server</span></blockquote>

<div><br></div><div>NAT routers need to keep a list of UDP connections open to know the internal/external ports to map between and what connections are open to allow the replies through the firewall. Since there&#39;s no explicit disconnect in UDP it relies exclusively on timeouts to remove old connections from the table when no longer in use, to prevent the mapping table becoming full.<div>

<div><br></div><div>Once it&#39;s removed from the table the router is no longer going to know the internal client to send the INVITE from the server to, which could be why you stop receiving the call on the client. From the server&#39;s perspective it probably times out.</div>

<div><br></div><div><div>Either side sending packets (eg keepalives) will keep the connection &#39;recently active&#39; and therefore the mapping open.</div></div><div><br></div><div>Check the SIP trace on FreeSWITCH (sofia global siptrace on). See if the phone gives a response to the INVITE. If the phone gives a reply it&#39;s getting through the NAT and so that&#39;s not the issue. If you get no reply it&#39;s highly likely it is the NAT router.</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-family:arial,sans-serif;font-size:13px">can you suggest me a value?</span></blockquote>

<div><br></div><div>The best value is going to depend on the router - on what timeout value it has, how large the table is, and how many connections you have open through it.</div><div><br></div><div>30s is probably a good setting to go. You can tweak it up/down from there if need be.</div>

</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 18 April 2014 14:48, Mr.Gab <span dir="ltr">&lt;<a href="mailto:crazygabry@gmail.com" target="_blank">crazygabry@gmail.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 class="">Sean Devoy &lt;sdevoy@...&gt; writes:<br>
<br>
&gt;<br>
&gt; Have you tried to turn on NAT Keep Alive on the client?<br>
&gt;<br>
<br>
</div>can you suggest me a value? :) do you think is a client problem or server<br>
problem?<br>
<br>
Thank you<br>
<div class="HOEnZb"><div class="h5">crazygabry<br>
<br>
<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>
</div></div></blockquote></div><br></div>