mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Merged revisions 94790 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r94790 | russell | 2007-12-26 11:06:26 -0600 (Wed, 26 Dec 2007) | 5 lines Don't store DTMF BEGIN frames while a channel is in autoservice. It's just going to make ast_read() do a lot of extra work when the channel comes back out of autoservice. (closes issue #11628, patched by me) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -116,7 +116,6 @@ static void *autoservice_run(void *ign)
|
||||
* be queued up or not. */
|
||||
switch (f->frametype) {
|
||||
/* Save these frames */
|
||||
case AST_FRAME_DTMF_BEGIN:
|
||||
case AST_FRAME_DTMF_END:
|
||||
case AST_FRAME_CONTROL:
|
||||
case AST_FRAME_TEXT:
|
||||
@@ -126,6 +125,7 @@ static void *autoservice_run(void *ign)
|
||||
break;
|
||||
|
||||
/* Throw these frames away */
|
||||
case AST_FRAME_DTMF_BEGIN:
|
||||
case AST_FRAME_VOICE:
|
||||
case AST_FRAME_VIDEO:
|
||||
case AST_FRAME_NULL:
|
||||
|
Reference in New Issue
Block a user