[sr-dev] git:master:e98bd848: cfg_rpc: documentation about group vars listing with rpc cfg.get
Daniel-Constantin Mierla
miconda at gmail.com
Tue Jan 23 17:35:01 CET 2018
Module: kamailio
Branch: master
Commit: e98bd84810b8faa7faf7af3384fc2c979725fe86
URL: https://github.com/kamailio/kamailio/commit/e98bd84810b8faa7faf7af3384fc2c979725fe86
Author: Huseyin Dikme <hueseyin.dikme at 1und1.de>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-01-23T16:59:25+01:00
cfg_rpc: documentation about group vars listing with rpc cfg.get
- part of PR #1321
---
Modified: src/modules/cfg_rpc/doc/rpc.xml
---
Diff: https://github.com/kamailio/kamailio/commit/e98bd84810b8faa7faf7af3384fc2c979725fe86.diff
Patch: https://github.com/kamailio/kamailio/commit/e98bd84810b8faa7faf7af3384fc2c979725fe86.patch
---
diff --git a/src/modules/cfg_rpc/doc/rpc.xml b/src/modules/cfg_rpc/doc/rpc.xml
index 9298247d83..9e4f2003eb 100644
--- a/src/modules/cfg_rpc/doc/rpc.xml
+++ b/src/modules/cfg_rpc/doc/rpc.xml
@@ -35,7 +35,8 @@
<para>
<emphasis>cfg.get</emphasis> - Get the value of
a configuration variable. The function accepts two parameters:
- group name, variable name. The group name can optionally contain the
+ group name, variable name, but if all the elements belonging to a certain group is wanted to be retrieved
+ then only the group name would suffice as the function parameter. The group name can optionally contain the
group instance id, for example foo[5].
</para>
<example>
@@ -43,6 +44,7 @@
<programlisting format="linespecific">
...
# &sercmd; cfg.get core debug
+# &sercmd; cfg.get tm
...
</programlisting>
</example>
More information about the sr-dev
mailing list