diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-26 17:06:26 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-26 17:06:26 +0000 |
commit | 950477ef5d0a7b63e3506949a58118fc595dcdc5 (patch) | |
tree | e38af72ec2fb4db413069be5f45141203f9fbd58 /main/autoservice.c | |
parent | 51ff1358a93ce83acff17566de45c67c88ded9ad (diff) |
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/branches/1.4@94790 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/autoservice.c')
-rw-r--r-- | main/autoservice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/autoservice.c b/main/autoservice.c index 12eda1a1d..d105e510c 100644 --- a/main/autoservice.c +++ b/main/autoservice.c @@ -125,7 +125,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: @@ -135,6 +134,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: |