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.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2106#issuecomment-549734996