if(defined $var(x))
Or, if checking for empty value:
if(strempty($var(x))
Mino Haluz mino.haluz@gmail.com wrote:
Hi,
how should I check if the value is set?
if ($avp(s:test) == "") {
or is there any null keyword ? If so, does it work for $avp, $sht, $var and $shv ?
Thanks,
Mino
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users