mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-08 22:27:07 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user