[asterisk-commits] file: branch file/bridging-phase2 r192927 - /team/file/bridging-phase2/bridges/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 6 21:57:45 CDT 2009


Author: file
Date: Wed May  6 21:57:31 2009
New Revision: 192927

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=192927
Log:
Fix a bug where timeouts were not recalculated on a recently unsuspended channel in bridge_multiplexed.

Modified:
    team/file/bridging-phase2/bridges/bridge_multiplexed.c

Modified: team/file/bridging-phase2/bridges/bridge_multiplexed.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/file/bridging-phase2/bridges/bridge_multiplexed.c?view=diff&rev=192927&r1=192926&r2=192927
==============================================================================
--- team/file/bridging-phase2/bridges/bridge_multiplexed.c (original)
+++ team/file/bridging-phase2/bridges/bridge_multiplexed.c Wed May  6 21:57:31 2009
@@ -335,6 +335,8 @@
 	} else if (!add && removed) {
 		multiplexed_thread_update_timeout(multiplexed_thread, NULL);
 		memmove(multiplexed_thread->chans + i, multiplexed_thread->chans + i + 1, sizeof(struct ast_channel *) * (MULTIPLEXED_MAX_CHANNELS - (i + 1)));
+	} else {
+		multiplexed_thread_update_timeout(multiplexed_thread, bridge);
 	}
 
 	ao2_unlock(multiplexed_thread);




More information about the asterisk-commits mailing list