<div dir="auto">Maybe use memcache, it's global and it won't create a bottleneck like a database query would.<div dir="auto"><br></div><div dir="auto">Scott (Schneur)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 21, 2021, 05:43 Ovidiu Sas <<a href="mailto:osas@voipembedded.com" target="_blank" rel="noreferrer">osas@voipembedded.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Take a look at the ratelimit module:<br>
<a href="https://opensips.org/docs/modules/3.1.x/ratelimit.html" rel="noreferrer noreferrer noreferrer" target="_blank">https://opensips.org/docs/modules/3.1.x/ratelimit.html</a><br>
<br>
-ovidiu<br>
<br>
On Wed, Jan 20, 2021 at 10:01 PM Alexander Perkins<br>
<<a href="mailto:alexanderhenryperkins@gmail.com" rel="noreferrer noreferrer" target="_blank">alexanderhenryperkins@gmail.com</a>> wrote:<br>
><br>
> 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).<br>
><br>
> Thanks, All.  Any help is appreciated.<br>
><br>
> Alex<br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" rel="noreferrer noreferrer" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
<br>
-- <br>
VoIP Embedded, Inc.<br>
<a href="http://www.voipembedded.com" rel="noreferrer noreferrer noreferrer" target="_blank">http://www.voipembedded.com</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" rel="noreferrer noreferrer" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>