<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi,<br><br>When I require user enter a code and end wich # key, for example 1234#, Asterisk can detect # key and detect the code people just enter.<br><br>Thanks<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Zeeshan Zakaria &lt;zishanov@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Asterisk Users Mailing List - Non-Commercial Discussion &lt;asterisk-users@lists.digium.com&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Thu, June 24, 2010 5:48:39 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [asterisk-users] Astersik can
 not detect DTMF key<br></font><br>
<p>What type of phone you are using? It is possible that # is used by this phone as one of its internal functions.<br></p>
<p>Zeeshan A Zakaria</p>
<p>--<br>
<a rel="nofollow" target="_blank" href="http://www.ilovetovoip.com">www.ilovetovoip.com</a></p>
<p></p><blockquote type="cite">On 2010-06-24 6:41 AM, "huu giang" &lt;<a rel="nofollow" ymailto="mailto:huugiang104@yahoo.com" target="_blank" href="mailto:huugiang104@yahoo.com">huugiang104@yahoo.com</a>&gt; wrote:<br><br><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
Hi all,<br><br>I'm building a karaoke service. Asterisk will play a music file, people can detect the point when they want to sing and record by press * key during the music is playing, and press # key to stop recording.<br>
<br>I use 2 functions: ast_streamfile and ast_seekstream to play audio file, and  function ast_waitstream_fr to detect whenever people press DTMF key.<br><br>The problems is that, Asterisk can detect * key when I press, but to detect # key, I have to press two times.<br>
<br>What is the problem ? <br><br>Sorry for my English.<br><br>Very thanks,<br>Giang<br><div><br></div>
</div><br>

      </div><br>--<br>
_____________________________________________________________________<br><span>
-- Bandwidth and Colocation Provided by <a target="_blank" href="http://www.api-digital.com">http://www.api-digital.com</a> --</span><br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br><span>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a target="_blank" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a></span><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br><span>
 &nbsp; <a target="_blank" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></span><br></blockquote>
</div></div>
</div><br>

      </body></html>