[SR-Users] How to correctly check if the variable is set?

Mino Haluz mino.haluz at gmail.com
Mon Jan 14 12:59:34 CET 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130114/93377a98/attachment.htm>


More information about the sr-users mailing list