Ignore DTMF begin frames in the waitstream core so that we don't get duplicate digits...
authorJoshua Colp <jcolp@digium.com>
Thu, 31 Aug 2006 19:03:13 +0000 (19:03 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 31 Aug 2006 19:03:13 +0000 (19:03 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41611 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/file.c

index 48c1660..5bafcfe 100644 (file)
@@ -1029,7 +1029,6 @@ static int waitstream_core(struct ast_channel *c, const char *breakon,
                        if (!fr)
                                return -1;
                        switch(fr->frametype) {
-                       case AST_FRAME_DTMF_BEGIN:
                        case AST_FRAME_DTMF_END:
                                if (context) {
                                        const char exten[2] = { fr->subclass, '\0' };