From a5641b46de9b576e36cf4d046098023ba6f2d69a Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Fri, 1 Sep 2006 16:28:08 +0000 Subject: [PATCH] Don't treat an unexpected control subclass as voice (issue #7858 reported by PCadach) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41690 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/channel.c b/channel.c index a55dcb3837..1a441c59f7 100644 --- a/channel.c +++ b/channel.c @@ -1780,6 +1780,7 @@ 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; } case AST_FRAME_VOICE: /* Write audio if appropriate */ -- 2.47.2