Hello,
On 11/12/07 19:00, Ovidiu Sas wrote:
> Hi all,
>
> How should we test for non existing AVPs?
> method 1: is_avp_set("$avp(i:123)")
> method 2: $(avp(i:123)) != null
>
> Both of the above methods are working.
> Is there a difference between them?
> If no, then maybe is_avp_set should be deprecated.
>
is_avp_set() gets some other parameters, as flags, that cannot be used
in direct comparison.
http://www.openser.org/docs/modules/devel/avpops.html#AEN590
Daniel
>
> Regards,
> Ovidiu Sas
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/users