]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 18 Sep 2012 16:13:09 +0000 (11:13 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 18 Sep 2012 16:13:09 +0000 (11:13 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index e8a1c1e7ef518f2320d19ca9b7ae63c7affdb96f..0f3d478f696191a9ad368e5e02967a81ff57a5e6 100644 (file)
@@ -1210,7 +1210,7 @@ static void our_sofia_event_callback(nua_event_t event,
                break;
        case nua_i_invite:
                if (session && sofia_private) {
-                       if (sofia_private->is_call > 1 || (channel && switch_channel_direction(channel) == SWITCH_CALL_DIRECTION_OUTBOUND)) {
+                       if (sofia_private->is_call > 1) {
                                sofia_handle_sip_i_reinvite(session, nua, profile, nh, sofia_private, sip, de, tags);
                        } else {
                                sofia_private->is_call++;