[OpenSIPS-Users] setflag/isflagset or cache_store/cache_fetch

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Dec 6 11:10:17 UTC 2022

Hi Alain,

Setting a flag is less expensive. But if you want to have call/dialog 
persistence for the flags, use the dialog flags, not the transaction flags.


Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
OpenSIPS Bootcamp 5-16 Dec 2022, online

On 11/21/22 5:39 PM, Alain Bieuzent wrote:
> Hi All,
> I need to store information during a call. They are often binary 
> information (for example which rtpengine was used).
> For the moment I store this information in a local redis database. In 
> most cases a setflag/isflagset would be enough.
> What are the best practices, which of the two systems consumes the 
> least CPU?
> Thanks
> Alain
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20221206/c54ffa02/attachment.html>

More information about the Users mailing list