Hi all, 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. 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. The problems is that, Asterisk can detect * key when I press, but to detect # key, I have to press two times. What is the problem ? Sorry for my English. Very thanks, Giang -------------- next part -------------- An HTML attachment was scrubbed... URL: lists.digium.com/pipermail/asterisk-users/attachments/20100624/5227169c/attachment.htm
What type of phone you are using? It is possible that # is used by this phone as one of its internal functions. Zeeshan A Zakaria -- ilovetovoip.com On 2010-06-24 6:41 AM, "huu giang" <huugiang104 at yahoo.com> wrote: Hi all, 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. 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. The problems is that, Asterisk can detect * key when I press, but to detect # key, I have to press two times. What is the problem ? Sorry for my English. Very thanks, Giang -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: lists.digium.com/pipermail/asterisk-users/attachments/20100624/8fe6f540/attachment.htm