[asterisk-dev] [Code Review] 3944: app_confbridge: Add 'all' to channel target for mute and unmute.

rmudgett reviewboard at asterisk.org
Tue Aug 26 16:35:13 CDT 2014


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



branches/12/apps/app_confbridge.c
<https://reviewboard.asterisk.org/r/3944/#comment23662>

    Minor optimization so match is not evaluated if the user is already kicked.
    
    if (user->kicked)
      continue
    match = !strcasecmp()
    if (match || all || participant)
      ...



branches/12/apps/app_confbridge.c
<https://reviewboard.asterisk.org/r/3944/#comment23663>

    same here



branches/12/apps/app_confbridge.c
<https://reviewboard.asterisk.org/r/3944/#comment23660>

    curly



branches/12/apps/app_confbridge.c
<https://reviewboard.asterisk.org/r/3944/#comment23661>

    curly


- rmudgett


On Aug. 26, 2014, 4:26 p.m., George Joseph wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3944/
> -----------------------------------------------------------
> 
> (Updated Aug. 26, 2014, 4:26 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> Although tab completion for confbridge mute and unmute show 'all' as a valid channel target, it was never implemented.
> 
> This patch updates mute and unmute (both CLI and AMI) to allow the 'all' target.  They now work as kick does.  Since I was there, I made the channel name case-insensitive since kick was already case-insensitive.
> 
> 
> Diffs
> -----
> 
>   branches/12/apps/app_confbridge.c 422068 
> 
> Diff: https://reviewboard.asterisk.org/r/3944/diff/
> 
> 
> Testing
> -------
> 
> Tested that both CLI and AMI handle 'all' and 'participants' as a channel target for mute, unmute and kick correctly.
> 
> 
> Thanks,
> 
> George Joseph
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140826/b8f30a39/attachment-0001.html>


More information about the asterisk-dev mailing list