[sr-dev] git:master: modules/usrloc: added two new rpc commands ul.users and ul. contacts

Daniel-Constantin Mierla miconda at gmail.com
Mon May 27 18:11:44 CEST 2013


On 5/27/13 6:04 PM, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> I was referring that one may expect to return the number of valid
>> contacts (not including the expired ones).
> ok, i can make that change.

No need to change if you don't want that. I was just saying from the 
perspective of what I understood is should return, but would be good for 
documentation to clarify this aspect of what records are counted.

>
>> I guess the html readme was regenerated, the id in the page different,
>> the link being now:
>>
>> http://kamailio.org/docs/modules/devel/modules/usrloc.html#idp1909616
>>
>> (another good reason to introduce section id in docbook files).
>>
>> The usrloc statistics for users and contacts return number of distinct
>> aors and contacts managed by the module. You can see them in the output
>> of 'kamctl stats'.
> i don't see how those would apply to db_mode=3.  readme talks about
> memory cache:

I haven't used with db only and indeed seems it is not for db only, the 
problem could be the deletion of expired contacts that is done in one 
query, thus not knowing what to decrease.

Cheers,
Daniel

>
> 7.1. users
>
> Number of AOR existing in the USRLOC memory cache for that domain - can
> not be resetted; this statistic will be register for each used domain
> (Ex: location).
>
> 7.2. contacts
>
> Number of contacts existing in the USRLOC memory cache for that domain -
> can not be resetted; this statistic will be register for each used
> domain (Ex: location).
>
> perhaps i'm misunderstanding something?
>
> -- juha

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
   * http://asipto.com/u/katu *




More information about the sr-dev mailing list