[asterisk-commits] kmoore: branch kmoore/stasis-bridging_events r390011 - /team/kmoore/stasis-br...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 29 07:14:29 CDT 2013


Author: kmoore
Date: Wed May 29 07:14:26 2013
New Revision: 390011

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=390011
Log:
Restore an important piece of code that got wiped out in the refactoring

Modified:
    team/kmoore/stasis-bridging_events/res/res_stasis.c

Modified: team/kmoore/stasis-bridging_events/res/res_stasis.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis-bridging_events/res/res_stasis.c?view=diff&rev=390011&r1=390010&r2=390011
==============================================================================
--- team/kmoore/stasis-bridging_events/res/res_stasis.c (original)
+++ team/kmoore/stasis-bridging_events/res/res_stasis.c Wed May 29 07:14:26 2013
@@ -585,6 +585,11 @@
 			break;
 		}
 
+		if (ast_channel_fdno(chan) == -1) {
+			/* Command(s) drained the channel; wait for next frame */
+			continue;
+		}
+
 		if (r == 0 || channel_control_is_bridged(control)) {
 			/* Timeout */
 			continue;




More information about the asterisk-commits mailing list