From: Joshua Colp Date: Fri, 1 Sep 2006 16:28:08 +0000 (+0000) Subject: Don't treat an unexpected control subclass as voice (issue #7858 reported by PCadach) X-Git-Tag: 1.2.12~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5641b46de9b576e36cf4d046098023ba6f2d69a;p=thirdparty%2Fasterisk.git 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 --- 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 */