Daniel-Constantin Mierla writes:

> the commands are querying the database and the results can be 
> inaccurate, or at least not something I would expect.

they just return the described values from database table, nothing more
or less is claimed.

> In db_mode=DB_WRITEBACK, there can be expired records that are not yet 
> deleted, they will be at the next timer trigger. Also, DB_READONLY might 
> not reflect properly the correct situation.

> Also, cache-only mode is not covered, so it is strictly related to 
> database records. I would suggest the names of the commands should 
> reflect somehow that, to be something like 'dbusers' and 'dbcontacts' or 
> similar.
> 
> FYI, there are counters (statistics) for the two values you were looking 
> for, but working only for one location table (or all together):
> -
> http://kamailio.org/docs/modules/devel/modules/usrloc.html#idp1873288

which ones?  i checked the above page and didn't find them.

sure, i can change the names.

-- juha

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to