From 4f84e48028b8f21babd26b7f0b8c1d375f1c356c Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Thu, 13 Jun 2013 13:15:56 +0000 Subject: Refactor CEL channel events on top of Stasis-Core This uses the channel state change events from Stasis-Core to determine when channel-related CEL events should be raised. Those refactored in this patch are: * AST_CEL_CHANNEL_START * AST_CEL_ANSWER * AST_CEL_APP_START * AST_CEL_APP_END * AST_CEL_HANGUP * AST_CEL_CHANNEL_END Retirement of Linked IDs is also refactored. CEL configuration has been refactored to use the config framework. Note: Some HANGUP events are not generated correctly because the bridge layer does not propagate hangupcause/hangupsource information yet. Review: https://reviewboard.asterisk.org/r/2544/ (closes issue ASTERISK-21563) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@391622 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/stasis_bridging.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/asterisk/stasis_bridging.h') diff --git a/include/asterisk/stasis_bridging.h b/include/asterisk/stasis_bridging.h index 42cb73ba0..a9366e73d 100644 --- a/include/asterisk/stasis_bridging.h +++ b/include/asterisk/stasis_bridging.h @@ -45,6 +45,8 @@ struct ast_bridge_snapshot { struct ao2_container *channels; /*! Bridge flags to tweak behavior */ struct ast_flags feature_flags; + /*! Bridge capabilities */ + uint32_t capabilities; /*! Number of channels participating in the bridge */ unsigned int num_channels; /*! Number of active channels in the bridge. */ -- cgit v1.2.3