aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-01 16:28:08 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-01 16:28:08 +0000
commit391919fce131a045c921232a16996eba0cd0dc58 (patch)
tree44a325cbd1bec453c87e015e3e435c82c77ded0f /channel.c
parente462921982553adb0910ecddf52d3556b35ef056 (diff)
Don't treat an unexpected control subclass as voice (issue #7858 reported by PCadach)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@41690 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channel.c b/channel.c
index a55dcb383..1a441c59f 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 */