[sr-dev] [kamailio] kamailio doesn't provide number of registered users stat when usrloc in db_mode=3 (#113)

Olle E. Johansson oej at edvina.net
Thu Mar 19 19:06:38 CET 2015


On 19 Mar 2015, at 17:22, juha-h <notifications at github.com> wrote:

> Olle E. Johansson writes:
> 
> > As an alternative you can define your own script counter and have a
> > background script 
> > that runs your SQL query every X minutes and updates a counter that
> > you can watch 
> > with kamcmd and the old kamctl.
> 
> why would you need to run the query every X minutes instead of on demand
> when the relevant kamctl command is given?

If one for some reason wants the counter available at all times in Kamailio...
But I agree with you that it's not a good solution at all. Just brainstorming.

/O




More information about the sr-dev mailing list