aboutsummaryrefslogtreecommitdiffstats
path: root/main/autoservice.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-26 17:07:12 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-26 17:07:12 +0000
commit0b1a2bce95155ce90b23ef9616ebaca6c18e06aa (patch)
treee9997bec80a90ca07133c9915091ff0f4ef0a116 /main/autoservice.c
parent2476ab62b5f40772ea0a268f8f3b0d4643b8f74c (diff)
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: http://svn.digium.com/svn/asterisk/trunk@94791 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/autoservice.c')
-rw-r--r--main/autoservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/autoservice.c b/main/autoservice.c
index 740758679..b21d1e701 100644
--- a/main/autoservice.c
+++ b/main/autoservice.c
@@ -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: