[asterisk-dev] Does Asterisk 'queue' DTMFs?

Saúl Ibarra saghul at gmail.com
Fri Jul 25 14:04:00 CDT 2008


> I think maybe you might not understand DTMF as well as you should.
>
> First DTMF events won't be triggered until at least 40msec has passed from the beginning of the tone. This is required to know it is a DTMF tone and not just a spurious tone heard or one spoken close enough. There is some logic to keep a long tone from returning multiple digits as well. There is supposed to be a similar 40msec gap between tones. BTW, these values may not be the exact proper values, but ones I know have worked with MaBell before.
>
> Since you haven't specified what type of game you are trying to code, you should think whether or not a dropped command is what the user would want or expect.
>

Hi!

I'll try to explain it again :)

This game-like app pretends to use DTMF tones to move up, down, left
and right (2 ,8 ,4 ,6). The tests I made (described above) showed me
that uf I press key 2 for 50 times, for example, DTMFs are 'queued'
and the last ones get into Asterisk wih 10s of delay. This delay is
too big for something 'realtime', so waht I'm trying to achieve is not
to get DTMFs queued, even if I loose them.

Did I make myself cleared now? Thank you very much for your interest.

-- 
Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes."
----------------------------------------------------------------
http://www.saghul.net/



More information about the asterisk-dev mailing list