Name

GetConfig — Retrieves configuration

Retrieves the data from an Asterisk configuration file.

Parameters

Filename

[required]Name of the configuration file to retrieve.

ActionID

[optional] An identifier that can be used to identify the response to this action.

Privilege

config, all

Example

          Action: GetConfig
Filename: musiconhold.conf
ActionID: 09235012
          
Response: Success
ActionID: 09235012
Category-000000: default
Line-000000-000000: mode=files
Line-000000-000001: directory=/var/lib/asterisk/moh
Line-000000-000002: random=yes