Asterisk Project : Function_EVAL This page last changed on Mar 30, 2011 by wikibot. # EVAL() ### Synopsis Evaluate stored variables ### Description Using EVAL basically causes a string to be evaluated twice. When a variable or expression is in the dialplan, it will be evaluated at runtime. However, if the results of the evaluation is in fact another variable or expression, using EVAL will have it evaluated a second time. Example: If the Example: If the `None` - `MYVAR` contains Example: If the `None` - `OTHERVAR`, then the result of ${EVAL( Example: If the `None` - `MYVAR` )} in the dialplan will be the contents of Example: If the `None` - `OTHERVAR`. Normally just putting Example: If the `None` - `MYVAR` in the dialplan the result would be Example: If the `None` - `OTHERVAR`. ### Syntax
    EVAL(variable)
##### Arguments `variable` ### See Also ### Import Version This documentation was imported from Asterisk version SVN-branch-1.8-r311874.

Document generated by Confluence on Oct 04, 2011 12:42