If you want just to check if there is a Refer-To header, you can use the function is_present_hf() from textops module. This is the fastest way to check if a header exists.

Daniel


On 08/24/05 16:12, Kanakatti M. Subramanya wrote:

e.g., if I want to do something if there is a Refer-To header in the message,
am I better off doing
avp_printf("$someAvp", "$rt");
avp_check("$rt", "re/.../i");

or

search("/.../");
Just want ot know whether to get started rewriting all the "search()" strings i have in my ser.cfg....

cheers

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to