From: David Vossel Date: Wed, 27 Apr 2011 17:44:02 +0000 (+0000) Subject: Clears exception flag during ast_read when func_jitterbuffer is enabled X-Git-Tag: 11.0.0-beta1~1675 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=237d47b010736acb3ac0e9c4ff5c9ce3cf545a2b;p=thirdparty%2Fasterisk.git Clears exception flag during ast_read when func_jitterbuffer is enabled git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@315855 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/channel.c b/main/channel.c index 09be9395d6..55695c54cd 100644 --- a/main/channel.c +++ b/main/channel.c @@ -3821,6 +3821,8 @@ static struct ast_frame *__ast_read(struct ast_channel *chan, int dropaudio) f = &ast_null_frame; chan->fdno = -1; goto done; + } else if (chan->fds[AST_JITTERBUFFER_FD] > -1 && chan->fdno == AST_JITTERBUFFER_FD) { + ast_clear_flag(chan, AST_FLAG_EXCEPTION); } /* Check for pending read queue */