提交 d79b9a06 authored 作者: Mike Jerris's avatar Mike Jerris

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

* commit 'bc7f60e0':
  FS-9590 check dtmf_type variable when negociating inbound SDP
...@@ -4226,6 +4226,9 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s ...@@ -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)) { if ((val = switch_channel_get_variable(session->channel, "rtp_liberal_dtmf")) && switch_true(val)) {
switch_channel_set_flag(session->channel, CF_LIBERAL_DTMF); switch_channel_set_flag(session->channel, CF_LIBERAL_DTMF);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论