<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
Are you sure asterisk is receiving and processing DMTF correctly? Are
you using rfc2833, SIP INFO or inband DMTF? What is your asterisk
version? I use WaitExten(5) all the time, no matter if they are
single-digit or multiple-digit extensions.<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">--
Ing. Miguel Molina
Grupo de Tecnología
Millenium Phone Center
PBX: (+57 1)6500800 ext. 1201
Fax: (+57 1)6500816
Móvil: (+57)3138873587 </pre>
<br>
El 18/08/10 15:39, Kathryn Jones escribió:
<blockquote
cite="mid:AANLkTi=bhfQoZV1wvjMHCKXcOy4+uKt_Gd1YKORN+FWM@mail.gmail.com"
type="cite">Thanks for you reply :).<br>
<br>
I thought of that and tried replacing _X with a numbers it should match
(9), and it didn't work. It still times out as if no number was entered.<br>
<br>
<br>
<br>
<br>
<div class="gmail_quote">On Wed, Aug 18, 2010 at 2:11 PM, Danny
Nicholas <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:danny@debsinc.com">danny@debsinc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<div>
<p class="MsoNormal"><b><font size="2" face="Tahoma"><span
style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font
size="2" face="Tahoma"><span
style="font-size: 10pt; font-family: Tahoma;">
<a moz-do-not-send="true"
href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a moz-do-not-send="true"
href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>]
<b><span style="font-weight: bold;">On Behalf Of </span></b>Kathryn
Jones<br>
<b><span style="font-weight: bold;">Subject:</span></b>
[asterisk-users]
WaitExten() always times out</span></font></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span
style="font-size: 12pt;"> </span></font></p>
<div class="im"><font size="3" color="navy" face="Times New Roman"><span
style="font-size: 12pt; color: navy;">></span></font>Hi,<br>
<br>
<font color="navy"><span style="color: navy;">></span></font>My
WaitExten() is
not working as I expect it to. This is the relevant part of my context.
It is
meant to receive incoming calls.<br>
<br>
<font color="navy"><span style="color: navy;">></span></font>[incoming]<br>
<font color="navy"><span style="color: navy;">></span></font>exten
=>
xxx,1,Background(hello-world)<br>
<font color="navy"><span style="color: navy;">></span></font>exten
=>
xxx,2,WaitExten(7)<br>
<br>
<font color="navy"><span style="color: navy;">></span></font>exten
=>
_X,1,AGI(myAGI.php)<br>
<br>
<font color="navy"><span style="color: navy;">></span></font>When
I send the
call from a .call, it works perfect, but when receiving an incoming
call
WaitExten() times out no matter what.<br>
</div>
<font color="navy"><span style="color: navy;"><snip></span></font>
<div class="im"><br>
<font color="navy"><span style="color: navy;">></span></font>I
experimented
changing autofallthrough to no and got the same result. Any ideas about
this
strange behavior? <font color="navy"><span style="color: navy;"></span></font></div>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;">My best
guess is that your problem is that
_X isn’t happy for whatever reason. Generally I use Waitexten for
single
digit processing like this</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Exten =>
1234,1,goto(waitdtmf,s,1)</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;">[waitdtmf]</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Exten =>
s,1,background(hello-world)</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Exten =>
s,n,waitexten(7)</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Exten =>
1,1,AGI(myAGI.php)</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Exten =>
2,1,AGI(myAGI.php)</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Exten =>
I,1,playback(invalid)</span></font></p>
</div>
</div>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote>
</div>
<br>
</blockquote>
</body>
</html>