<p></p>
<p dir="auto">Sorry, I did not understand it as well. This is exactly as $var is supposed to work, it contains the value from previous processing. If no value has been given to it before it returns 0, as commented from Daniel.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/3114#issuecomment-1128740005">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJYRE7XM2QC6VG7FZTVKN5RRANCNFSM5WEMKM5Q">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZPR6ZE3GHWNEYJKD5DVKN5RRA5CNFSM5WEMKM52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOINDTJJI.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/pull/3114/c1128740005</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/3114#issuecomment-1128740005",
"url": "https://github.com/kamailio/kamailio/pull/3114#issuecomment-1128740005",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>