<br><br><div class="gmail_quote">On Wed, Jul 7, 2010 at 2:29 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
what db_mode are you using for usrloc?<br></blockquote><div><br>Hi Bogdan,<br><br>modparam("usrloc", "db_mode", 0)<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br><div><div class="h5">
mayamatakeshi wrote:<br>
> Hello,<br>
> I'm testing with opensips 1.6, latest revision 6985.<br>
><br>
> I'm not sure if I'm doing something wrong but I'm not seeing the value<br>
> of usrloc:registered_users to decrease when the registration expires.<br>
> To test this, I have set a low value for expires. Here are the<br>
> parameters I have changed in the sample opensips.cfg:<br>
><br>
> modparam("registrar", "max_expires", 30)<br>
> modparam("registrar", "min_expires", 30)<br>
> modparam("registrar", "default_expires", 30)<br>
> modparam("alias_db|auth_db|usrloc|uri", "use_domain", 1)<br>
><br>
> Then using SIPp I generated a single REGISTER, got the "200 OK" and<br>
> waited 30 seconds. After that, I got this:<br>
><br>
> [root@centos53-02008]# opensipsctl fifo get_statistics usrloc:<br>
> usrloc:registered_users = 1<br>
> usrloc:location-users = 1<br>
> usrloc:location-contacts = 0<br>
> usrloc:location-expires = 1<br>
><br>
> But I was expecting registered_users to be zero, as it happens when I<br>
> unregister:<br>
><br>
> After registration:<br>
> [root@centos53-02008 Basix]# opensipsctl fifo get_statistics usrloc:<br>
> usrloc:registered_users = 1<br>
> usrloc:location-users = 1<br>
> usrloc:location-contacts = 1<br>
> usrloc:location-expires = 0<br>
><br>
> After unregistration (request with Expires=0):<br>
> [root@centos53-02008 Basix]# opensipsctl fifo get_statistics usrloc:<br>
> usrloc:registered_users = 0<br>
> usrloc:location-users = 0<br>
> usrloc:location-contacts = 0<br>
> usrloc:location-expires = 0<br>
><br>
> regards,<br>
> takeshi<br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Bootcamp<br>
20 - 24 September 2010, Frankfurt, Germany<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br>