diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-09-27 14:08:23 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-09-27 14:08:23 +0000 |
commit | b22612110ccbf3cacdc422c996bf94909085e927 (patch) | |
tree | 6c27b0fb78ac8aae943c7f03b4fa0e0f3cc38a38 /include | |
parent | 103ebcf807cb9050ad3653c606cb8cf07c36850f (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/cel.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |