From b22612110ccbf3cacdc422c996bf94909085e927 Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Fri, 27 Sep 2013 14:08:23 +0000 Subject: Restore usefulness of the CEL Peer field This change makes the CEL peer field useful again for BRIDGE_ENTER and BRIDGE_EXIT events and fills the field with a comma-separated list of all channels in the bridge other than the channel that is entering or exiting the bridge. Review: https://reviewboard.asterisk.org/r/2840/ (closes issue ASTERISK-22393) ........ Merged revisions 399912 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@399913 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/cel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/asterisk/cel.h b/include/asterisk/cel.h index 5850edc21..833b48b85 100644 --- a/include/asterisk/cel.h +++ b/include/asterisk/cel.h @@ -273,6 +273,7 @@ struct ast_channel_snapshot; * \param userdefevname Custom name for the call event. (optional) * \param extra An event-specific opaque JSON blob to be rendered and placed * in the "CEL_EXTRA" information element of the call event. (optional) + * \param peer_str A list of comma-separated peer channel names. (optional) * * \since 12 * @@ -281,7 +282,7 @@ struct ast_channel_snapshot; */ struct ast_event *ast_cel_create_event(struct ast_channel_snapshot *snapshot, enum ast_cel_event_type event_type, const char *userdefevname, - struct ast_json *extra); + struct ast_json *extra, const char *peer_str); /*! * \brief CEL backend callback -- cgit v1.2.3