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?

 

-Tim

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@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@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



 

--
Sincerely

Jay