Retrieve a variable from a configuration file.
This function reads a variable from an Asterisk configuration file.
index- If there are multiple variables with the same name, you can specify
0for 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).
This documentation was imported from Asterisk Version SVN-branch-13-r430337