<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/Function_FILE?focusedCommentId=13076883#comment-13076883">Function_FILE</a></h2>
    <h4>Comment edited by             <a href="https://wiki.asterisk.org/wiki/display/~mdavenport">Malcolm Davenport</a>
     :</h4>
    <br/>
                        <h4>Changes (2)</h4>
                                
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-unchanged" >I made an example for this which will save into the file. <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat} <br></td></tr>
            <tr><td class="diff-unchanged" >;test Read DTMF Digits <br>exten =&gt; 800,1,Read(Digits,enter-ext-of-person) <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >exten =&gt; 800,n,SayDigits(${Digits}) <br>exten =&gt; 800,n,Set(FILE(/tmp/luisavedtmf.txt,,,al)=${Digits}) <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{noformat} <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                          <div class="notificationGreySide">
            <p>I made an example for this which will save into the file.</p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>;test Read DTMF Digits
exten =&gt; 800,1,Read(Digits,enter-ext-of-person)
exten =&gt; 800,n,Playback(you-entered)
exten =&gt; 800,n,SayDigits(${Digits})
exten =&gt; 800,n,Set(FILE(/tmp/luisavedtmf.txt,,,al)=${Digits})
</pre>
</div></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/Function_FILE?focusedCommentId=13076883#comment-13076883">View Online</a>
              |
       <a id="reply-13076883" href="https://wiki.asterisk.org/wiki/display/AST/Function_FILE?replyToComment=13076883#comment-13076883">Reply To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>