[asterisk-dev] Does Asterisk 'queue' DTMFs?
dimas at dataart.com
Wed Jul 23 13:04:38 CDT 2008
In short - yes, Asterisk queues received DTMFs.However, you are supposed to call autoservice_start on a channel before you doing anything time consuming to make sure your DTMFs won't be lost. (This is what you supposed to do inside Asterisk application. I'm not sure about AGI).
Autoservice (main/autoservice.c) is the thing which reads and queues DTMFs and later when you are done and calling autoservice_stop - it injects these frames back into channel queue so you will be reading them with ast_read.
From: asterisk-dev-bounces at lists.digium.com [asterisk-dev-bounces at lists.digium.com] On Behalf Of Saúl Ibarra [saghul at gmail.com]
Sent: 23 July 2008 21:46
To: Asterisk Developers Mailing List
Subject: [asterisk-dev] Does Asterisk 'queue' DTMFs?
I'm thinking of using Asterisk to control a game-like application with
DTMF key presses, but I've noticed that if I press the keys very
quickly, Asterisk 'queues' the DTMF tones and they are passed to
To test this I made an AGi with an infinite loop and used read
function to read just one digita an after I made it sleep for 0,5
secs. I spected the DTMFs to get 'lost', but they aren't.
Does asterisk queue the DTMF tones? If so, can anyone point me to the
code part where this is done? I'm thinking of not buffering them,
because for this applcation they don't need to be...
Thanks in advance,
Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes."
--Bandwidth and Colocation Provided by http://www.api-digital.com--
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
More information about the asterisk-dev