]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
MODAPP-461
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 24 Sep 2010 21:03:22 +0000 (16:03 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 24 Sep 2010 21:03:31 +0000 (16:03 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index c851779ba76db96ff95826b77b9fdd8c4461205a..d36de4ab6198d382c2a74b15a8e3a5d705434ea0 100644 (file)
@@ -4195,12 +4195,12 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status
                                        }
                                        
                                        if (status == 200 && sofia_test_flag(tech_pvt, TFLAG_T38_PASSTHRU) && has_t38) {
+                                               switch_core_session_receive_message(other_session, msg);
                                                if (switch_rtp_ready(tech_pvt->rtp_session) && switch_rtp_ready(other_tech_pvt->rtp_session)) {
                                                        switch_rtp_udptl_mode(tech_pvt->rtp_session);
                                                        switch_rtp_udptl_mode(other_tech_pvt->rtp_session);
                                                        switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "Activating T38 Passthru\n");
                                                }
-                                               switch_core_session_receive_message(other_session, msg);
                                        } else {
                                                switch_core_session_queue_message(other_session, msg);
                                        }