<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/2042/1/7/_/styles/combined.css?spaceKey=AST&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/AST/AEL+Debugging">AEL Debugging</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://wiki.asterisk.org/wiki/display/~pabelanger">Paul Belanger</a>
    </h4>
        <br/>
                         <h4>Changes (5)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >* Enable AEL contexts debug  <br>{code} <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-changed-words">*CLI<span class="diff-added-chars"style="background-color: #dfd;">&gt;</span></span> ael debug contexts <br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br> <br>* Enable AEL macros debug  <br>{code} <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-changed-words">*CLI<span class="diff-added-chars"style="background-color: #dfd;">&gt;</span></span> ael debug macros <br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br> <br>* Enable AEL read debug  <br>{code} <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-changed-words">*CLI<span class="diff-added-chars"style="background-color: #dfd;">&gt;</span></span> ael debug read <br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br> <br>* Enable AEL tokens debug  <br>{code} <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-changed-words">*CLI<span class="diff-added-chars"style="background-color: #dfd;">&gt;</span></span> ael debug tokens <br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br> <br>* Disable AEL debug messages  <br>{code} <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-changed-words">*CLI<span class="diff-added-chars"style="background-color: #dfd;">&gt;</span></span> ael no debug <br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <p>Right at this moment, the following commands are available, but do nothing: </p>

<ul>
        <li>Enable AEL contexts debug
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="toolbar: false; theme: Confluence; brush: java; gutter: false"><![CDATA[
*CLI&gt; ael debug contexts 
]]></script>
</div></div></li>
</ul>


<ul>
        <li>Enable AEL macros debug
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="toolbar: false; theme: Confluence; brush: java; gutter: false"><![CDATA[
*CLI&gt; ael debug macros 
]]></script>
</div></div></li>
</ul>


<ul>
        <li>Enable AEL read debug
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="toolbar: false; theme: Confluence; brush: java; gutter: false"><![CDATA[
*CLI&gt; ael debug read 
]]></script>
</div></div></li>
</ul>


<ul>
        <li>Enable AEL tokens debug
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="toolbar: false; theme: Confluence; brush: java; gutter: false"><![CDATA[
*CLI&gt; ael debug tokens 
]]></script>
</div></div></li>
</ul>


<ul>
        <li>Disable AEL debug messages
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="toolbar: false; theme: Confluence; brush: java; gutter: false"><![CDATA[
*CLI&gt; ael no debug 
]]></script>
</div></div></li>
</ul>


<div class='panelMacro'><table class='tipMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/wiki/images/icons/emoticons/check.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>If things are going wrong in your dialplan, you can use the following facilities to debug your file:
<ol>
        <li>The messages log in /var/log/asterisk. (from the checks done at load time).</li>
        <li>The "show dialplan" command in asterisk</li>
        <li>The standalone executable, "aelparse" built in the utils/ dir in the source.</li>
</ol>
</td></tr></table></div>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://wiki.asterisk.org/wiki/users/viewnotifications.action" class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://wiki.asterisk.org/wiki/display/AST/AEL+Debugging">View Online</a>
        |
        <a href="https://wiki.asterisk.org/wiki/pages/diffpagesbyversion.action?pageId=4620462&revisedVersion=3&originalVersion=2">View Changes</a>
                |
        <a href="https://wiki.asterisk.org/wiki/display/AST/AEL+Debugging?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>