mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-07 05:39:39 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@278272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2042,6 +2042,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
|
||||
*
|
||||
|
Reference in New Issue
Block a user