[OpenSIPS-Users] Limit Call per Second

Ovidiu Sas osas at voipembedded.com
Sun Jan 24 14:54:16 EST 2021


There are no db queries, unless explicitly enabled for distributed
rate limiting, in which case memcache or redis can be used.

-ovidiu

On Sun, Jan 24, 2021 at 1:57 AM Schneur Rosenberg
<rosenberg11219 at gmail.com> wrote:
>
> Maybe use memcache, it's global and it won't create a bottleneck like a database query would.
>
> Scott (Schneur)
>
> On Thu, Jan 21, 2021, 05:43 Ovidiu Sas <osas at voipembedded.com> wrote:
>>
>> Take a look at the ratelimit module:
>> https://opensips.org/docs/modules/3.1.x/ratelimit.html
>>
>> -ovidiu
>>
>> On Wed, Jan 20, 2021 at 10:01 PM Alexander Perkins
>> <alexanderhenryperkins at gmail.com> wrote:
>> >
>> > Hi All.  Is there a way to limit the calls per second by pulling the information from a database? I was looking at the call_control module and that seems to be a global value. but I would need something that I can control at the call level (I will be handling different accounts that have different limits).
>> >
>> > Thanks, All.  Any help is appreciated.
>> >
>> > Alex
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opensips.org
>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>> --
>> VoIP Embedded, Inc.
>> http://www.voipembedded.com
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



-- 
VoIP Embedded, Inc.
http://www.voipembedded.com



More information about the Users mailing list