]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4637 please test and repost log
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 20 Sep 2012 20:57:08 +0000 (15:57 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 20 Sep 2012 20:57:08 +0000 (15:57 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index 304ac668dd26ce475fc67fd40ce4213e59961a05..f7f7bddead52b74e613fcfb4305ef8d0450a889a 100644 (file)
@@ -5845,9 +5845,9 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status
                        sofia_clear_flag(tech_pvt, TFLAG_T38_PASSTHRU);
                }
 
-               if (switch_channel_test_flag(channel, CF_PROXY_MODE) || 
-                       switch_channel_test_flag(channel, CF_PROXY_MEDIA) || 
-                       (sofia_test_flag(tech_pvt, TFLAG_T38_PASSTHRU) && (has_t38 || status > 299))) {
+               if (status > 199 && (switch_channel_test_flag(channel, CF_PROXY_MODE) || 
+                                                        switch_channel_test_flag(channel, CF_PROXY_MEDIA) || 
+                                                        (sofia_test_flag(tech_pvt, TFLAG_T38_PASSTHRU) && (has_t38 || status > 299)))) {
 
                        if (sofia_test_flag(tech_pvt, TFLAG_SENT_UPDATE)) {
                                sofia_clear_flag_locked(tech_pvt, TFLAG_SENT_UPDATE);