Re: [OpenSIPS-Users] Getting RateLimit Config From Database

2017-11-07 Thread Răzvan Crainea
Hi, Alexander! You can pull the limits per user either by using the load_credentials mechanism[1], which automatically pulls user information after authentication, or by doing a "manual" DB query using the avp_db_query() function[2]. After you have the limit value in an AVP, you can pass that

[OpenSIPS-Users] Getting RateLimit Config From Database

2017-11-06 Thread Alexander Perkins
Hi All. I have been researching OpenSIPs for quite some time now and have implemented a deployment successfully with it. However, I was never able to successfully pull the RateLimit configuration from a database. For example, if I want to limit a SIP client to only one call per second and have t