[OpenSIPS-Users] [External] Re: cache usage issue
Pyle, Jeff
JPyle at fusionconnect.com
Fri Oct 18 16:28:27 UTC 2024
Alexey,
Interesting. If I'm overwriting it with a value, what is the purpose of overwriting it with NULL first?
- Jeff
________________________________
From: Users <users-bounces at lists.opensips.org> on behalf of Alexey <slackway2me at gmail.com>
Sent: Friday, October 18, 2024 02:34
To: OpenSIPS users mailling list <users at lists.opensips.org>
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
Users at lists.opensips.org
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20241018/8b7a04f9/attachment.html>
More information about the Users
mailing list