<p>I am not sure about the right way to deal in this case. Because also the very high unsigned int values will be negative in a pv value (which is signed int). Maybe adding a global parameter to control this is better than just changing the existing behaviour. The value of a pv can be retrieved in an embedded script (e.g., Lua, JS) and casted to unsigned int, if one knows that should be that kind of value. By the new mask you introduce, practically the unsigned int values are truncated to half of the range.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2106?email_source=notifications&email_token=ABO7UZLWDAEUCH74FJO5CBLQSE3BJA5CNFSM4JC5RZY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDCEUVA#issuecomment-549734996">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJDIH3XQG6YG36RRH3QSE3BJANCNFSM4JC5RZYQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZM4COZR5WVOIBKUDXLQSE3BJA5CNFSM4JC5RZY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDCEUVA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2106?email_source=notifications\u0026email_token=ABO7UZLWDAEUCH74FJO5CBLQSE3BJA5CNFSM4JC5RZY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDCEUVA#issuecomment-549734996",
"url": "https://github.com/kamailio/kamailio/pull/2106?email_source=notifications\u0026email_token=ABO7UZLWDAEUCH74FJO5CBLQSE3BJA5CNFSM4JC5RZY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDCEUVA#issuecomment-549734996",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>