summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/stasis.h11
-rw-r--r--include/asterisk/stasis_app.h5
2 files changed, 11 insertions, 5 deletions
diff --git a/include/asterisk/stasis.h b/include/asterisk/stasis.h
index b8dc4c845..4189513ac 100644
--- a/include/asterisk/stasis.h
+++ b/include/asterisk/stasis.h
@@ -221,6 +221,17 @@ struct stasis_message_sanitizer {
* \retval zero if the channel should remain in the message
*/
int (*channel_snapshot)(const struct ast_channel_snapshot *snapshot);
+
+ /*!
+ * \brief Callback which determines whether a channel should be sanitized from
+ * a message based on the channel
+ *
+ * \param chan The channel to be checked
+ *
+ * \retval non-zero if the channel should be left out of the message
+ * \retval zero if the channel should remain in the message
+ */
+ int (*channel)(const struct ast_channel *chan);
};
/*!
diff --git a/include/asterisk/stasis_app.h b/include/asterisk/stasis_app.h
index 2e5901cb6..e47275480 100644
--- a/include/asterisk/stasis_app.h
+++ b/include/asterisk/stasis_app.h
@@ -791,11 +791,6 @@ void stasis_app_unref(void);
struct stasis_message_sanitizer *stasis_app_get_sanitizer(void);
/*!
- * \brief Stasis message type for a StasisEnd event
- */
-struct stasis_message_type *ast_stasis_end_message_type(void);
-
-/*!
* \brief Indicate that this channel has had a StasisEnd published for it
*
* \param The channel that is exiting Stasis.