1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>Asterisk Project : Asterisk 13 Function_EVAL</title>
- <link rel="stylesheet" href="styles/site.css" type="text/css" />
- <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
- </head>
- <body class="theme-default aui-theme-default">
- <div id="page">
- <div id="main" class="aui-page-panel">
- <div id="main-header">
- <div id="breadcrumb-section">
- <ol id="breadcrumbs">
- <li class="first">
- <span><a href="index.html">Asterisk Project</a></span>
- </li>
- <li>
- <span><a href="Asterisk-13-Command-Reference_29394274.html">Asterisk 13 Command Reference</a></span>
- </li>
- <li>
- <span><a href="Asterisk-13-Dialplan-Functions_29394287.html">Asterisk 13 Dialplan Functions</a></span>
- </li>
- </ol>
- </div>
- <h1 id="title-heading" class="pagetitle">
- <span id="title-text">
- Asterisk Project : Asterisk 13 Function_EVAL
- </span>
- </h1>
- </div>
- <div id="content" class="view">
- <div class="page-metadata">
-
-
-
-
-
-
-
- Created by <span class='author'> wikibot</span> on Aug 08, 2014
- </div>
- <div id="main-content" class="wiki-content group">
- <h1 id="Asterisk13Function_EVAL-EVAL()">EVAL()</h1>
- <h3 id="Asterisk13Function_EVAL-Synopsis">Synopsis</h3>
- <p>Evaluate stored variables</p>
- <h3 id="Asterisk13Function_EVAL-Description">Description</h3>
- <p>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.</p>
- <p>Example: If the <code>MYVAR</code> contains <code>OTHERVAR</code>, then the result of ${EVAL( <code>MYVAR</code>)} in the dialplan will be the contents of <code>OTHERVAR</code>. Normally just putting <code>MYVAR</code> in the dialplan the result would be <code>OTHERVAR</code>.</p>
- <h3 id="Asterisk13Function_EVAL-Syntax">Syntax</h3>
- <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
- <pre>EVAL(variable)</pre>
- </div></div>
- <h5 id="Asterisk13Function_EVAL-Arguments">Arguments</h5>
- <ul>
- <li><code>variable</code></li>
- </ul>
- <h3 id="Asterisk13Function_EVAL-SeeAlso">See Also</h3>
- <h3 id="Asterisk13Function_EVAL-ImportVersion">Import Version</h3>
- <p>This documentation was imported from Asterisk Version SVN-branch-13-r420538</p>
- </div>
-
-
- </div> </div>
- <div id="footer">
- <section class="footer-body">
- <p>Document generated by Confluence on Aug 11, 2014 13:46</p>
- </section>
- </div>
- </div> </body>
- </html>
|