[asterisk-dev] [Code Review] Support 'deaf' participants in ConfBridge
David Vossel
reviewboard at asterisk.org
Thu Dec 29 10:51:02 CST 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1645/#review5083
-----------------------------------------------------------
/trunk/apps/app_confbridge.c
<https://reviewboard.asterisk.org/r/1645/#comment9346>
Spelling error.
/trunk/apps/app_confbridge.c
<https://reviewboard.asterisk.org/r/1645/#comment9347>
do these sounds exist yet?
/trunk/apps/app_confbridge.c
<https://reviewboard.asterisk.org/r/1645/#comment9348>
Copy paste error here. mute = deaf.. should be deaf = deaf.
/trunk/bridges/bridge_softmix.c
<https://reviewboard.asterisk.org/r/1645/#comment9349>
This will work, but it breaks the layers of abstraction set up between app_confbridge bridging.c and bridge_softmix.
Until now, the bridging technology layer (in this case bridge_softmix) did not need to know anything about the bridge's features. All it was responsible for was the bridge's tech_args structure. By forcing all the features to live at the bridging.c layer, we can be sure all those features are handled in a way that is generic to all bridging technologies. This is very important as it allows us to completely exchange bridging_softmix.c with another bridging technology in the future without having to re-implement any of the user features in the bridging API.
This layer can be preserved by defining a function that is a wrapper for the ast_write() function in bridging.c which can intercept the frame before it is written to the channel and replace it with the NULL frame when deaf mode is in use. bridge_softmix will then use that function to write frames to a channel instead of ast_write directly.
- David
On Dec. 28, 2011, 12:39 a.m., fabled wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1645/
> -----------------------------------------------------------
>
> (Updated Dec. 28, 2011, 12:39 a.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Summary
> -------
>
> Support 'deaf' participants in ConfBridge
>
>
> This addresses bug ASTERISK-19109.
> https://issues.asterisk.org/jira/browse/ASTERISK-19109
>
>
> Diffs
> -----
>
> /trunk/apps/app_confbridge.c 349196
> /trunk/apps/confbridge/conf_config_parser.c 349196
> /trunk/apps/confbridge/include/confbridge.h 349196
> /trunk/bridges/bridge_softmix.c 349196
> /trunk/include/asterisk/bridging_features.h 349196
>
> Diff: https://reviewboard.asterisk.org/r/1645/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> fabled
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20111229/82a70f17/attachment-0001.htm>
More information about the asterisk-dev
mailing list