From b4e9a3fc2fd63a4a73c5a0025f3fdef86578da4c Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Wed, 3 Jul 2013 23:55:53 +0000 Subject: Add BUGBUG note for ASTERISK-22009 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393631 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/bridging.h | 8 +++++++- include/asterisk/config_options.h | 2 +- include/asterisk/stasis_channels.h | 16 ++++++++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/asterisk/bridging.h b/include/asterisk/bridging.h index e03bfd0cd..cb5088376 100644 --- a/include/asterisk/bridging.h +++ b/include/asterisk/bridging.h @@ -1647,7 +1647,7 @@ void ast_after_bridge_goto_read(struct ast_channel *chan, char *buffer, size_t b /*! Reason the the after bridge callback will not be called. */ enum ast_after_bridge_cb_reason { - /*! The datastore is being destroyed. Likely due to hangup. */ + /*! The datastore is being destroyed. Likely due to hangup. (Enum value must be zero.) */ AST_AFTER_BRIDGE_CB_REASON_DESTROY, /*! Something else replaced the callback with another. */ AST_AFTER_BRIDGE_CB_REASON_REPLACED, @@ -1666,6 +1666,9 @@ enum ast_after_bridge_cb_reason { * \param reason Reason callback is failing. * \param data Extra data what setup the callback wanted to pass. * + * \note Called when the channel leaves the bridging system or + * is destroyed. + * * \return Nothing */ typedef void (*ast_after_bridge_cb_failed)(enum ast_after_bridge_cb_reason reason, void *data); @@ -1705,6 +1708,9 @@ void ast_after_bridge_callback_discard(struct ast_channel *chan, enum ast_after_ * * \note chan is locked by this function. * + * \note failed is called when the channel leaves the bridging + * system or is destroyed. + * * \retval 0 on success. * \retval -1 on error. */ diff --git a/include/asterisk/config_options.h b/include/asterisk/config_options.h index 6b444466f..d557b5685 100644 --- a/include/asterisk/config_options.h +++ b/include/asterisk/config_options.h @@ -461,7 +461,7 @@ enum aco_process_status { /*! \brief Process a config info via the options registered with an aco_info * * \param info The config_options_info to be used for handling the config - * \param reload Whether or not this is a reload + * \param reload Non-zero if this is for a reload. * * \retval ACO_PROCESS_OK Success * \retval ACO_PROCESS_ERROR Failure diff --git a/include/asterisk/stasis_channels.h b/include/asterisk/stasis_channels.h index 24fe01cea..4a900dddc 100644 --- a/include/asterisk/stasis_channels.h +++ b/include/asterisk/stasis_channels.h @@ -421,6 +421,22 @@ struct stasis_message_type *ast_channel_monitor_start_type(void); */ struct stasis_message_type *ast_channel_monitor_stop_type(void); +/*! + * \since 12.0.0 + * \brief Message type for agent login on a channel + * + * \retval A stasis message type + */ +struct stasis_message_type *ast_channel_agent_login_type(void); + +/*! + * \since 12.0.0 + * \brief Message type for agent logoff on a channel + * + * \retval A stasis message type + */ +struct stasis_message_type *ast_channel_agent_logoff_type(void); + /*! * \since 12 * \brief Message type for starting music on hold on a channel -- cgit v1.2.3