<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
If you have the timer interval set at 60 seconds, you should see
the registrations getting updated once every minute. Furthermore,
if you have query_flush_time=60, you might see INSERT queries
delayed for another 60 seconds more, if you have few
registrations.<br>
<br>
May sound silly, but are you sure you waited enough time before
checking the DB to see if the contacts are there ? :)<br>
<br>
Best Regards,<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
</pre>
On 02.09.2013 12:24, Liviu Chircu wrote:<br>
</div>
<blockquote cite="mid:52245943.3070501@opensips.org" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hello Chen-Che,<br>
<br>
What version are you using? I haven't been able to replicate
this behaviour on any of the two usrloc db modes of the <i>master</i>
branch.<br>
<br>
Best regards,<br>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Dev
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 09/02/2013 05:53 AM, microx wrote:<br>
</div>
<blockquote cite="mid:1378090391064-7587684.post@n2.nabble.com"
type="cite">
<pre wrap="">Hi all,
The usrloc module provides 4 types of db_mode. When trying to use the
write-through and write-back schemes, I find that the locations are not
stored into the location table in the database as I expect. For example,
when employing the write-through scheme, I cannot find the new registered
user in the location table even 10 seconds after a user has registered. With
the write-back scheme, setting "modparam("usrloc", "timer_interval", 60)",
"query_flush_time=60", or "query_buffer_size" does not lead to registered
users to be stored into the location table.
I use the configuration below which works well for db_mode = 3 (DB-only). I
wonder how I can let the registered locations stored at the memory as well
as the database? Thanks for any comment.
Best regards,
Chen-Che
modparam("usrloc", "db_mode", 1)
modparam("usrloc", "nat_bflag", "NAT_BFLAG")
modparam("usrloc", "timer_interval", 120)
if (!save("location", "sf"))
sl_reply_error();
--
View this message in context: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://opensips-open-sip-server.1449251.n2.nabble.com/About-db-mode-of-the-usrlocl-module-tp7587684.html">http://opensips-open-sip-server.1449251.n2.nabble.com/About-db-mode-of-the-usrlocl-module-tp7587684.html</a>
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>