[Users] Faster to do avp_printf();avp_check OR search()?

Kanakatti M. Subramanya mahesh at aptela.com
Wed Aug 24 15:12:52 CEST 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mahesh.vcf
Type: text/x-vcard
Size: 255 bytes
Desc: not available
Url : http://lists.kamailio.org/pipermail/users/attachments/20050824/6150443b/attachment.vcf 


More information about the Users mailing list