]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 10 Nov 2006 00:01:22 +0000 (00:01 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 10 Nov 2006 00:01:22 +0000 (00:01 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3297 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c

index eced7cb00df5def35b1ba455bc332d4551e6b22e..2287b191aa858e5ec1ef6b6d958001fcbd3c8f58 100644 (file)
@@ -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);
                }
        }