[Kamailio-Users] avpops OR sqlops

Henning Westerholt henning.westerholt at 1und1.de
Mon Dec 21 21:50:25 CET 2009


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.

Best regards,

Henning





More information about the sr-users mailing list