[OpenSIPS-Users] Limit Call per Second
callum.guy at x-on.co.uk
Mon Jan 25 09:23:47 EST 2021
An alternative option would be to leverage cachedb_local and opensips-cli
to implement your list of accounts and rate limits. It has the advantage of
using the internal opensips cache service and is probably your most high
performance option, with the CLI you can automate data refreshes using
basic cron scripts or anything you fancy!
On Sun, 24 Jan 2021 at 14:56, Ovidiu Sas <osas at voipembedded.com> wrote:
> There are no db queries, unless explicitly enabled for distributed
> rate limiting, in which case memcache or redis can be used.
> 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.
> Users mailing list
> Users at lists.opensips.org
*0333 332 0000 | x-on.co.uk <https://www.x-on.co.uk> | **
<https://twitter.com/xonuk> ** | Coronavirus
ITSPA AWARDS 2020 <http://www.itspa.org.uk/itspa-awards> AND Best ITSP -
Mid Market, Best Software and Best Vertical Solution are trade marks of the
Internet Telephony Services Providers' Association, used under licence.
is a trading name of Storacall Technology Ltd a limited company
England and Wales.
Registered Office : Avaland House, 110
London Road, Apsley, Hemel Hempstead,
Herts, HP3 9SD. Company Registration
The information in this e-mail is confidential and for use by
only. If you are not the intended recipient, please notify
X-on immediately on +44(0)333 332 0000 and delete the
message from your
computer. If you are not a named addressee you must not use,
disseminate, distribute, copy, print or reply to this email. Views
opinions expressed by an individual
within this email may not necessarily
reflect the views of X-on or its associated companies. Although X-on
screens for viruses, addressees should scan this email and any
viruses. X-on makes no representation or warranty as to the
absence of viruses
in this email or any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users