mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +00:00
Make a couple of changes to help AMI events to be more clear in what is occurring.
* BridgeEnter now contains the unique ID of the channel that is to be swapped out, if applicable. * There is a ParkedCallSwap event that is sent when a parked channel has a new channel take its place. (closes issue ASTERISK-22193) reported by Mark Michelson Review: https://reviewboard.asterisk.org/r/2712 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -45,6 +45,7 @@ enum ast_parked_call_event_type {
|
||||
PARKED_CALL_GIVEUP,
|
||||
PARKED_CALL_UNPARKED,
|
||||
PARKED_CALL_FAILED,
|
||||
PARKED_CALL_SWAP,
|
||||
};
|
||||
|
||||
/*!
|
||||
|
@@ -215,8 +215,10 @@ struct stasis_message *ast_bridge_blob_create(struct stasis_message_type *type,
|
||||
*
|
||||
* \param bridge The bridge a channel entered
|
||||
* \param chan The channel that entered the bridge
|
||||
* \param swap The channel being swapped out of the bridge
|
||||
*/
|
||||
void ast_bridge_publish_enter(struct ast_bridge *bridge, struct ast_channel *chan);
|
||||
void ast_bridge_publish_enter(struct ast_bridge *bridge, struct ast_channel *chan,
|
||||
struct ast_channel *swap);
|
||||
|
||||
/*!
|
||||
* \since 12
|
||||
|
Reference in New Issue
Block a user