My last message was wrong :<div><br></div><div>If the user doesn't enter any digits within 15 seconds, the file is played again and a second attempt is made. So the timeout parameter specified for Read() works.</div><div>
<br></div><div>But if the user enters the numbers, he might get disconnected for some obscure reason. If he enters "04755" and takes too long before entering the following number (timeout digit being set to 2 seconds), then he should anyway take "04755" as the number and continue the script. It is definitily very strange that the user gets disconnected. And that might happen when he entered his 5 first digits, 9 digits, ... seems random.</div>
<div><br></div><div><br><br><div class="gmail_quote">2012/10/30 Thomas Thomas <span dir="ltr"><<a href="mailto:debussy007@gmail.com" target="_blank">debussy007@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
But even then, it should do another attempt, play the file again and accept DMTF input, as I specified that there should be 2 attempts.<div><br></div><div><i style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">same => n,Read(mobileNumber,app/input-mobile,10,,2,15)</i></div>
<div class="HOEnZb"><div class="h5">
<div><font color="#222222" face="arial, sans-serif"><i><br></i></font><br><div class="gmail_quote">2012/10/30 Steve Edwards <span dir="ltr"><<a href="mailto:asterisk.org@sedwards.com" target="_blank">asterisk.org@sedwards.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Tue, 30 Oct 2012, Thomas Thomas wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am asking the user to enter his mobile phone followed by "#" using Read(). From time to time the Read() application disconnects the user while he is typing his number, though there is a 15 seconds timeout, and even if I type the number very fast it still may happen to me.<br>
</blockquote>
<br></div>
It has been my casual observation that the speed at which I enter digits on my phone is unrelated to the speed at which my cell provider delivers the digits to my Asterisk box.<br>
<br>
-- <br>
Thanks in advance,<br>
------------------------------<u></u>------------------------------<u></u>-------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com" target="_blank">sedwards@sedwards.com</a> Voice: <a href="tel:%2B1-760-468-3867" value="+17604683867" target="_blank">+1-760-468-3867</a> PST<br>
Newline Fax: <a href="tel:%2B1-760-731-3000" value="+17607313000" target="_blank">+1-760-731-3000</a><br>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>