[asterisk-dev] [Code Review]: Add mute all participants; play participant count to ConfBridge

mjordan reviewboard at asterisk.org
Thu Nov 3 10:31:08 CDT 2011



> On Nov. 2, 2011, 8:04 p.m., Terry Wilson wrote:
> > /trunk/apps/app_confbridge.c, lines 1571-1579
> > <https://reviewboard.asterisk.org/r/1518/diff/1/?file=21152#file21152line1571>
> >
> >     Seems like conf_get_sound(conference_bridge->muted ? CONF_SOUND_PARTICIPANTS_MUTED : CONF_SOUND_PARTICIPANTS_UNMUTED, conference_bridge_user->b_profile.sounds) would save having to duplicate out conf_get_sound function call for both of these.

Cleaned it up a bit beyond what you suggested.  No need to call the method twice, since we use the same value for both ast_stream_and_wait and play_sound_helper.


- mjordan


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


On Oct. 11, 2011, 2:39 p.m., mjordan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1518/
> -----------------------------------------------------------
> 
> (Updated Oct. 11, 2011, 2:39 p.m.)
> 
> 
> Review request for Asterisk Developers and David Vossel.
> 
> 
> Summary
> -------
> 
> This patch adds two new menu features to ConfBridge, admin_toggle_menu_participants and participant_count.  The admin action will globally mute / unmute all participants on a conference, while the participant count simply exposes the existing participant count function to the conference bridge menu.
> 
> Note that this is a port of the patch supplied by Kevin Reeves on ASTERISK-18204.  Very minor modifications were made to that patch, including adding sound file overriding to the config parser and some general overall cleanup.
> 
> This also makes a minor change that outputs the caller ID of the participants when the CLI command to list a specific conf bridge is used.  As this is useful and a minor modification, it was left in with this patch.
> 
> 
> This addresses bug ASTERISK-18204.
>     https://issues.asterisk.org/jira/browse/ASTERISK-18204
> 
> 
> Diffs
> -----
> 
>   /trunk/apps/confbridge/include/confbridge.h 340278 
>   /trunk/configs/confbridge.conf.sample 340278 
>   /trunk/apps/confbridge/conf_config_parser.c 340278 
>   /trunk/CHANGES 340278 
>   /trunk/apps/app_confbridge.c 340278 
> 
> Diff: https://reviewboard.asterisk.org/r/1518/diff
> 
> 
> Testing
> -------
> 
> Tested using a polycom phone and zoiper softphone.  No sound file quality issues were detecting in playing back the global sound using the conference bridge channel, which was an issue Kevin originally reported with his first implementation.  There did not appear to be any locking issues with the implementation proposed by Kevin.
> 
> 
> Thanks,
> 
> mjordan
> 
>

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


More information about the asterisk-dev mailing list