FS-9590 check dtmf_type variable when negociating inbound SDP

This commit is contained in:
François 2016-10-13 17:32:22 +02:00
parent 749aa8fb3c
commit bc7f60e014
1 changed files with 3 additions and 0 deletions

View File

@ -4206,6 +4206,9 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s
}
}
/* check dtmf_type variable */
switch_core_media_check_dtmf_type(session);
if ((val = switch_channel_get_variable(session->channel, "rtp_liberal_dtmf")) && switch_true(val)) {
switch_channel_set_flag(session->channel, CF_LIBERAL_DTMF);
}