提交 c14a3ea2 authored 作者: Anthony Minessale's avatar Anthony Minessale

dtmf tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17018 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 28982340
......@@ -2772,6 +2772,7 @@ switch_status_t sofia_glue_activate_rtp(private_object_t *tech_pvt, switch_rtp_f
if (tech_pvt->te) {
switch_rtp_set_telephony_event(tech_pvt->rtp_session, tech_pvt->te);
switch_rtp_set_telephony_recv_event(tech_pvt->rtp_session, tech_pvt->te);
}
if (sofia_test_pflag(tech_pvt->profile, PFLAG_SUPPRESS_CNG) ||
......@@ -3517,6 +3518,7 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, sdp_session_t *
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Set 2833 dtmf send payload to %u\n", te);
if (tech_pvt->rtp_session) {
switch_rtp_set_telephony_event(tech_pvt->rtp_session, tech_pvt->te);
switch_rtp_set_telephony_recv_event(tech_pvt->rtp_session, tech_pvt->te);
}
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论