[asterisk-users] Detecting DTMF Tones from Muted app_meetme Participants
David Roden
dr at ina-germany.de
Fri Aug 17 08:03:40 CDT 2007
Hi, folks.
I have a problem using Asterisk 1.2. I create conferences using
app_meetme and Zap channels, and for every participant I run the script
defined by AGI_BACKGROUND_SCRIPT to be able to listen and react to DTMF
tones. As the docs tell me, when using the AGI background script one
loses the ability to control the meetme conference via the command line
so for muting conference participants I had to create a small workaround
(letting the user leave the conference by letting his AGI background
script finish) and then rejoin him using the 'm' flag so that he can
keep listening but is not allowed to talk.
Now, while the user is muted, I can not read any DTMF tones in the AGI
background script. "Okay," you might say, "the user is muted. It makes
sense that his DTMF tones do not come through." But I say, "the muting,
i.e. the nullification of any incoming audio is done somewhere within
Asterisk, why is the DTMF tone detection not done _before_ the incoming
audio is thrown away?"
So, basically, my question is, how can I have a muted participant in a
meetme conference that can still control his listening experience via
DTMF tones? And I'm not afraid to mess around in the code - somehow,
somewhere (at least in my imagination) there have to be two lines, the
one reading "remove_audio();" and the other one reading
"detect_dtmf_tones();" which should be rearranged... :)
If anyone has a hint on where to start looking in the moloch that is
Asterisk, please give me a hint. Or if you know in what other way I can
achieve my goal, please give me a hint. I will be grateful until
eternity (or next wednesday, whichever comes first).
Thanks in advance,
David
--
INA Service GmbH
Papenreye 63
22453 Hamburg
Germany
Mail: info at ina-germany.de
Phone: +49 (0)40 557 07-07
Fax: +49 (0)40 557 07-100
Geschäftsführer: Ines M. Hoerner
Amtsgericht Hamburg
HRB 96470
Ust-IdNr. DE248754961
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070817/9897d913/attachment.pgp
More information about the asterisk-users
mailing list