Module: kamailio
Branch: 5.1
Commit: b55ba8f7e095960b3874c5dba3e13569d99b2cb9
URL: https://github.com/kamailio/kamailio/commit/b55ba8f7e095960b3874c5dba3e1356…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-07-28T21:46:20+02:00
db_text: small fix in docs
(cherry picked from commit 6b946807dfa77eeead83b5a4650bd3e59f75ba57)
---
Modified: src/modules/db_text/doc/db_text_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/b55ba8f7e095960b3874c5dba3e1356…
Patch: https://github.com/kamailio/kamailio/commit/b55ba8f7e095960b3874c5dba3e1356…
---
diff --git a/src/modules/db_text/doc/db_text_admin.xml b/src/modules/db_text/doc/db_text_admin.xml
index 9c04f106dd..68ab324afc 100644
--- a/src/modules/db_text/doc/db_text_admin.xml
+++ b/src/modules/db_text/doc/db_text_admin.xml
@@ -434,7 +434,7 @@ modparam("module_name", "db_url", "text:///path/to/dbtext/database")
Here are definitions for the most important tables as well as a basic
configuration file to use db_text with &kamailio;. The table structures
may change in time and you will have to adjust these examples. Check the
- source code directory <quote>utils/kamctl/dbtxt/kamailio</quote> for
+ source code directory <quote>utils/kamctl/dbtext/kamailio</quote> for
current definitions.
</para>
<para>
Module: kamailio
Branch: 5.2
Commit: 228154df82bbc2ebfa4edaf5e1bb91453bfb53e5
URL: https://github.com/kamailio/kamailio/commit/228154df82bbc2ebfa4edaf5e1bb914…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-07-28T21:46:15+02:00
db_text: small fix in docs
(cherry picked from commit 6b946807dfa77eeead83b5a4650bd3e59f75ba57)
---
Modified: src/modules/db_text/doc/db_text_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/228154df82bbc2ebfa4edaf5e1bb914…
Patch: https://github.com/kamailio/kamailio/commit/228154df82bbc2ebfa4edaf5e1bb914…
---
diff --git a/src/modules/db_text/doc/db_text_admin.xml b/src/modules/db_text/doc/db_text_admin.xml
index 9c04f106dd..68ab324afc 100644
--- a/src/modules/db_text/doc/db_text_admin.xml
+++ b/src/modules/db_text/doc/db_text_admin.xml
@@ -434,7 +434,7 @@ modparam("module_name", "db_url", "text:///path/to/dbtext/database")
Here are definitions for the most important tables as well as a basic
configuration file to use db_text with &kamailio;. The table structures
may change in time and you will have to adjust these examples. Check the
- source code directory <quote>utils/kamctl/dbtxt/kamailio</quote> for
+ source code directory <quote>utils/kamctl/dbtext/kamailio</quote> for
current definitions.
</para>
<para>
Module: kamailio
Branch: master
Commit: 6b946807dfa77eeead83b5a4650bd3e59f75ba57
URL: https://github.com/kamailio/kamailio/commit/6b946807dfa77eeead83b5a4650bd3e…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-07-28T21:45:38+02:00
db_text: small fix in docs
---
Modified: src/modules/db_text/doc/db_text_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/6b946807dfa77eeead83b5a4650bd3e…
Patch: https://github.com/kamailio/kamailio/commit/6b946807dfa77eeead83b5a4650bd3e…
---
diff --git a/src/modules/db_text/doc/db_text_admin.xml b/src/modules/db_text/doc/db_text_admin.xml
index 9c04f106dd..68ab324afc 100644
--- a/src/modules/db_text/doc/db_text_admin.xml
+++ b/src/modules/db_text/doc/db_text_admin.xml
@@ -434,7 +434,7 @@ modparam("module_name", "db_url", "text:///path/to/dbtext/database")
Here are definitions for the most important tables as well as a basic
configuration file to use db_text with &kamailio;. The table structures
may change in time and you will have to adjust these examples. Check the
- source code directory <quote>utils/kamctl/dbtxt/kamailio</quote> for
+ source code directory <quote>utils/kamctl/dbtext/kamailio</quote> for
current definitions.
</para>
<para>
Module: kamailio
Branch: master
Commit: 5d5ff47e6a942ae5ae9ff0e5684ca13abf8fe36f
URL: https://github.com/kamailio/kamailio/commit/5d5ff47e6a942ae5ae9ff0e5684ca13…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2019-07-28T20:01:40+02:00
modules: readme files regenerated - async ... [skip ci]
---
Modified: src/modules/async/README
---
Diff: https://github.com/kamailio/kamailio/commit/5d5ff47e6a942ae5ae9ff0e5684ca13…
Patch: https://github.com/kamailio/kamailio/commit/5d5ff47e6a942ae5ae9ff0e5684ca13…
---
diff --git a/src/modules/async/README b/src/modules/async/README
index fe5b244b5b..e26f2ea584 100644
--- a/src/modules/async/README
+++ b/src/modules/async/README
@@ -120,15 +120,16 @@ modparam("async", "workers", 2)
3.2. ms_timer (int)
Enables millisecond timer for async_ms_sleep() and async_ms_route()
- functions. The integer value is the timer resolution in milliseconds.
- ms_timer = 1 enables 1 millisecond timer but generates higher load on
- the system. ms_timer = 20 enables 20 ms timer.
+ functions. The integer value is the timer resolution in milliseconds. A
+ smaller timer resultion will generate a higher load on the system. If
+ you set ms_timer to 1 you will get a timer with 1 millisecond
+ resultion, a setting of 20 provides a resultion of 20ms.
Default value is 0.
Example 1.2. Set ms_timer parameter
...
-modparam("async", "ms_timer", 1)
+modparam("async", "ms_timer", 10)
...
4. Functions
Module: kamailio
Branch: master
Commit: 7cc2d3168f4cb5be2c9a0d9158cc9c74705bc3ad
URL: https://github.com/kamailio/kamailio/commit/7cc2d3168f4cb5be2c9a0d9158cc9c7…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-07-28T19:52:44+02:00
async: small extension of the description for the ms_timer parameter
---
Modified: src/modules/async/doc/async_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/7cc2d3168f4cb5be2c9a0d9158cc9c7…
Patch: https://github.com/kamailio/kamailio/commit/7cc2d3168f4cb5be2c9a0d9158cc9c7…
---
diff --git a/src/modules/async/doc/async_admin.xml b/src/modules/async/doc/async_admin.xml
index 0ad1d3b4fe..5e9277a194 100644
--- a/src/modules/async/doc/async_admin.xml
+++ b/src/modules/async/doc/async_admin.xml
@@ -92,9 +92,10 @@ modparam("async", "workers", 2)
<title><varname>ms_timer</varname> (int)</title>
<para>
Enables millisecond timer for async_ms_sleep() and async_ms_route() functions.
- The integer value is the timer resolution in milliseconds.
- ms_timer = 1 enables 1 millisecond timer but generates higher load on the system.
- ms_timer = 20 enables 20 ms timer.
+ The integer value is the timer resolution in milliseconds. A smaller timer
+ resultion will generate a higher load on the system. If you set ms_timer
+ to 1 you will get a timer with 1 millisecond resultion, a setting of 20
+ provides a resultion of 20ms.
</para>
<para>
<emphasis>
@@ -105,7 +106,7 @@ modparam("async", "workers", 2)
<title>Set <varname>ms_timer</varname> parameter</title>
<programlisting format="linespecific">
...
-modparam("async", "ms_timer", 1)
+modparam("async", "ms_timer", 10)
...
</programlisting>
</example>
Module: kamailio
Branch: master
Commit: 124a5b16253926e748ba2724322b1b68f443c319
URL: https://github.com/kamailio/kamailio/commit/124a5b16253926e748ba2724322b1b6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-07-28T16:41:46+02:00
async: docs - use > instead of > in example for valid xml syntax
- coherent white spacing
---
Modified: src/modules/async/doc/async_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/124a5b16253926e748ba2724322b1b6…
Patch: https://github.com/kamailio/kamailio/commit/124a5b16253926e748ba2724322b1b6…
---
diff --git a/src/modules/async/doc/async_admin.xml b/src/modules/async/doc/async_admin.xml
index c07beabfab..0ad1d3b4fe 100644
--- a/src/modules/async/doc/async_admin.xml
+++ b/src/modules/async/doc/async_admin.xml
@@ -94,7 +94,7 @@ modparam("async", "workers", 2)
Enables millisecond timer for async_ms_sleep() and async_ms_route() functions.
The integer value is the timer resolution in milliseconds.
ms_timer = 1 enables 1 millisecond timer but generates higher load on the system.
- ms_timer = 20 enables 20 ms timer.
+ ms_timer = 20 enables 20 ms timer.
</para>
<para>
<emphasis>
@@ -115,10 +115,10 @@ modparam("async", "ms_timer", 1)
<section>
<title>Functions</title>
<section id="async.f.async_route">
- <title>
+ <title>
<function moreinfo="none">async_route(routename, seconds)</function>
- </title>
- <para>
+ </title>
+ <para>
Simulate a sleep of 'seconds' and then continue the processing of the SIP
request with the route[routename]. In case of internal errors, the
function returns false, otherwise the function exits the execution of
@@ -157,13 +157,13 @@ route[RESUME] {
}
...
</programlisting>
- </example>
+ </example>
</section>
<section id="async.f.async_ms_route">
- <title>
+ <title>
<function moreinfo="none">async_ms_route(routename, milliseconds)</function>
- </title>
- <para>
+ </title>
+ <para>
Simulate a sleep of 'milliseconds' and then continue the processing of the SIP
request with the route[routename]. In case of internal errors, the
function returns false, otherwise the function exits the execution of
@@ -203,14 +203,14 @@ route[RESUME] {
}
...
</programlisting>
- </example>
+ </example>
</section>
<section id="async.f.async_sleep">
- <title>
+ <title>
<function moreinfo="none">async_sleep(seconds)</function>
- </title>
- <para>
+ </title>
+ <para>
Simulate a sleep of 'seconds' and then continue the processing of SIP
request with the next action. In case of internal errors, the function
returns false.
@@ -232,14 +232,14 @@ send_reply("404", "Not found");
exit;
...
</programlisting>
- </example>
+ </example>
</section>
<section id="async.f.async_ms_sleep">
- <title>
+ <title>
<function moreinfo="none">async_ms_sleep(milliseconds)</function>
- </title>
- <para>
+ </title>
+ <para>
Simulate a sleep of 'milliseconds' and then continue the processing of SIP
request with the next action. In case of internal errors, the function
returns false.
@@ -258,33 +258,33 @@ exit;
<programlisting format="linespecific">
...
route[REQUESTSHAPER] {
- $var(res) = http_connect("leakybucket",
- "/add?key=$fd", $null, $null,"$avp(delay)");
- $var(d) = $(avp(delay){s.int});
- if ($var(d) > 0) {
+ $var(res) = http_connect("leakybucket",
+ "/add?key=$fd", $null, $null,"$avp(delay)");
+ $var(d) = $(avp(delay){s.int});
+ if ($var(d) > 0) {
# Delay the request by $avp(delay) ms
async_ms_sleep("$var(d)");
if (!t_relay()) {
sl_reply_error();
}
exit;
- }
+ }
# No delay
if (!t_relay()) {
sl_reply_error();
}
- exit;
+ exit;
}
...
</programlisting>
- </example>
+ </example>
</section>
<section id="async.f.async_task_route">
- <title>
+ <title>
<function moreinfo="none">async_task_route(routename)</function>
- </title>
- <para>
+ </title>
+ <para>
Continue the processing of the SIP request with the route[routename]
in one of the processes from core asynchronous framework. The core
parameter async_workers has to be set to enable asynchronous
@@ -304,7 +304,7 @@ route[REQUESTSHAPER] {
async_workers=8
...
</programlisting>
- </example>
+ </example>
</para>
<para>
In case of internal errors, the function returns false, otherwise the
@@ -339,7 +339,7 @@ route[RESUME] {
}
...
</programlisting>
- </example>
+ </example>
</section>
</section>
</chapter>