Thanks Liviu, BTW it's not Sebastian. it's Schneur AKA Scott :-)

On Mon, Jan 8, 2024 at 9:34 AM Liviu Chircu <li...@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@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to