Module: sip-router
Branch: master
Commit: af13a0709188a91e0f714b7c481ede865452281d
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=af13a07…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sat Jan 29 19:18:22 2011 +0100
textopsx: documented remove_body() function
---
modules/textopsx/README | 12 ++++++++++++
modules/textopsx/doc/functions.xml | 21 +++++++++++++++++++++
2 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/modules/textopsx/README b/modules/textopsx/README
index 73d894b..6e28690 100644
--- a/modules/textopsx/README
+++ b/modules/textopsx/README
@@ -17,6 +17,7 @@ Daniel-Constantin Mierla
1.2.1. msg_apply_changes()
1.2.2. change_reply_status(code, reason)
+ 1.2.3. remove_body()
1.1. Overview
@@ -68,3 +69,14 @@ onreply_route {
}
}
...
+
+1.2.3. remove_body()
+
+ Use this function to remove body of SIP requests or replies.
+
+ This function can be used from ANY_ROUTE.
+
+ Example 3. remove_body() usage
+...
+remove_body();
+...
diff --git a/modules/textopsx/doc/functions.xml b/modules/textopsx/doc/functions.xml
index 9d7d4f6..0e837a1 100644
--- a/modules/textopsx/doc/functions.xml
+++ b/modules/textopsx/doc/functions.xml
@@ -73,4 +73,25 @@ onreply_route {
</example>
</section>
+ <section id="textopsx.remove_body">
+ <title>
+ <function moreinfo="none">remove_body()</function>
+ </title>
+ <para>
+ Use this function to remove body of SIP requests or replies.
+ </para>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>remove_body()</function> usage</title>
+ <programlisting format="linespecific">
+...
+remove_body();
+...
+</programlisting>
+ </example>
+ </section>
+
+
</section>