<div dir="ltr"><font color="#3366ff"><font><font face="tahoma,sans-serif">Hi,<br><br>I am using the nat_keepalive function of the nat_traversal module, using the OPTIONS message, and my code is the following :<br><br></font></font></font><pre style="font-family:courier new,monospace" class="programlisting">

<font>if (is_method(&quot;REGISTER&quot;))
    nat_keepalive();
<br></font></pre><font color="#3366ff"><font><font face="tahoma,sans-serif">I see that Kamailio still sends OPTIONS packets even if the client unregisters itself.<br>It stops later, but I don&#39;t know when exactly.<br>

<br>Is that a normal behaviour? What is the keepalive timeout?<br>Why doesn&#39;t Kamailio remove the client from its keepalive list if it unregisters and is no more in the user location?<br>And is there a way to remove a contact from the user location if it doesn&#39;t respond to keepalive packets?<br>

<br>Thanks<br clear="all"></font></font></font><div dir="ltr"><font color="#3366ff" face="tahoma, sans-serif"><br></font><div><font color="#3366ff" face="tahoma, sans-serif">Reda</font></div></div><br>
</div>