AST_CONFIG()
Synopsis
Retrieve a variable from a configuration file.
Description
This function reads a variable from an Asterisk configuration file.
Syntax
AST_CONFIG(config_file,category,variable_name[,index])
Arguments
config_filecategoryvariable_nameindex- If there are multiple variables with the same name, you can specify0for the first item (default),-1for the last item, or any other number for that specific item.-1is useful when the variable is derived from a template and you want the effective value (the last occurrence), not the value from the template (the first occurrence).
See Also
Import Version
This documentation was imported from Asterisk Version GIT-master-7d17164