[Freeswitch-svn] [commit] r3297 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN anthm at freeswitch.org
Thu Nov 9 19:01:23 EST 2006


Author: anthm
Date: Thu Nov  9 19:01:22 2006
New Revision: 3297

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c

Log:
update

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	Thu Nov  9 19:01:22 2006
@@ -1786,7 +1786,7 @@
 		}
 		set_local_sdp(tech_pvt, NULL, 0, NULL, 1);
 		do_invite(session);
-		while (!switch_rtp_ready(tech_pvt->rtp_session)) {
+		while (!switch_rtp_ready(tech_pvt->rtp_session) && switch_channel_get_state(channel) < CS_HANGUP) {
 			switch_yield(1000);
 		}
 	}



More information about the Freeswitch-svn mailing list