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

Victor Chukalovskiy victor.chukalovskiy at gmail.com
Wed May 14 22:43:54 MSD 2014


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/fa4ddaab/attachment.html 


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