summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/channel.h14
-rw-r--r--include/asterisk/stasis_channels.h1
2 files changed, 13 insertions, 2 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 1025e7293..b2b6e6035 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -854,15 +854,25 @@ struct ast_channel;
/*! \brief ast_channel_tech Properties */
enum {
/*!
- * \brief Channels have this property if they can accept input with jitter;
+ * \brief Channels have this property if they can accept input with jitter;
* i.e. most VoIP channels
*/
AST_CHAN_TP_WANTSJITTER = (1 << 0),
/*!
- * \brief Channels have this property if they can create jitter;
+ * \brief Channels have this property if they can create jitter;
* i.e. most VoIP channels
*/
AST_CHAN_TP_CREATESJITTER = (1 << 1),
+ /*!
+ * \brief Channels have this property if they are an implementation detail
+ * used for announcing messages; i.e. to a bridge
+ */
+ AST_CHAN_TP_ANNOUNCER = (1 << 2),
+ /*!
+ * \brief Channels have this property if they are an implementation detail
+ * used for recording audio; i.e. from a bridge
+ */
+ AST_CHAN_TP_RECORDER = (1 << 3),
};
/*! \brief ast_channel flags */
diff --git a/include/asterisk/stasis_channels.h b/include/asterisk/stasis_channels.h
index 78e3c6e41..8cc4c8382 100644
--- a/include/asterisk/stasis_channels.h
+++ b/include/asterisk/stasis_channels.h
@@ -84,6 +84,7 @@ struct ast_channel_snapshot {
struct ast_flags softhangup_flags; /*!< softhangup channel flags */
struct varshead *manager_vars; /*!< Variables to be appended to manager events */
struct varshead *channel_vars; /*!< Variables set on the channel */
+ int tech_properties; /*!< Properties of the channel's technology */
};
/*!