<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>Page
        <b>comment added</b> by              <a href="https://wiki.asterisk.org/wiki/display/~johnlouisgarcia@gmail.com">John Louis Garcia</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <p>I made an example for this which will save into the file.</p>

<p>;test Read DTMF Digits<br/>
exten =&gt; 800,1,Read(Digits,enter-ext-of-person)<br/>
exten =&gt; 800,n,Playback(you-entered)<br/>
exten =&gt; 800,n,SayDigits($</p>
<div class="error"><span class="error">Unknown macro: {Digits}</span> <p>)<br/>
exten =&gt; 800,n,Set(FILE(/tmp/luisavedtmf.txt,,,al)=$</p></div>
<p>)</p>

    </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>