[Freeswitch-users] Calls per second per profile monitoring?

Heenan, Timothy Steven Timothy.Heenan at windstream.com
Thu Oct 30 22:05:59 MSK 2014

Thank you.

I’ve implemented mod_limit; seems like a good way to monitor concurrent calls per sip profile, but how would you go about pulling CPS (SPS) per sip profile?

I’ve added a simple dialplan extension that will match any destination number and write calls per profile to a hash. Essentially:

                <condition field="destination_number" expression="^(.*)$">
                <action application="limit" data="hash sip_trunk ${sofia_profile_name} 100000" />

(just an obscene max limit set for now, this is a test environment)

I can then see how many calls are being used per profile / trunk via :

Freeswitch> limit_usage hash sip_trunk sip_profile1
100 is returned (assuming there are 100 calls in progress)

But how can I see how many calls are being setup  per second for this profile?


From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of jay binks
Sent: Wednesday, October 22, 2014 5:33 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Calls per second per profile monitoring?

mod_limit is your friend.
use your sip_profile name, or domain or any variable as the key.

its remarkably simple.

On 23 October 2014 05:08, Heenan, Timothy Steven <Timothy.Heenan at windstream.com<mailto:Timothy.Heenan at windstream.com>> wrote:
Good Afternoon,

I was wondering if anyone had some tips on the best way to monitor calls per second per sip profile.
Are you using an api command or some separate module?

Thanks in advance,
- Tim
This email message and any attachments are for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message and any attachments.

Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>

Official FreeSWITCH Sites

FreeSWITCH-powered IP PBX: The CudaTel Communication Server

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>


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

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