From: "Luis Silva" <lfs12(a)hotmail.com>
To: serdev(a)iptel.org
Subject: [Serdev] variable header field value comparation
Date: Fri, 25 Aug 2006 13:44:53 +0000
Hi all!!
I need to compare an header field value with an avp. I tried to use the
hf_value_exists("header_name","$value") but the header that I need to
compare isn't static. I replaced the header_name with an avp but it didn't
work. then I tried to use avp_check("$value",
"eq/$hdr($header_name)"))
but again, it didn't work. am I doing something wrong? is there another
solution?
regards,
Luís Silva
_______________________________________________
Serdev mailing list
Serdev(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serdev