Asterisk func AST_CONFIG

Synopsis:

This function reads a variable from an Asterisk configuration file.
Introduced in Asterisk 1.6.0.x.

Description:

AST_CONFIG(config_file,category,variable_name)

Notes

  • *CLI> core show function AST_CONFIG

Return value

Returns the requested variable value

Examples

; Goto current ${EXTEN} in SIP channel's default context
exten => _XXXX,1,Goto(${AST_CONFIG(sip.conf,${CALLERID(num)},context),${EXTEN},1)

See also


Synopsis:

This function reads a variable from an Asterisk configuration file.
Introduced in Asterisk 1.6.0.x.

Description:

AST_CONFIG(config_file,category,variable_name)

Notes

  • *CLI> core show function AST_CONFIG

Return value

Returns the requested variable value

Examples

; Goto current ${EXTEN} in SIP channel's default context
exten => _XXXX,1,Goto(${AST_CONFIG(sip.conf,${CALLERID(num)},context),${EXTEN},1)

See also


Created by: dant, Last modification: Thu 15 of Oct, 2009 (08:03 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+