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.
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.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867
<tel:%2B1-760-468-3867> PST
Newline Fax: +1-760-731-3000
<tel:%2B1-760-731-3000>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
------=_NextPart_000_008C_01CDB677.F93B02D0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml"
xmlns:o=3D"urn:schemas-microsoft-com:office:office"
xmlns:w=3D"urn:schemas-microsoft-com:office:word"
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml"
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html;
charset=3Dus-ascii"><meta name=3DGenerator content=3D"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;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","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-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.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=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body
lang=3DEN-US link=3Dblue vlink=3Dpurple><div class=3DWordSection1><p
class=3DMsoNormal><span
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Several
factors could be affecting the Read() operation. I had problems with
1.4 and DAHDI. They “magically” disappeared when I
went to 10.0. Also, depending on the carrier, you might need to set
LONG DTMF tones. <o:p></o:p></span></p><p
class=3DMsoNormal><span
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p
class=3DMsoNormal><b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at
lists.digium.com] <b>On Behalf Of </b>Thomas
Thomas<br><b>Sent:</b> Tuesday, October 30, 2012 4:48
AM<br><b>To:</b> Asterisk Users Mailing List - Non-Commercial
Discussion<br><b>Subject:</b> Re: [asterisk-users] Read
sometimes disconnects user<o:p></o:p></span></p><p
class=3DMsoNormal><o:p> </o:p></p><p
class=3DMsoNormal>My last message was wrong
:<o:p></o:p></p><div><p
class=3DMsoNormal><o:p> </o:p></p></div><div><p
class=3DMsoNormal>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.<o:p></o:p></p></div><div><p
class=3DMsoNormal><o:p> </o:p></p></div><div><p
class=3DMsoNormal>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.<o:p></o:p></p></div><div><p
class=3DMsoNormal><o:p> </o:p></p></div><div><p
class=3DMsoNormal
style=3D'margin-bottom:12.0pt'><o:p> </o:p></p><div><p
class=3DMsoNormal>2012/10/30 Thomas Thomas <<a
href=3D"mailto:debussy007 at gmail.com"
target=3D"_blank">debussy007 at
gmail.com</a>><o:p></o:p></p><p
class=3DMsoNormal>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.<o:p></o:p></p><div><p
class=3DMsoNormal><o:p> </o:p></p></div><div><p
class=3DMsoNormal><i><span
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222'>same
=3D>
n,Read(mobileNumber,app/input-mobile,10,,2,15)</span></i><o:p></o:p></p></div><div><div><div><p
class=3DMsoNormal
style=3D'margin-bottom:12.0pt'><o:p> </o:p></p><div><p
class=3DMsoNormal>2012/10/30 Steve Edwards <<a
href=3D"mailto:asterisk.org at sedwards.com"
target=3D"_blank">asterisk.org at
sedwards.com</a>><o:p></o:p></p><div><p
class=3DMsoNormal style=3D'margin-bottom:12.0pt'>On Tue, 30 Oct 2012,
Thomas Thomas wrote:<o:p></o:p></p><p
class=3DMsoNormal>I am asking the user to enter his mobile phone followed by
"#" using Read(). =