Module: kamailio
Branch: master
Commit: 123fa9af495ee7b79e97fa4a9c54fd0618d6a9c0
URL:
https://github.com/kamailio/kamailio/commit/123fa9af495ee7b79e97fa4a9c54fd0…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2015-09-19T10:50:58+01:00
curl Add documentation for RPC command curl.listcon
---
Modified: modules/curl/README
Modified: modules/curl/doc/curl_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/123fa9af495ee7b79e97fa4a9c54fd0…
Patch:
https://github.com/kamailio/kamailio/commit/123fa9af495ee7b79e97fa4a9c54fd0…
---
diff --git a/modules/curl/README b/modules/curl/README
index 2929ae2..e145e4c 100644
--- a/modules/curl/README
+++ b/modules/curl/README
@@ -48,11 +48,15 @@ Carsten Bock
5.1. $curlerror(error)
- 6. Counters
+ 6. RPC Commands
- 6.1. curl.connections
- 6.2. curl.connok
- 6.3. curl.connfail
+ 6.1. curl.listcon
+
+ 7. Counters
+
+ 7.1. curl.connections
+ 7.2. curl.connok
+ 7.3. curl.connfail
List of Examples
@@ -95,11 +99,15 @@ Chapter 1. Admin Guide
5.1. $curlerror(error)
- 6. Counters
+ 6. RPC Commands
+
+ 6.1. curl.listcon
- 6.1. curl.connections
- 6.2. curl.connok
- 6.3. curl.connfail
+ 7. Counters
+
+ 7.1. curl.connections
+ 7.2. curl.connok
+ 7.3. curl.connfail
1. Overview
@@ -323,20 +331,31 @@ switch ($retcode) {
cURL error codes, please visit
http://curl.haxx.se/libcurl/c/libcurl-errors.html
-6. Counters
+6. RPC Commands
+
+ 6.1. curl.listcon
+
+6.1. curl.listcon
+
+ Lists all defined CURL connections
+
+ Parameters:
+ * No parameters
+
+7. Counters
- 6.1. curl.connections
- 6.2. curl.connok
- 6.3. curl.connfail
+ 7.1. curl.connections
+ 7.2. curl.connok
+ 7.3. curl.connfail
-6.1. curl.connections
+7.1. curl.connections
The number of connection definitions that are in-memory.
-6.2. curl.connok
+7.2. curl.connok
The number of successful connections since Kamailio start
-6.3. curl.connfail
+7.3. curl.connfail
The number of failed connections since Kamailio start
diff --git a/modules/curl/doc/curl_admin.xml b/modules/curl/doc/curl_admin.xml
index 5f33dd1..49445d4 100644
--- a/modules/curl/doc/curl_admin.xml
+++ b/modules/curl/doc/curl_admin.xml
@@ -337,6 +337,20 @@ switch ($retcode) {
</section>
</section>
<section>
+ <title>RPC Commands</title>
+ <section>
+ <title><function
moreinfo="none">curl.listcon</function></title>
+ <para>
+ Lists all defined CURL connections
+ </para>
+ <para>Parameters:</para>
+ <itemizedlist>
+ <listitem><para>No parameters</para></listitem>
+
+ </itemizedlist>
+ </section>
+ </section>
+ <section>
<title>Counters</title>
<section >
<title>