aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-01 16:34:57 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-01 16:34:57 +0000
commite46eb0e63e5d098e2ee821de628bd480d3e6a080 (patch)
treef3db0ccf7bf4e06f231bcef91f5ed8a3cb19796a /main
parent82dc9e6325f8e8fa92d88a3bee32e8e2c63947f4 (diff)
Merged revisions 41690 via svnmerge from
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: http://svn.digium.com/svn/asterisk/trunk@41693 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/channel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/channel.c b/main/channel.c
index 16d89d661..5a4080c5c 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -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)