Thanks, Bogdan,<br>I tested and it looks fine now.<br>I will do load tests and report any problems.<br><br>regards,<br>takeshi<br><br><div class="gmail_quote">On Fri, Jul 9, 2010 at 5:17 PM, 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;">FIXED, please update from SVN.<br>
<br>
Regards,<br>
<font color="#888888">Bogdan<br>
</font><div><div></div><div class="h5"><br>
Bogdan-Andrei Iancu wrote:<br>
> Hi,<br>
><br>
> indeed, I was able to reproduce the error - I will work for a fix.<br>
><br>
> Thanks for reporting,<br>
> Bogdan<br>
><br>
> mayamatakeshi wrote:<br>
><br>
>> On Wed, Jul 7, 2010 at 2:29 AM, Bogdan-Andrei Iancu<br>
>> <<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> <mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> what db_mode are you using for usrloc?<br>
>><br>
>><br>
>> Hi Bogdan,<br>
>><br>
>> modparam("usrloc", "db_mode", 0)<br>
>><br>
>><br>
>><br>
>> 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<br>
>> value<br>
>> > of usrloc:registered_users to decrease when the registration<br>
>> 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<br>
>> 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>
>> ><br>
>> ------------------------------------------------------------------------<br>
>> ><br>
>> > _______________________________________________<br>
>> > Users mailing list<br>
>> > <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<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> <<a href="http://www.voice-system.ro" target="_blank">http://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> <mailto:<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>
>> _______________________________________________<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>
><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>
</div></div></blockquote></div><br>