[asterisk-dev] [Code Review] 4041: features.c: Fix lingering channel ref while Bridge() application is active.
Corey Farrell
reviewboard at asterisk.org
Fri Oct 3 14:43:53 CDT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4041/#review13448
-----------------------------------------------------------
Ship it!
Ship It!
- Corey Farrell
On Oct. 1, 2014, 4:49 p.m., rmudgett wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4041/
> -----------------------------------------------------------
>
> (Updated Oct. 1, 2014, 4:49 p.m.)
>
>
> Review request for Asterisk Developers.
>
>
> 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/20141003/6a1ab4cb/attachment-0001.html>
More information about the asterisk-dev
mailing list