I must not be receiving them properly, since I can't make it work. I just can't see why :P.<br><br>My asterisk version is 1.6.2.6. Like I said before, for outgoing .call files WaitExten works fine, it's on incoming calls that I cannot receive the number I need.<br>
<br>I had not checked my dtmf mode, this is new to me. So I was using asterisk default rfc2833. I am making pstn calls from regular telephones, through asterisk. What dtmfmode should I use? Could that be my problem?<br><br>
<br><div class="gmail_quote">On Wed, Aug 18, 2010 at 2:57 PM, Miguel Molina <span dir="ltr"><<a href="mailto:mmolina@millenium.com.co">mmolina@millenium.com.co</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 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 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ó:
<div><div></div><div class="h5"><blockquote 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 href="mailto:danny@debsinc.com" target="_blank">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 href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a 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><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><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 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/mailman/listinfo/asterisk-users</a><br>
</blockquote>
</div>
<br>
</blockquote>
</div></div></div>
<br>--<br>
_____________________________________________________________________<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/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>