Module: kamailio
Branch: master
Commit: 5750b405e78de7d2f701708f9c41126c3173d8f5
URL: https://github.com/kamailio/kamailio/commit/5750b405e78de7d2f701708f9c41126…
Author: Your Name <you(a)example.com>
Committer: Your Name <you(a)example.com>
Date: 2020-02-20T10:35:19-05:00
usrloc: Updated documentation for 'timer_procs' parameter to clarify purpose of having multiple timer processes.
Raised in this sr-users thread by Joel Serrano:
https://lists.kamailio.org/pipermail/sr-users/2020-February/108306.html
---
Modified: src/modules/usrloc/README
Modified: src/modules/usrloc/doc/usrloc_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/5750b405e78de7d2f701708f9c41126…
Patch: https://github.com/kamailio/kamailio/commit/5750b405e78de7d2f701708f9c41126…
---
diff --git a/src/modules/usrloc/README b/src/modules/usrloc/README
index ff466b0e78..40f9f0f1cd 100644
--- a/src/modules/usrloc/README
+++ b/src/modules/usrloc/README
@@ -854,6 +854,12 @@ modparam("usrloc", "db_check_update", 1)
set to 0, no dedicated timer is started, the one from core will be
used.
+ If the number of timer processes is greater than 1, the workload
+ of synchronization and record expiration is split up among the
+ multiple processes. (Each process is assigned a range of slots
+ from the internal hash table, and is responsible for cleanup and
+ storage on those slots.)
+
Default value is “0”.
Example 1.36. Set timer_procs parameter
diff --git a/src/modules/usrloc/doc/usrloc_admin.xml b/src/modules/usrloc/doc/usrloc_admin.xml
index 0f14209784..d23b2a9e7e 100644
--- a/src/modules/usrloc/doc/usrloc_admin.xml
+++ b/src/modules/usrloc/doc/usrloc_admin.xml
@@ -952,6 +952,14 @@ modparam("usrloc", "db_check_update", 1)
database. If set to 0, no dedicated timer is started, the one from
core will be used.
</para>
+
+ <para>
+ If the number of timer processes is greater than 1, the workload
+ of synchronization and record expiration is split up among the
+ multiple processes. (Each process is assigned a range of slots
+ from the internal hash table, and is responsible for cleanup and
+ storage on those slots.)
+ </para>
<para>
<emphasis>
Default value is <quote>0</quote>.
Hello,
I am using ims qos module to send Rx_AAR for dedicated bearer via Diameter
RX interface. Kamailio PCSCF is configured with #!define WITH_RX_CALL. It
is working as expected but I have an issue with the release of the bearer
after the call is disconnected. There is no function available to release
the bearer. As I saw the only way to do this is via the rx_auth_expiry
which is static:
modparam("ims_qos", "rx_auth_expiry", 120)
Is this something that is planned to be developed in the future or there is
something I am missing?
Thanks in advance!
Regards,
Pavel
Module: kamailio
Branch: master
Commit: b96a1be81c6f4bb8ac3a8b11a02fc5d6a55faf41
URL: https://github.com/kamailio/kamailio/commit/b96a1be81c6f4bb8ac3a8b11a02fc5d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-02-21T09:54:18+01:00
kex: docs for rpc stats.fetchn command
---
Modified: src/modules/kex/doc/kex_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/b96a1be81c6f4bb8ac3a8b11a02fc5d…
Patch: https://github.com/kamailio/kamailio/commit/b96a1be81c6f4bb8ac3a8b11a02fc5d…
---
diff --git a/src/modules/kex/doc/kex_admin.xml b/src/modules/kex/doc/kex_admin.xml
index 4893b4a280..334f989342 100644
--- a/src/modules/kex/doc/kex_admin.xml
+++ b/src/modules/kex/doc/kex_admin.xml
@@ -740,8 +740,8 @@ resetdebug();
<para>Print the list of available internal statistics.</para>
<para>NOTE: the result is an array of strings that have the list of
statistics formated like "name = value", being propagated over the time
- from the MI variant. Use "stats.fetch" command to have a more
- JSON-friendly output.</para>
+ from the MI variant. Use "stats.fetch" or "stats.fetchn"commands to have
+ a more JSON-friendly output.</para>
<para>Parameters: <emphasis>statsid</emphasis> - which statistics to
be printed. If set to 'all' then all statistics are printed; if
set to 'statsgroup:' then all statistics in the group are printed;
@@ -777,6 +777,29 @@ resetdebug();
&kamcmd; stats.fetch shmem.free_size
&kamcmd; stats.fetch shmem: fwd_requests fwd_replies
</programlisting>
+ </section>
+ <section id="kex.r.stats.fetchn">
+ <title>
+ <function moreinfo="none">stats.fetchn</function>
+ </title>
+ <para>Print the list of available internal statistics with a more
+ json friendly output. Each printed statistic is a field in the output
+ structure: {"statsgroup.statsname" : statsvalue}. The value is
+ represented as number.</para>
+ <para>Parameters: <emphasis>statsid</emphasis> - which statistics to
+ be printed. If set to 'all' then all statistics are printed; if
+ set to 'statsgroup:' then all statistics in the group are printed;
+ if set to 'statsname' then the statistics identified by the name
+ is printed (can be also 'statsgroup.stastname' or
+ 'statsgroup:statsname').</para>
+ <para>Examples:</para>
+ <programlisting format="linespecific">
+ &kamcmd; stats.fetchn all
+ &kamcmd; stats.fetchn core:
+ &kamcmd; stats.fetchn unsupported_methods
+ &kamcmd; stats.fetchn shmem.free_size
+ &kamcmd; stats.fetchn shmem: fwd_requests fwd_replies
+ </programlisting>
</section>
<section id="kex.r.stats.reset_statistics">
<title>