On Wed, Jul 7, 2010 at 2:29 AM, Bogdan-Andrei Iancu
<[email protected]>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:
> >
> > [r...@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:
> > [r...@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):
> > [r...@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
> > [email protected]
> > 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
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users