]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge_softmix.c: Report not talking immediately when muted.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 31 Jan 2018 01:22:51 +0000 (19:22 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 31 Jan 2018 19:13:06 +0000 (13:13 -0600)
commit65204899524ec597997ed13bab77877cdf6ed976
tree5b4b5225408a98499ef6b95088dd5d82f2015fd2
parent2c4dde0ed06e6e853cac5459cd58e780231d384c
bridge_softmix.c: Report not talking immediately when muted.

Currently in app_confbridge if someone mutes a channel while that channel
is talking, the talk detection code is suspended while the channel is
muted.  As far an an external observer is concerned, the muted channel's
talk status is still "talking" even though the channel is not contributing
audio to the conference bridge.  When the channel is later unmuted, it
takes the usual 'dsp_silence_threshold' option time to clear the talking
status even though the channel may have stopped talking while the channel
was muted.

* In bridge_softmix.c, clear the talking status and report talking stopped
if the channel was talking when the channel is muted.  When the channel is
unmuted and the channel is still talking then report the channel as
talking since it is contributing audio to the bridge again.

ASTERISK-27647

Change-Id: Ie4fdbc05a0bc7343c2972bab012e2567917b3d4e
bridges/bridge_softmix.c