[Freeswitch-users] getting statistics from core db through esl interface

Leon de Rooij leon at scarlet-internet.nl
Tue Apr 21 06:52:49 PDT 2009


Thanks, I know that's possible, but I want to get the amount of  
channels per profile (and even seperated inbound/outbound), not a  
total of all channels on all profiles combined..

regards,

Leon

On Apr 21, 2009, at 3:41 PM, Mathieu Rene wrote:

> show channels count
> show calls count
>
> Mathieu
>
> On 21-Apr-09, at 9:27 AM, Leon de Rooij wrote:
>
>> Hi,
>>
>> I'm making a c plugin for collectd ( http://collectd.org ) to get  
>> some
>> basic statistics from FS. Right now it uses ESL to connect, but doing
>> an "api show channels" and after that parsing the csv to get the
>> amount of channels per profile seems a bit of a detour.. Is it
>> possible to do some sql selects on the core db through ESL to get  
>> this
>> info ?
>>
>> thanks & regards,
>>
>> Leon
>>
>> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org





More information about the FreeSWITCH-users mailing list