Merged revisions 41690 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Fri, 1 Sep 2006 16:34:57 +0000 (16:34 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 1 Sep 2006 16:34:57 +0000 (16:34 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r41690 | file | 2006-09-01 12:28:08 -0400 (Fri, 01 Sep 2006) | 2 lines

Don't treat an unexpected control subclass as voice (issue #7858 reported by PCadach)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41693 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 16d89d6..5a4080c 100644 (file)
@@ -1862,7 +1862,9 @@ int ast_waitfordigit_full(struct ast_channel *c, int ms, int audiofd, int cmdfd)
                                        break;
                                default:
                                        ast_log(LOG_WARNING, "Unexpected control subclass '%d'\n", f->subclass);
+                                       break;
                                }
+                               break;
                        case AST_FRAME_VOICE:
                                /* Write audio if appropriate */
                                if (audiofd > -1)