[asterisk-dev] [Code Review] 2563: Refactor CEL bridge events on top of Stasis-Core

opticron reviewboard at asterisk.org
Tue Jun 4 15:09:17 CDT 2013


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

(Updated June 4, 2013, 3:09 p.m.)


Review request for Asterisk Developers.


Changes
-------

Address David's findings.


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 (updated)
-----

  team/kmoore/bridge_construction-cel_channels/include/asterisk/_private.h 390430 
  team/kmoore/bridge_construction-cel_channels/include/asterisk/cel.h 390430 
  team/kmoore/bridge_construction-cel_channels/include/asterisk/parking.h 390430 
  team/kmoore/bridge_construction-cel_channels/main/asterisk.c 390430 
  team/kmoore/bridge_construction-cel_channels/main/cel.c 390431 
  team/kmoore/bridge_construction-cel_channels/main/features.c 390430 
  team/kmoore/bridge_construction-cel_channels/main/parking.c 390430 
  team/kmoore/bridge_construction-cel_channels/res/parking/parking_manager.c 390430 

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/20130604/ce91a9c6/attachment.htm>


More information about the asterisk-dev mailing list