[Serusers] FW: [Serdev] variable header field value comparation

Luis Silva lfs12 at hotmail.com
Mon Aug 28 11:37:36 CEST 2006




>From: "Luis Silva" <lfs12 at hotmail.com>
>To: serdev at 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 at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serdev





More information about the sr-users mailing list