[Freeswitch-users] Query Limit to see how many ports are in use

Andre Demattia andretodd at verizon.net
Thu May 15 02:31:23 MSD 2014


Is there a way that I can have all the data back at once? This way I don't have to  iterate through it.
Thanks
Also does the nosql help performance.

-----Original Message-----
From: "Victor Chukalovskiy" <victor.chukalovskiy at gmail.com>
Sent: ‎5/‎14/‎2014 2:43 PM
To: "freeswitch-users at lists.freeswitch.org" <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Query Limit to see how many ports are in use

I'd say you need to keep parameters for limit concise and standard. E.g. 
do it in the same format for all customers / trunks:
limit hash maximum_calls ${customer_id} ${customer_limit}

Once things are standard just iterate over a list of ${customer_id}'s 
every N minutes:
limit_usage hash maximum_calls ${customer_id}


On 14-05-14 01:39 PM, Andre Demattia wrote:
> Anyone have any thoughts on this?
> ------------------------------------------------------------------------
> From: andretodd at verizon.net <mailto:andretodd at verizon.net>
> Sent: ?5/?13/?2014 10:13 AM
> To: freeswitch-users at lists.freeswitch.org 
> <mailto:freeswitch-users at lists.freeswitch.org>
> Subject: [Freeswitch-users] Query Limit to see how many ports are in use
>
> Hi, I want to know how can I query everything in LIMIT (hash) to find 
> out how many active ports I'm using. I did see something about 
> Hash_Dump All but I'm not sure what that does. limit_usage <backend> 
> <realm> <id> requires too many parameters, I just want to know 
> everything active.
> I have disabled "nosql" the core database for faster performance 
> (assuming this really helps with performance, let me know if it has 
> nothing to do with performance) so that isn't an option.
> Also, since the core db is disabled, is there a way to see the active 
> calls with UUID so I can kill them if needed?
> Thanks
> Andre
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140514/f129a978/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list