Module: kamailio Branch: master Commit: e98bd84810b8faa7faf7af3384fc2c979725fe86 URL: https://github.com/kamailio/kamailio/commit/e98bd84810b8faa7faf7af3384fc2c97...
Author: Huseyin Dikme hueseyin.dikme@1und1.de Committer: Daniel-Constantin Mierla miconda@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/e98bd84810b8faa7faf7af3384fc2c97... Patch: https://github.com/kamailio/kamailio/commit/e98bd84810b8faa7faf7af3384fc2c97...
---
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>