GetConfig
Synopsis
Retrieve configuration.
Description
This action will dump the contents of a configuration file by category and contents or optionally by specified category only. In the case where a category name is non-unique, a filter may be specified to match only categories with matching variable values.
Syntax
Action: GetConfig ActionID: <value> Filename: <value> Category: <value> Filter: <value>
Arguments
ActionID
- ActionID for this transaction. Will be returned.Filename
- Configuration filename (e.g.foo.conf
).Category
- Category in configuration file.Filter
- A comma separated list of name_regex=value_regex expressions which will cause only categories whose variables match all expressions to be considered. The special variable nameTEMPLATES
can be used to control whether templates are included. Passinginclude
as the value will include templates along with normal categories. Passingrestrict
as the value will restrict the operation to ONLY templates. Not specifying aTEMPLATES
expression results in the default behavior which is to not include templates.
See Also
Import Version
This documentation was imported from Asterisk Version SVN-branch-12-r425782