FS-6054
This commit is contained in:
parent
6968ef88fa
commit
ee1b7c61ee
Notes:
Travis Cross
2013-12-30 15:50:12 +00:00
Fixes FS crash during hold operations introduced in 1ac6f16
|
@ -4456,7 +4456,16 @@ int sofia_glue_toggle_hold(private_object_t *tech_pvt, int sendonly)
|
|||
if (!sofia_test_pflag(tech_pvt->profile, PFLAG_DISABLE_RTP_AUTOADJ) && !switch_channel_test_flag(tech_pvt->channel, CF_PROXY_MODE) &&
|
||||
!((val = switch_channel_get_variable(tech_pvt->channel, "disable_rtp_auto_adjust")) && switch_true(val))) {
|
||||
/* Reactivate the NAT buster flag. */
|
||||
switch_rtp_set_flag(tech_pvt->video_rtp_session, SWITCH_RTP_FLAG_AUTOADJ);
|
||||
|
||||
|
||||
if (tech_pvt->rtp_session) {
|
||||
switch_rtp_set_flag(tech_pvt->rtp_session, SWITCH_RTP_FLAG_AUTOADJ);
|
||||
}
|
||||
|
||||
if (tech_pvt->video_rtp_session) {
|
||||
switch_rtp_set_flag(tech_pvt->video_rtp_session, SWITCH_RTP_FLAG_AUTOADJ);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
sofia_clear_flag_locked(tech_pvt, TFLAG_SIP_HOLD);
|
||||
|
|
Loading…
Reference in New Issue