From 475522b52076e155ae118114b2839422686f463d Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 18 Sep 2012 11:13:09 -0500 Subject: [PATCH] tweak --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index e8a1c1e7ef..0f3d478f69 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -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++;