]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_confbridge: Repeatedly starting and stopping recording ref leaks the recording...
authorRichard Mudgett <rmudgett@digium.com>
Tue, 27 Jan 2015 17:36:22 +0000 (17:36 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 27 Jan 2015 17:36:22 +0000 (17:36 +0000)
commiteda125f98dd1a11f41b7a89f96fbe3fb754c8963
tree2e4fc1d23e57cfecec5c4f8369f9d78c0b70f29d
parentb64f4bb6ee54044f44ee1322f2b2c89ebcd968d1
app_confbridge: Repeatedly starting and stopping recording ref leaks the recording channel.

Starting and stopping conference recording more than once causes the
recording channels to be leaked.  For v13 the channels also show up in the
CLI "core show channels" output.

* Reworked and simplified the recording channel code to use
ast_bridge_impart() instead of managing the recording thread in the
ConfBridge code.  The recording channel's ref handling easily falls into
place and other off nominal code paths get handled better as a result.

ASTERISK-24719 #close
Reported by: John Bigelow

Review: https://reviewboard.asterisk.org/r/4368/
Review: https://reviewboard.asterisk.org/r/4369/
........

Merged revisions 431135 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@431160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_confbridge.c
apps/confbridge/include/confbridge.h