[asterisk-dev] [Code Review] 4041: features.c: Fix lingering channel ref while Bridge() application is active.
rmudgett
reviewboard at asterisk.org
Mon Oct 6 10:36:38 CDT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4041/
-----------------------------------------------------------
(Updated Oct. 6, 2014, 10:36 a.m.)
Status
------
This change has been marked as submitted.
Review request for Asterisk Developers.
Changes
-------
Committed in revision 424668
Bugs: ASTERISK-24224
https://issues.asterisk.org/jira/browse/ASTERISK-24224
Repository: Asterisk
Description
-------
Using the Bridge application to bridge a channel that is executing an applicaiton like Wait results in a lingering Surrogate channel in the CLI "core show channels" output even though it has already hungup.
* Fix bridge_exec() to not hold onto the current_dest_chan ref once it has been put into the bridge.
* Eliminated bridge_exec()'s use of RAII_VAR().
Diffs
-----
/branches/12/main/features.c 424311
Diff: https://reviewboard.asterisk.org/r/4041/diff/
Testing
-------
With the patch applied, the Surrogate channel no longer shows up when using Bridge on a channel in an application like Wait.
It still works if the channel were in a BridgeWait bridge.
Thanks,
rmudgett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141006/3be4b154/attachment.html>
More information about the asterisk-dev
mailing list