]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorMathieu Rene <mrene@avgs.ca>
Mon, 16 Mar 2009 23:52:28 +0000 (23:52 +0000)
committerMathieu Rene <mrene@avgs.ca>
Mon, 16 Mar 2009 23:52:28 +0000 (23:52 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12636 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index a1500ccde914c11339d574a36a4c0ebb7e38e7bf..c749549d660f06229d76cdad73988687b7136225 100644 (file)
@@ -2691,7 +2691,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status
                        }
                }
 
-               if (channel && sip && (status >= 300 || status < 399) && switch_channel_test_flag(channel, CF_OUTBOUND)) {
+               if (channel && sip && (status >= 300 && status < 399) && switch_channel_test_flag(channel, CF_OUTBOUND)) {
                        sip_contact_t * p_contact = sip->sip_contact;
                        int i = 0;
                        char var_name[80];