[asterisk-commits] file: branch file/bridging r65535 - /team/file/bridging/main/bridging.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue May 22 12:15:05 MST 2007


Author: file
Date: Tue May 22 14:15:04 2007
New Revision: 65535

URL: http://svn.digium.com/view/asterisk?view=rev&rev=65535
Log:
We want to compare the current write format to the stored original write format, not the stored read format.

Modified:
    team/file/bridging/main/bridging.c

Modified: team/file/bridging/main/bridging.c
URL: http://svn.digium.com/view/asterisk/team/file/bridging/main/bridging.c?view=diff&rev=65535&r1=65534&r2=65535
==============================================================================
--- team/file/bridging/main/bridging.c (original)
+++ team/file/bridging/main/bridging.c Tue May 22 14:15:04 2007
@@ -441,7 +441,7 @@
 			ast_log(LOG_WARNING, "Failed to return channel %s to read format %s(%d)\n", bridge_channel->chan->name, ast_getformatname(formats[0]), formats[0]);
 	}
 
-	if (bridge_channel->chan->writeformat != formats[0]) {
+	if (bridge_channel->chan->writeformat != formats[1]) {
 		if (option_debug)
 			ast_log(LOG_DEBUG, "Bridge is returning %p to write format %s(%d)\n", bridge_channel, ast_getformatname(formats[1]), formats[1]);
 		if (ast_set_write_format(bridge_channel->chan, formats[1]))



More information about the asterisk-commits mailing list