Revision
15263
Author
brian
Date
2009-10-28 17:52:44 -0500 (Wed, 28 Oct 2009)

Log Message

Fix Hold.

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (15262 => 15263)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	2009-10-28 21:32:20 UTC (rev 15262)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	2009-10-28 22:52:44 UTC (rev 15263)
@@ -3578,7 +3578,7 @@
 			goto done;
 		}
 
-		if ((switch_channel_test_flag(channel, CF_EARLY_MEDIA) || switch_channel_test_flag(channel, CF_ANSWERED)) && status < 200) {
+		if ((switch_channel_test_flag(channel, CF_EARLY_MEDIA) || switch_channel_test_flag(channel, CF_ANSWERED)) && status > 100 && status < 200) {
 			/* Must you send 180 after 183 w/sdp ? sheesh */
 			switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Channel %s skipping state [%s][%d]\n",
 							  switch_channel_get_name(channel), nua_callstate_name(ss_state), status);