[asterisk-dev] [Code Review] 2563: Refactor CEL bridge events on top of Stasis-Core
opticron
reviewboard at asterisk.org
Thu May 23 11:02:24 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2563/
-----------------------------------------------------------
Review request for Asterisk Developers.
Bugs: ASTERISK-21564
https://issues.asterisk.org/jira/browse/ASTERISK-21564
Repository: Asterisk
Description
-------
This pulls bridge-related CEL event triggers out of the code in which they were residing and pulls them into cel.c where they are now triggered by changes in bridge snapshots. To get access to the Stasis-Core parking topic in cel.c, the Stasis-Core portions of parking init have been pulled into core Asterisk init.
This also adds a new CEL event (AST_CEL_BRIDGE_TO_CONF) that indicates a two-party bridge has transitioned to a multi-party conference. The reverse cannot occur and two party bridges which receive a AST_CEL_BRIDGE_TO_CONF will be treated as multi-party conferences for the duration of the bridge.
Diffs
-----
team/kmoore/bridge_construction-cel_channels/include/asterisk/cel.h 389549
team/kmoore/bridge_construction-cel_channels/include/asterisk/_private.h 389549
team/kmoore/bridge_construction-cel_channels/include/asterisk/parking.h 389549
team/kmoore/bridge_construction-cel_channels/main/asterisk.c 389549
team/kmoore/bridge_construction-cel_channels/main/cel.c 389549
team/kmoore/bridge_construction-cel_channels/main/features.c 389549
team/kmoore/bridge_construction-cel_channels/main/parking.c 389549
team/kmoore/bridge_construction-cel_channels/res/parking/parking_manager.c 389549
Diff: https://reviewboard.asterisk.org/r/2563/diff/
Testing
-------
Ran this through tests/bridge/simple_bridge (from the bridge_construction testsuite branch) and other tests that contain CEL conditions and tested parking messages by hand.
Thanks,
opticron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130523/148edf78/attachment.htm>
More information about the asterisk-dev
mailing list