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