<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
<div class="moz-cite-prefix">On 20/11/14 05:16, Bui Minh Yen wrote:<br>
</div>
<blockquote
cite="mid:CAC5bOT1qRjawV41RtCC9-99ZeYRRawr9aH72fXgxpT1yS95=Xg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hi everyone,<br>
<br>
</div>
I am using Kamailio-4.1.5. I met a problem that Kamailio
does not delete expired contact. I enable log file for
module usrloc and see that, about 1 first hour, timer
callback of usrloc module working fine (delete all expired
contacts). But after that, it is not called --> Expired
contacts in shared memory and database are not deleted.<br>
</div>
</div>
</div>
</blockquote>
<br>
for how long did you wait?<br>
<br>
In db_mode 2, the records in database are deleted on a timer, if you
want them to be visible immediately in the database, then use
db_mode 1.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
cite="mid:CAC5bOT1qRjawV41RtCC9-99ZeYRRawr9aH72fXgxpT1yS95=Xg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div><br>
</div>
<div>I configured usrloc module like that:<br>
# ----- usrloc params -----<br>
modparam("usrloc", "db_url", DBURL)<br>
modparam("usrloc", "db_mode", 2)<br>
modparam("usrloc", "use_domain", MULTIDOMAIN)<br>
modparam("usrloc", "db_ops_ruid", 1)<br>
</div>
<div><br>
</div>
Could you help me to fix this problem!<br>
<br>
</div>
Thanks so much!<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://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>