[Freeswitch-svn] [commit] r3524 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Sun Dec 3 19:04:21 EST 2006


Author: anthm
Date: Sun Dec  3 19:04:20 2006
New Revision: 3524

Modified:
   freeswitch/trunk/src/switch_ivr.c

Log:
fix

Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c	(original)
+++ freeswitch/trunk/src/switch_ivr.c	Sun Dec  3 19:04:20 2006
@@ -2209,7 +2209,7 @@
 		if (switch_channel_get_state(peer_channels[i]) >= CS_HANGUP) {
 			hups++;
 		} else if ((switch_channel_test_flag(peer_channels[i], CF_ANSWERED) || 
-					(!ringback_data && len == 1 && switch_channel_test_flag(peer_channels[0], CF_EARLY_MEDIA))) && 
+					(!ringback_data && len == 1 && switch_channel_test_flag(peer_channels[i], CF_EARLY_MEDIA))) && 
 				   !switch_channel_test_flag(peer_channels[i], CF_TAGGED)) {
 
 			if (key) {



More information about the Freeswitch-svn mailing list