tweak
This commit is contained in:
parent
33b22c485d
commit
475522b520
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue