[OpenSIPS-Users] uac_auth DB support
Schneur Rosenberg
rosenberg11219 at gmail.com
Mon Jan 8 18:42:29 UTC 2024
Thanks Liviu, BTW it's not Sebastian. it's Schneur AKA Scott :-)
On Mon, Jan 8, 2024 at 9:34 AM Liviu Chircu <liviu at opensips.org> wrote:
>
> On 06.12.2023 16:18, S.Rosenberg wrote:
>
>
> I would like to know if OpenSIPS has a way to pull the registrant info via code without manually doing a DB query?
>
> Hi Sebastian,
>
> A bit late to the party here, but try giving the sql_cacher a spin. It also works on top of cachedb_local (or any other NoSQL, for that matter...), however it will help you:
>
> - cut down on the amount of LoC in your script (just configure the cached table properties in the "modparam" section and you're good to go)
>
> - solve the problem of reloading the data (you can configure it with on_demand=300, for example, in order to cache a given row for a maximum of 5 minutes)
>
> Best regards,
>
> --
> Liviu Chircu
> www.twitter.com/liviuchircu | www.opensips-solutions.com
> OpenSIPS Summit 2024 Valencia, May 14-17 | www.opensips.org/events
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list