<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
never used nat_traversal module, but from the readme it looks that
it has no relation with user location table -- it keeps records in a
file for backup, maybe someone else that is using it can tell more.<br>
<br>
What I use for such case is nathelper module, which is tied to
usrloc for keepalives. So when a phone unregisters, there is no more
keeplive to it.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 1/18/12 1:42 PM, Reda Aouad wrote:
<blockquote
cite="mid:CAA30pc4Ccpm_VDvAS-t5b_CAtWg6OpWL5ST5yBRx97vwyvVZhg@mail.gmail.com"
type="cite">
<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("REGISTER"))
nat_keepalive();
</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't know when exactly.<br>
<br>
Is that a normal behaviour? What is the keepalive timeout?<br>
Why doesn'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'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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
</body>
</html>