]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9590 check dtmf_type variable when negociating inbound SDP
authorFrançois <fdelawarde@wirelessmundi.com>
Thu, 13 Oct 2016 15:32:22 +0000 (17:32 +0200)
committerFrançois <fdelawarde@wirelessmundi.com>
Thu, 13 Oct 2016 15:32:22 +0000 (17:32 +0200)
src/switch_core_media.c

index 216f0dcb4a383c9e50da23f999f010e6cea8e8ff..d3871e1031d3363bd6d9bb9098232d65ff57f654 100644 (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);
        }