[Asterisk-Dev] Muting DTMF in app_meetme.c
Brian K. West
brian at bkw.org
Wed Aug 31 17:16:54 MST 2005
Doesn't work if the remote caller is coming in and the DTMF is inband.
/b
On 8/31/05 12:36 PM, "Steve Edwards" <asterisk.org at sedwards.com> wrote:
> I need to mute a member's DTMF so that it is not heard by other members.
>
> I'm surprised that this is not already "done" since I don't see any reason
> for the DTMF to be heard by others...
>
> I added the following snippet after the "for(;;)" in conf_run() and it
> does a pretty good job:
>
> // try to mute Zap channels DTMF better
> auto int x = 1;
> if ('Z' == *chan->type)
> {
> ast_channel_setoption(
> chan
> , AST_OPTION_TONE_VERIFY
> , &x
> , sizeof(char)
> ,0
> );
> }
>
> I still hear a small slice of the DTMF. How can I make it better?
>
> Thanks in advance,
> ------------------------------------------------------------------------
> Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
> Newline pagesteve at sedwards.com Fax: +1-760-731-3000
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list