[sr-dev] git:master: extend documentation

Klaus Darilion klaus.mailinglists at pernau.at
Thu Mar 17 11:28:19 CET 2011


Module: sip-router
Branch: master
Commit: 40f5cb3a85bec9b1ad5f9a0eb4ec63a592b595c5
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=40f5cb3a85bec9b1ad5f9a0eb4ec63a592b595c5

Author: root <root at relay.labs.nic.at>
Committer: Klaus Darilion <klaus.mailinglists at pernau.at>
Date:   Thu Mar 17 11:26:43 2011 +0100

extend documentation

---

 modules_k/textops/doc/textops_admin.xml |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/modules_k/textops/doc/textops_admin.xml b/modules_k/textops/doc/textops_admin.xml
index b978f36..efe208b 100644
--- a/modules_k/textops/doc/textops_admin.xml
+++ b/modules_k/textops/doc/textops_admin.xml
@@ -1024,7 +1024,9 @@ if(is_method("OPTION|UPDATE"))
 		<function moreinfo="none">remove_hf(hname)</function>
 		</title>
 		<para>
-		Remove from message all headers with name <quote>hname</quote>
+		Remove from message all headers with name <quote>hname</quote>. 
+		Header matching is case-insensitive. Matches and removes also
+		the compact header forms.
 		</para>
 		<para>
 		Returns true if at least one header is found and removed.
@@ -1048,6 +1050,10 @@ if(remove_hf("User-Agent"))
 {
     # User Agent header removed
 }
+# compact form: remove "Contact" or "m" header
+remove_hf("Contact")
+# compact form: remove "Contact" or "m" header
+remove_hf("m")
 ...
 </programlisting>
 		</example>




More information about the sr-dev mailing list