From bc7f60e014f1bf10214f2cd79cc6bbfe5970637f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Thu, 13 Oct 2016 17:32:22 +0200 Subject: [PATCH] FS-9590 check dtmf_type variable when negociating inbound SDP --- src/switch_core_media.c | 3 +++ 1 file changed, 3 insertions(+) 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); }