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¶
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 name 'TEMPLATES' can be used to control whether templates are included. Passing 'include' as the value will include templates along with normal categories. Passing 'restrict' as the value will restrict the operation to ONLY templates. Not specifying a 'TEMPLATES' expression results in the default behavior which is to not include templates.
See Also¶
- AMI Actions GetConfigJSON
- AMI Actions UpdateConfig
- AMI Actions CreateConfig
- AMI Actions ListCategories
Generated Version¶
This documentation was generated from Asterisk branch 16 using version GIT