[sr-dev] [kamailio/kamailio] pv: log uninit $var() (PR #3114)
Stefan Mititelu
notifications at github.com
Tue May 17 12:50:53 CEST 2022
Hi,
Indeed, from what I've checked so far, the $var() value is initialized to 0. This is done when kamailio starts.
However, the issue we faced is more related to this excerpt from kamailio cookbooks, pseudovariables:
```
Note: A script variable persists over the Kamailio process in which it was initialized, so be sure of giving it a new value before reading it or you'll get the value asigned in any other previous message processed by the same Kamailio process (pid).
```
Let me know if now its more clear what the PR tries to warn.
Thank you,
Stefan
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3114#issuecomment-1128719358
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3114/c1128719358 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220517/9a876d22/attachment.htm>
More information about the sr-dev
mailing list