[asterisk-commits] dvossel: trunk r315855 - /trunk/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 27 12:44:06 CDT 2011


Author: dvossel
Date: Wed Apr 27 12:44:02 2011
New Revision: 315855

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=315855
Log:
Clears exception flag during ast_read when func_jitterbuffer is enabled

Modified:
    trunk/main/channel.c

Modified: trunk/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/channel.c?view=diff&rev=315855&r1=315854&r2=315855
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Wed Apr 27 12:44:02 2011
@@ -3821,6 +3821,8 @@
 		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 */




More information about the asterisk-commits mailing list