[asterisk-dev] [Code Review] 2721: bridge_channels: Add support for the lonely flag

Mark Michelson reviewboard at asterisk.org
Thu Aug 1 15:43:54 CDT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2721/#review9315
-----------------------------------------------------------



/trunk/include/asterisk/core_unreal.h
<https://reviewboard.asterisk.org/r/2721/#comment18362>

    My general-purpose mind tends to think the final parameter should be a flags parameter instead of a boolean. This allows for the lonely or any other relevant flags to be set on the bridge channel. It also provides extra clarity to readers who come across calls to ast_unreal_channel_push_to_bridge().



/trunk/main/bridge_channel.c
<https://reviewboard.asterisk.org/r/2721/#comment18363>

    You can remove this.


- Mark Michelson


On July 31, 2013, 5:31 p.m., jrose wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2721/
> -----------------------------------------------------------
> 
> (Updated July 31, 2013, 5:31 p.m.)
> 
> 
> Review request for Asterisk Developers, David Lee, Matt Jordan, and rmudgett.
> 
> 
> Bugs: ASTERISK-22117
>     https://issues.asterisk.org/jira/browse/ASTERISK-22117
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> Channels with the lonely flag are supposed to leave a bridge if all of the channels in that bridge are also lonely at the time of a channel dissolving.
> I also added this flag to ARI play and record on bridge channels.
> 
> 
> Diffs
> -----
> 
>   /trunk/main/core_unreal.c 395852 
>   /trunk/res/ari/resource_bridges.c 395852 
>   /trunk/include/asterisk/core_unreal.h 395852 
>   /trunk/main/bridge_channel.c 395852 
> 
> Diff: https://reviewboard.asterisk.org/r/2721/diff/
> 
> 
> Testing
> -------
> 
> Tested what happens to channels when a non-lonely channel leaves with and without the presence of non-lonely channels.
> If only lonely channels were left, they hung up. This did produce an ARI playback error since the channel playback was interrupted.
> If non-lonely channels were left, nothing would happen as anticipated.
> 
> 
> Thanks,
> 
> jrose
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130801/4ccc6c82/attachment.htm>


More information about the asterisk-dev mailing list