[OpenSIPS-Devel] [opensips] "NULL" / empty route parameters not supported (#516)
Liviu Chircu
notifications at github.com
Tue May 19 17:19:22 CEST 2015
Present in OpenSIPS 1.9+. This should work:
route [foo]
{
if (not $param(1)) {
...
}
}
route(foo, NULL, $var(bar));
Currently, you can hack it to make it work like this:
$var(nullvar) = NULL;
route(foo, $var(nullvar), $var(bar));
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/516
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150519/91350d3d/attachment.htm>
More information about the Devel
mailing list