[OpenSIPS-Users] Registration expiration doesn't decrease usrloc:registered_users
mayamatakeshi
mayamatakeshi at gmail.com
Wed Jul 7 11:05:28 CEST 2010
On Wed, Jul 7, 2010 at 2:29 AM, Bogdan-Andrei Iancu
<bogdan at voice-system.ro>wrote:
> Hi,
>
> what db_mode are you using for usrloc?
>
Hi Bogdan,
modparam("usrloc", "db_mode", 0)
>
> mayamatakeshi wrote:
> > Hello,
> > I'm testing with opensips 1.6, latest revision 6985.
> >
> > I'm not sure if I'm doing something wrong but I'm not seeing the value
> > of usrloc:registered_users to decrease when the registration expires.
> > To test this, I have set a low value for expires. Here are the
> > parameters I have changed in the sample opensips.cfg:
> >
> > modparam("registrar", "max_expires", 30)
> > modparam("registrar", "min_expires", 30)
> > modparam("registrar", "default_expires", 30)
> > modparam("alias_db|auth_db|usrloc|uri", "use_domain", 1)
> >
> > Then using SIPp I generated a single REGISTER, got the "200 OK" and
> > waited 30 seconds. After that, I got this:
> >
> > [root at centos53-02008]# opensipsctl fifo get_statistics usrloc:
> > usrloc:registered_users = 1
> > usrloc:location-users = 1
> > usrloc:location-contacts = 0
> > usrloc:location-expires = 1
> >
> > But I was expecting registered_users to be zero, as it happens when I
> > unregister:
> >
> > After registration:
> > [root at centos53-02008 Basix]# opensipsctl fifo get_statistics usrloc:
> > usrloc:registered_users = 1
> > usrloc:location-users = 1
> > usrloc:location-contacts = 1
> > usrloc:location-expires = 0
> >
> > After unregistration (request with Expires=0):
> > [root at centos53-02008 Basix]# opensipsctl fifo get_statistics usrloc:
> > usrloc:registered_users = 0
> > usrloc:location-users = 0
> > usrloc:location-contacts = 0
> > usrloc:location-expires = 0
> >
> > regards,
> > takeshi
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
>
> --
> Bogdan-Andrei Iancu
> OpenSIPS Bootcamp
> 20 - 24 September 2010, Frankfurt, Germany
> www.voice-system.ro
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100707/066fe39e/attachment.htm
More information about the Users
mailing list