|
@@ -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"
|