Module: sip-router
Branch: master
Commit: aa5585bb26b9fc78e1c89501159d78413fd95fd8
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=aa5585b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun May 30 11:00:10 2010 +0200
xcap_server: removed duplicated docs
---
modules_k/xcap_server/README | 43 +++++++---------------
modules_k/xcap_server/doc/xcap_server_admin.xml | 19 ----------
2 files changed, 14 insertions(+), 48 deletions(-)
diff --git a/modules_k/xcap_server/README b/modules_k/xcap_server/README
index 4a07eef..3d482a7 100644
--- a/modules_k/xcap_server/README
+++ b/modules_k/xcap_server/README
@@ -28,8 +28,7 @@ Daniel-Constantin Mierla
3.1. db_url (string)
3.2. xcap_table (string)
3.3. xcap_root (str)
- 3.4. xcap_root (str)
- 3.5. buf_size (int)
+ 3.4. buf_size (int)
4. Exported Functions
@@ -44,12 +43,11 @@ Daniel-Constantin Mierla
1.1. Set the “db_url” parameter
1.2. Set the “xcap_table” parameter
1.3. Set url_match parameter
- 1.4. Set url_match parameter
- 1.5. Set the “buf_size” parameter
- 1.6. xcaps_put usage
- 1.7. xcaps_get usage
- 1.8. xcaps_del usage
- 1.9. sample xcap server
+ 1.4. Set the “buf_size” parameter
+ 1.5. xcaps_put usage
+ 1.6. xcaps_get usage
+ 1.7. xcaps_del usage
+ 1.8. sample xcap server
Chapter 1. Admin Guide
@@ -66,8 +64,7 @@ Chapter 1. Admin Guide
3.1. db_url (string)
3.2. xcap_table (string)
3.3. xcap_root (str)
- 3.4. xcap_root (str)
- 3.5. buf_size (int)
+ 3.4. buf_size (int)
4. Exported Functions
@@ -124,8 +121,7 @@ Chapter 1. Admin Guide
3.1. db_url (string)
3.2. xcap_table (string)
3.3. xcap_root (str)
- 3.4. xcap_root (str)
- 3.5. buf_size (int)
+ 3.4. buf_size (int)
3.1. db_url (string)
@@ -160,24 +156,13 @@ modparam("xcap_server", "xcap_table",
"xcapdocs")
modparam("xcap_server", "xcap_root", "/xcap-root/")
...
-3.4. xcap_root (str)
-
- XCAP root URL.
-
- Default value is '/xcap-root/'.
-
- Example 1.4. Set url_match parameter
-...
-modparam("xcap_server", "xcap_root", "/xcap-root/")
-...
-
-3.5. buf_size (int)
+3.4. buf_size (int)
Size of local buffer for handling XCAP documents.
Default value is “1024”.
- Example 1.5. Set the “buf_size” parameter
+ Example 1.4. Set the “buf_size” parameter
...
modparam("xcap_server", "buf_size", 2048)
...
@@ -192,7 +177,7 @@ modparam("xcap_server", "buf_size", 2048)
Handle XCAP PUT command.
- Example 1.6. xcaps_put usage
+ Example 1.5. xcaps_put usage
...
event_route[xhttp:request] {
if($hu=~"^/xcap-root/")
@@ -212,7 +197,7 @@ event_route[xhttp:request] {
Handle XCAP GET command.
- Example 1.7. xcaps_get usage
+ Example 1.6. xcaps_get usage
...
event_route[xhttp:request] {
if($hu=~"^/xcap-root/")
@@ -232,7 +217,7 @@ event_route[xhttp:request] {
Handle XCAP DELETE command.
- Example 1.8. xcaps_del usage
+ Example 1.7. xcaps_del usage
...
event_route[xhttp:request] {
if($hu=~"^/xcap-root/")
@@ -250,7 +235,7 @@ event_route[xhttp:request] {
5. Simple XCAP Server Config
- Example 1.9. sample xcap server
+ Example 1.8. sample xcap server
...
loadmodule "xhttp.so"
loadmodule "xcap_server.so"
diff --git a/modules_k/xcap_server/doc/xcap_server_admin.xml
b/modules_k/xcap_server/doc/xcap_server_admin.xml
index 09bc208..8d169d3 100644
--- a/modules_k/xcap_server/doc/xcap_server_admin.xml
+++ b/modules_k/xcap_server/doc/xcap_server_admin.xml
@@ -163,25 +163,6 @@ modparam("xcap_server", "xcap_root",
"/xcap-root/")
</example>
</section>
<section>
- <title><varname>xcap_root</varname> (str)</title>
- <para>
- XCAP root URL.
- </para>
- <para>
- <emphasis>
- Default value is '/xcap-root/'.
- </emphasis>
- </para>
- <example>
- <title>Set <varname>url_match</varname> parameter</title>
- <programlisting format="linespecific">
-...
-modparam("xcap_server", "xcap_root", "/xcap-root/")
-...
-</programlisting>
- </example>
- </section>
- <section>
<title><varname>buf_size</varname> (int)</title>
<para>
Size of local buffer for handling XCAP documents.