I believe what you are looking for is $null
if($avp(s:test) == $null){
}
On Mon, Jan 14, 2013 at 3:59 AM, 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