FS-10899: [core] 3pcc-mode=proxy is proxying SDP in the 200OK with late offer invites #resolve
This commit is contained in:
parent
352cc3526d
commit
433c2b6b89
|
@ -766,7 +766,7 @@ static switch_status_t sofia_answer_channel(switch_core_session_t *session)
|
|||
switch_channel_set_flag(channel, CF_3PCC);
|
||||
}
|
||||
|
||||
if (b_sdp && !switch_channel_var_true(channel, "3pcc_always_gen_sdp")) {
|
||||
if (b_sdp && is_proxy && !switch_channel_var_true(channel, "3pcc_always_gen_sdp")) {
|
||||
switch_core_media_set_local_sdp(session, b_sdp, SWITCH_TRUE);
|
||||
} else {
|
||||
switch_core_media_choose_port(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO, 0);
|
||||
|
|
Loading…
Reference in New Issue