Revision
16574
Author
anthm
Date
2010-02-04 20:46:45 -0600 (Thu, 04 Feb 2010)

Log Message

fix uuid_bridge issue

Modified Paths

Diff

Modified: freeswitch/trunk/src/switch_channel.c (16573 => 16574)


--- freeswitch/trunk/src/switch_channel.c	2010-02-04 23:52:03 UTC (rev 16573)
+++ freeswitch/trunk/src/switch_channel.c	2010-02-05 02:46:45 UTC (rev 16574)
@@ -910,7 +910,7 @@
 		state = switch_channel_get_running_state(other_channel);
 		mystate = switch_channel_get_running_state(channel);
 
-		if (mystate != ostate || state >= CS_HANGUP || mystate == want_state) {
+		if (mystate == want_state || state >= CS_HANGUP || mystate >= CS_HANGUP) {
 			break;
 		}
 		switch_cond_next();