defined($avp(foo)) can be used to test if avp $avp(foo) has been defined. i looked through kamailio wiki, but didn't find defined function documented anywhere.
-- juha
Hello,
this should be in core coobook documented, being exported from core. If it is not there, then it is missing and has to be added.
Cheers, Daniel
On 05/09/14 12:51, Juha Heinanen wrote:
defined($avp(foo)) can be used to test if avp $avp(foo) has been defined. i looked through kamailio wiki, but didn't find defined function documented anywhere.