Module: kamailio
Branch: master
Commit: 6457634c963c0f65aaf4f3ce6573490609637f74
URL: https://github.com/kamailio/kamailio/commit/6457634c963c0f65aaf4f3ce6573490…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-09-21T16:41:41+02:00
kex: more details about rpc stats.fetch output
---
Modified: src/modules/kex/doc/kex_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/6457634c963c0f65aaf4f3ce6573490…
Patch: https://github.com/kamailio/kamailio/commit/6457634c963c0f65aaf4f3ce6573490…
---
diff --git a/src/modules/kex/doc/kex_admin.xml b/src/modules/kex/doc/kex_admin.xml
index 902261e146..539ef08d2a 100644
--- a/src/modules/kex/doc/kex_admin.xml
+++ b/src/modules/kex/doc/kex_admin.xml
@@ -752,7 +752,10 @@ resetdebug();
<title>
<function moreinfo="none">stats.fetch</function>
</title>
- <para>Print the list of available internal statistics.</para>
+ <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 string to accomodate large numbers.</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;
Module: kamailio
Branch: master
Commit: 40273d15a4bf574da1b31d9a5ec4be7c4b6eb879
URL: https://github.com/kamailio/kamailio/commit/40273d15a4bf574da1b31d9a5ec4be7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-09-21T16:36:59+02:00
kex: documentation for rpc stats.fetch
---
Modified: src/modules/kex/doc/kex_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/40273d15a4bf574da1b31d9a5ec4be7…
Patch: https://github.com/kamailio/kamailio/commit/40273d15a4bf574da1b31d9a5ec4be7…
---
diff --git a/src/modules/kex/doc/kex_admin.xml b/src/modules/kex/doc/kex_admin.xml
index 7eabc02160..902261e146 100644
--- a/src/modules/kex/doc/kex_admin.xml
+++ b/src/modules/kex/doc/kex_admin.xml
@@ -748,6 +748,26 @@ resetdebug();
&kamcmd; stats.get_statistics shmem: fwd_requests fwd_replies
</programlisting>
</section>
+ <section id="kex.r.stats.fetch">
+ <title>
+ <function moreinfo="none">stats.fetch</function>
+ </title>
+ <para>Print the list of available internal statistics.</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.fetch all
+ &kamcmd; stats.fetch core:
+ &kamcmd; stats.fetch unsupported_methods
+ &kamcmd; stats.fetch shmem.free_size
+ &kamcmd; stats.fetch shmem: fwd_requests fwd_replies
+ </programlisting>
+ </section>
<section id="kex.r.stats.reset_statistics">
<title>
<function moreinfo="none">stats.reset_statistics</function>
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [ ] Commit message has the format required by CONTRIBUTING guide
- [ ] Commits are split per component (core, individual modules, libs, utils, ...)
- [ ] Each component has a single commit (if not, squash them into one commit)
- [ ] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [X] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
In nutshell, this PR adds support for sec-agree parameters parsing in PCSCF.
ims_usrloc_pcscf can store security related parameters from sec-agree extension. However ims_register_pcscf doesn't parse the corresponding SIP headers. This PR adds code, which parses security-client header fields and stores them via ims_usrloc_pcscf.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1238
-- Commit Summary --
* ims_registrar_pcscf: Add support for sec-agree parameters parsing
-- File Changes --
M src/modules/ims_registrar_pcscf/save.c (23)
A src/modules/ims_registrar_pcscf/sec_agree.c (207)
A src/modules/ims_registrar_pcscf/sec_agree.h (16)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1238.patchhttps://github.com/kamailio/kamailio/pull/1238.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/1238