<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello again list,<o:p></o:p></p><p class=MsoNormal> Did the following: (on 1.4.42 installation)<o:p></o:p></p><p class=MsoNormal>asterisk -rx "core show application read"<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> -= Info about application 'Read' =-<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[Synopsis]<o:p></o:p></p><p class=MsoNormal>Read a variable<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[Description]<o:p></o:p></p><p class=MsoNormal> Read(variable[|filename][|maxdigits][|option][|attempts][|timeout])<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Reads a #-terminated string of digits a certain number of times from the<o:p></o:p></p><p class=MsoNormal>user in to the given variable.<o:p></o:p></p><p class=MsoNormal> filename -- file to play before reading digits or tone with option i<o:p></o:p></p><p class=MsoNormal> maxdigits -- maximum acceptable number of digits. Stops reading after<o:p></o:p></p><p class=MsoNormal> maxdigits have been entered (without requiring the user to<o:p></o:p></p><p class=MsoNormal> press the '#' key).<o:p></o:p></p><p class=MsoNormal> Defaults to 0 - no limit - wait for the user press the '#' key.<o:p></o:p></p><p class=MsoNormal> Any value below 0 means the same. Max accepted value is 255.<o:p></o:p></p><p class=MsoNormal> option -- options are 's' , 'i', 'n'<o:p></o:p></p><p class=MsoNormal> 's' to return immediately if the line is not up,<o:p></o:p></p><p class=MsoNormal> 'i' to play filename as an indication tone from your indications.conf<o:p></o:p></p><p class=MsoNormal> 'n' to read digits even if the line is not up.<o:p></o:p></p><p class=MsoNormal> attempts -- if greater than 1, that many attempts will be made in the<o:p></o:p></p><p class=MsoNormal> event no data is entered.<o:p></o:p></p><p class=MsoNormal> timeout -- An integer number of seconds to wait for a digit response. If greater<o:p></o:p></p><p class=MsoNormal> than 0, that value will override the default timeout.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Read should disconnect if the function fails or errors out.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I need for Asterisk to “keep going” if I have a problem with Read() or at least playback some kind of warning. Any suggestions?<o:p></o:p></p><p class=MsoNormal>P.S. The “Read should disconnect” line does not show up in my 10.0 install.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks<o:p></o:p></p><p class=MsoNormal>Danny Nicholas<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>