[asterisk-users] Astersik can not detect DTMF key

huu giang huugiang104 at yahoo.com
Thu Jun 24 21:14:38 CDT 2010


Hi,

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.

Thanks




________________________________
From: Zeeshan Zakaria <zishanov at gmail.com>
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
Sent: Thu, June 24, 2010 5:48:39 PM
Subject: Re: [asterisk-users] Astersik can not detect DTMF key


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
--
www.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 http://www.api-digital.com --
>>New to Asterisk? Join us for a live introductory webinar every Thurs:
>>               http://www.asterisk.org/hello
>
>>asterisk-users mailing list
>>To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100624/fa6bc6f6/attachment.htm 


More information about the asterisk-users mailing list