Re: [SR-Users] Presence: Get number of active_watchers

2013-08-21 Thread Charles Chance
Hi Jan, Why not use sqlops to query the database from within your config script? Best regards, Charles On 21 August 2013 13:36, Jan Gaida wrote: > Hello, > > I need to obtain the number of subscribed watchers for a given > presentity-uri. > > I can get it with a SQL Query like "select count

[SR-Users] Presence: Get number of active_watchers

2013-08-21 Thread Jan Gaida
Hello, I need to obtain the number of subscribed watchers for a given presentity-uri. I can get it with a SQL Query like "select count(*) from kamailio.active_watchers where presentity_uri = 'test@domain';". But I think there should be a way to get it from within the configuration script. Regard