[OpenSIPS-Devel] [OpenSIPS/opensips] 0a8cf7: Script: Allow signed integers as module func params
Liviu Chircu
noreply at github.com
Fri Jun 21 09:56:36 EDT 2019
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 0a8cf7402a559619203d981de41d91b24e2b06ee
https://github.com/OpenSIPS/opensips/commit/0a8cf7402a559619203d981de41d91b24e2b06ee
Author: Liviu Chircu <liviu at opensips.org>
Date: 2019-06-21 (Fri, 21 Jun 2019)
Changed paths:
M cfg.y
Log Message:
-----------
Script: Allow signed integers as module func params
This fixes a regression where the behavior of some OpenSIPS 2.4 module
functions was restricted in 3.0, e.g. is_from_gw():
In 2.4:
is_from_gw("-1", "n", "$var(gw_attr)") # starts OK
In 3.0 (without this patch):
is_from_gw(-1, "n", $var(gw_attr)) # would fail to start
More information about the Devel
mailing list