From: Anthony Minessale Date: Fri, 10 Nov 2006 00:01:22 +0000 (+0000) Subject: update X-Git-Tag: v1.0-beta1~1772 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=351480b99b059840c8876402abb2019320a54145;p=thirdparty%2Ffreeswitch.git update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3297 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index eced7cb00d..2287b191aa 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1786,7 +1786,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi } 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); } }