From: François Date: Thu, 13 Oct 2016 15:32:22 +0000 (+0200) Subject: FS-9590 check dtmf_type variable when negociating inbound SDP X-Git-Tag: v1.8.0~1166^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc7f60e014f1bf10214f2cd79cc6bbfe5970637f;p=thirdparty%2Ffreeswitch.git FS-9590 check dtmf_type variable when negociating inbound SDP --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 216f0dcb4a..d3871e1031 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -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); }