<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">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>

      </body></html>