[OpenSIPS-Devel] [ opensips-Patches-3591017 ] Remove headers by wildcard

SourceForge.net noreply at sourceforge.net
Thu Nov 29 14:13:51 CET 2012


Patches item #3591017, was opened at 2012-11-29 05:13
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3591017&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Remove headers by wildcard

Initial Comment:
changes sipmsgops.c.
uses fnmatch() to remove headers by wildcard. 
usage example:
remove_hf_wc("P-hint*");  // removes all headers that start with P-hint
remove_hf_wc("*orig-ip*"); //removes all headers that that have orig-ip in their name


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3591017&group_id=232389



More information about the Devel mailing list