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
1.2
Joshua Colp 19 years ago
parent abfcb8d31e
commit a5641b46de

@ -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 */

Loading…
Cancel
Save