FS-6054
This commit is contained in:
parent
8d1c1a5bb9
commit
417ef16de5
Notes:
Travis Cross
2013-12-30 16:04:55 +00:00
Fixes crash during hold operations introduced in 9a20d0a
|
@ -3739,7 +3739,7 @@ SWITCH_DECLARE(int) switch_core_media_toggle_hold(switch_core_session_t *session
|
|||
|
||||
if (!switch_media_handle_test_media_flag(smh, SCMF_DISABLE_RTP_AUTOADJ) &&
|
||||
!((val = switch_channel_get_variable(session->channel, "disable_rtp_auto_adjust")) && switch_true(val)) &&
|
||||
!switch_channel_test_flag(session->channel, CF_WEBRTC)) {
|
||||
!switch_channel_test_flag(session->channel, CF_WEBRTC) && a_engine->rtp_session) {
|
||||
/* Reactivate the NAT buster flag. */
|
||||
switch_rtp_set_flag(a_engine->rtp_session, SWITCH_RTP_FLAG_AUTOADJ);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue