mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
AMI: Add AMI event to expose hook flash events
Although Asterisk can receive and propogate flash events, it currently provides no mechanism for doing anything with them itself. This AMI event allows flash events to be processed by Asterisk. Additionally, AST_CONTROL_FLASH is included in a switch statement in channel.c to avoid throwing a warning when we shouldn't. ASTERISK-29380 Change-Id: Ie17ffe65086e0282c88542e38eed6a461ec79e81
This commit is contained in:
committed by
Joshua Colp
parent
859cd2a56b
commit
ea117be4c6
@@ -416,6 +416,13 @@ struct stasis_message_type *ast_channel_dtmf_begin_type(void);
|
||||
*/
|
||||
struct stasis_message_type *ast_channel_dtmf_end_type(void);
|
||||
|
||||
/*!
|
||||
* \brief Message type for when a hook flash occurs on a channel.
|
||||
*
|
||||
* \retval A stasis message type
|
||||
*/
|
||||
struct stasis_message_type *ast_channel_flash_type(void);
|
||||
|
||||
/*!
|
||||
* \since 12
|
||||
* \brief Message type for when a channel is placed on hold.
|
||||
|
Reference in New Issue
Block a user