Pass NULL as value to set_var_value when assigning a NULL or PV_VAL_NULL value to a pv with the VAR_TYPE_NULL flag set.

Previously assigning $null didn't work as expected:

$vn(foo) = $null would result in $vn(foo) being assigned 0 (this can be verified by either logging the value or testing with an if statement).


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/153

Commit Summary

File Changes

Patch Links:


Reply to this email directly or view it on GitHub.