[asterisk-dev] [Code Review] 4369: app_confbridge: Repeatedly starting and stopping recording ref leaks the recording channel. (v13 version)
rmudgett
reviewboard at asterisk.org
Tue Jan 27 11:12:07 CST 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4369/
-----------------------------------------------------------
(Updated Jan. 27, 2015, 5:12 p.m.)
Status
------
This change has been marked as submitted.
Review request for Asterisk Developers.
Changes
-------
Committed in revision 431135
Bugs: ASTERISK-24719
https://issues.asterisk.org/jira/browse/ASTERISK-24719
Repository: Asterisk
Description
-------
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.
v11 version of patch: https://reviewboard.asterisk.org/r/4368/
Please ignore the change in cli.c. That change is for a future patch.
Diffs
-----
/branches/13/main/cli.c 431064
/branches/13/apps/confbridge/include/confbridge.h 431064
/branches/13/apps/app_confbridge.c 431064
Diff: https://reviewboard.asterisk.org/r/4369/diff/
Testing
-------
With the test:
The confbridge testsuite tests still pass.
Manual testing no longer has the recording channel ref leak.
The v13 version of the patch no longer has the CBRec channel left in the
CLI "core show channels" output.
Thanks,
rmudgett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150127/dfff08a4/attachment.html>
More information about the asterisk-dev
mailing list