[Freeswitch-users] switch.conf.xml sessions-per-second issue

Michael Jerris mike at jerris.com
Tue Jan 12 19:02:10 MSK 2016


> On Jan 12, 2016, at 2:55 AM, Grant Bagdasarian <GB at cm.nl> wrote:
> 
> Hello Alex,
> 
> Yes, I need FS to always send a reply when it starts rate-limiting and rejecting calls.
> How do I change the algorithm used for rejecting calls during rate-limiting?
> 

Change it to what?  A reply should already be sent.


> Regards,
> 
> Grant
> 
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Alex Balashov
> Sent: Tuesday, January 12, 2016 2:33 AM
> To: freeswitch-users at lists.freeswitch.org
> Subject: Re: [Freeswitch-users] switch.conf.xml sessions-per-second issue
> 
> Hello,
> 
> On 01/11/2016 09:04 AM, Grant Bagdasarian wrote:
> 
>> Does FS always reply with a 503 Maximum Calls In Progress regardless 
>> of the amount of calls attempts?
> 
> What do you mean by "always"? That's rather confusing in light of your next question:
> 
>> So if the sessions-per-second is 10 and I generate 20 CPS, the 
>> remaining
>> 10 will get a 503?
>> 
>> Does this also apply to an higher number of attempts?
> 
> If you generate 20 CPS and Freeswitch uses a "taildrop"-style algorithm to reject the "remaining" 10, that's certainly not "always".
> 
> What is the actual question being asked here? It sounds like it's about the algorithm Freeswitch uses to determine which calls to reject once a rate limit is reached?
> 
> -- Alex
> 
> --
> Alex Balashov | Principal | Evariste Systems LLC
> 303 Perimeter Center North, Suite 300
> Atlanta, GA 30346
> United States
> 
> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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




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