On 12/21/2009 03:50 PM, Henning Westerholt wrote:
On Mon, December 21, 2009 5:37 pm, Alex Balashov wrote:
Try: if(is_avp_set("$avp(s:lnp_prefix)"))
Hey Alex,
also possible is to use it: if (! $avp(s:lnp_prefix)) which is shorter and don't rely on the avpops module to test for null. (In sr the "defined" operator can be used for the same purpose.
I thought that would evaluate the numerical expression value of the AVP, not whether it is null?