Merge pull request #1007 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-9590:master to master

* commit 'bc7f60e014f1bf10214f2cd79cc6bbfe5970637f':
  FS-9590 check dtmf_type variable when negociating inbound SDP
This commit is contained in:
Mike Jerris 2016-10-21 12:52:04 -05:00
commit d79b9a0627
1 changed files with 3 additions and 0 deletions

View File

@ -4226,6 +4226,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);
}