Split Hold event into Hold/Unhold, and move it into core.

(closes issue ASTERISK-21487)
Review: https://reviewboard.asterisk.org/r/2565/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2013-05-24 21:21:25 +00:00
parent 1223199b3d
commit 154fbf8cae
18 changed files with 332 additions and 203 deletions

View File

@@ -339,6 +339,22 @@ struct stasis_message_type *ast_channel_dtmf_begin_type(void);
*/
struct stasis_message_type *ast_channel_dtmf_end_type(void);
/*!
* \since 12
* \brief Message type for when a channel is placed on hold.
*
* \retval A stasis message type
*/
struct stasis_message_type *ast_channel_hold_type(void);
/*!
* \since 12
* \brief Message type for when a channel is removed from hold.
*
* \retval A stasis message type
*/
struct stasis_message_type *ast_channel_unhold_type(void);
/*!
* \since 12
* \brief Message type for when a channel starts spying on another channel