diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-20 22:30:46 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-20 22:30:46 +0000 |
commit | 3375c0eb73bebd2fa38af23438779b0299be1e0a (patch) | |
tree | 0fc2968c4931205c953e394b324f03665b4feed8 /include | |
parent | 92a6af8e056b973b391d10da3706dfa8e935024c (diff) |
Merged revisions 278272 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r278272 | tilghman | 2010-07-20 17:26:23 -0500 (Tue, 20 Jul 2010) | 11 lines
Merged revisions 278167 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r278167 | tilghman | 2010-07-20 15:59:06 -0500 (Tue, 20 Jul 2010) | 4 lines
Do not queue up DTMF frames while a call is on hold.
(Fixes ABE-2110)
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@278273 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/channel.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index f50229969..7dde431be 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -1585,6 +1585,18 @@ int ast_autoservice_start(struct ast_channel *chan); int ast_autoservice_stop(struct ast_channel *chan); /*! + * \brief Ignore certain frame types + * \note Normally, we cache DTMF, IMAGE, HTML, TEXT, and CONTROL frames + * while a channel is in autoservice and queue them up when taken out of + * autoservice. When this is not desireable, this API may be used to + * cause the channel to ignore those frametypes after the channel is put + * into autoservice, but before autoservice is stopped. + * \retval 0 success + * \retval -1 channel is not in autoservice + */ +int ast_autoservice_ignore(struct ast_channel *chan, enum ast_frame_type ftype); + +/*! * \brief Enable or disable timer ticks for a channel * * \param rate number of timer ticks per second |