Created a patch for 4.1 which allows to display also the total number of pkg fragments upon calling kamcmd pkg.stats. This combines part of the master logic with existing 4.1 logic (for example this version does not combine the SREV_PKG_SET_USED, SREV_PKG_SET_REAL_USED, SREV_PKG_SET_FRAGS into one callback.)
Does this look ok? Feel free to close this if not needed.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/575
-- Commit Summary --
* kex: adding total_frags to kamcmd pkg.stats
-- File Changes --
M events.c (13)
M events.h (2)
M mem/f_malloc.c (9)
M mem/f_malloc.h (1)
M mem/q_malloc.c (20)
M mem/q_malloc.h (1)
M modules/kex/pkg_stats.c (17)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/575.patchhttps://github.com/kamailio/kamailio/pull/575.diff
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/575
Module: kamailio
Branch: master
Commit: 49c198a44a2148d086f24510556cb362e335ae68
URL: https://github.com/kamailio/kamailio/commit/49c198a44a2148d086f24510556cb36…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2016-04-21T10:58:44+02:00
registrar clarification on "domain" in ulc - it's the name of the table used for storing, not the domain in the uri
---
Modified: modules/registrar/README
Modified: modules/registrar/doc/registrar_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/49c198a44a2148d086f24510556cb36…
Patch: https://github.com/kamailio/kamailio/commit/49c198a44a2148d086f24510556cb36…
---
diff --git a/modules/registrar/README b/modules/registrar/README
index 3dca05e..b9e4c94 100644
--- a/modules/registrar/README
+++ b/modules/registrar/README
@@ -1075,7 +1075,7 @@ event_route[usrloc:contact-expired] {
The "attr" can be:
* aor - address of record
- * domain - use location domain name
+ * domain - used location domain/table name
* aorhash - hash id for the record
* addr - contact address
* path - path vector
diff --git a/modules/registrar/doc/registrar_admin.xml b/modules/registrar/doc/registrar_admin.xml
index 11f6d21..2cd0aa2 100644
--- a/modules/registrar/doc/registrar_admin.xml
+++ b/modules/registrar/doc/registrar_admin.xml
@@ -1443,7 +1443,7 @@ event_route[usrloc:contact-expired] {
</para>
</listitem>
<listitem>
- <para><emphasis>domain</emphasis> - use location domain name
+ <para><emphasis>domain</emphasis> - used location domain/table name
</para>
</listitem>
<listitem>