summaryrefslogtreecommitdiff
path: root/include/asterisk/channel.h
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2013-07-24 15:38:18 +0000
committerMatthew Jordan <mjordan@digium.com>2013-07-24 15:38:18 +0000
commitd91dc6d1a8a6e364d9edd6738c20ac5b8545db97 (patch)
tree6ed5d5a62860460e387714b9f334cc5d1fae779a /include/asterisk/channel.h
parent1f0ac51f49ca72d4f36490295ece83fb8e8fe151 (diff)
Perform the initial renaming of the Bridging API
This patch does the following: * It pulls out bridge_channel and puts it into its own translation unit * It adds public and protected headers for bridging_channel. Protected functions are appropriate only for the Bridging API and sub-classes of a bridge. (issue ASTERISK-22130) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r--include/asterisk/channel.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index d8db4705d..f6cdd4e62 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -4385,4 +4385,16 @@ int ast_channel_suppress(struct ast_channel *chan, unsigned int direction, enum
*/
int ast_channel_unsuppress(struct ast_channel *chan, unsigned int direction, enum ast_frame_type frametype);
+/*!
+ * \brief Simulate a DTMF end on a broken bridge channel.
+ *
+ * \param chan Channel sending DTMF that has not ended.
+ * \param digit DTMF digit to stop.
+ * \param start DTMF digit start time.
+ * \param why Reason bridge broken.
+ *
+ * \return Nothing
+ */
+void ast_channel_end_dtmf(struct ast_channel *chan, char digit, struct timeval start, const char *why);
+
#endif /* _ASTERISK_CHANNEL_H */