Alexey,

Interesting. If I'm overwriting it with a value, what is the purpose of 
overwriting it with NULL first?



- Jeff



________________________________
From: Users <[email protected]> on behalf of Alexey 
<[email protected]>
Sent: Friday, October 18, 2024 02:34
To: OpenSIPS users mailling list <[email protected]>
Subject: [External] Re: [OpenSIPS-Users] cache usage issue

WARNING: This email originated outside of Fusion's email platform. DO NOT CLICK 
links or attachments unless you recognize the sender and know the content is 
safe.

Hello,

you should always reset the var value first:

             ...
             $var(logkey) = NULL;
             $var(logkey) = "condition_" + $avp(user);
             ...


--
best regards, Alexey
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Falexeyka.zantsev.com%2F&data=05%7C02%7Cjpyle%40fusionconnect.com%7C9992f45f8c6245b08b0408dcef3f1a3f%7C49482baa35c44dbfa8e47db5aea06926%7C0%7C0%7C638648301535635625%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=75a3RDn2ZIV9vwV%2Bnja6v%2FCFwzWkIlAptNUGr5LqgpA%3D&reserved=0<https://alexeyka.zantsev.com/>

_______________________________________________
Users mailing list
[email protected]
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fusers&data=05%7C02%7Cjpyle%40fusionconnect.com%7C9992f45f8c6245b08b0408dcef3f1a3f%7C49482baa35c44dbfa8e47db5aea06926%7C0%7C0%7C638648301535655823%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=S4zI0YoNNtSrU%2FiwTpQHRUB6JzfMZmTrdXYC%2BDyizIo%3D&reserved=0<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
This message is subject to Fusion Connect, Inc.'s email communication policy: 
www.fusionconnect.com/email-policy
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to