提交 b05d64ff authored 作者: Michael Jerris's avatar Michael Jerris

allow you to force us to not advertise 2833

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7923 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 08524b43
......@@ -121,7 +121,7 @@ void sofia_glue_set_local_sdp(private_object_t *tech_pvt, const char *ip, uint32
}
}
if (tech_pvt->te > 95) {
if (tech_pvt->dtmf_type == DTMF_2833 && tech_pvt->te > 95) {
switch_snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " %d", tech_pvt->te);
}
......@@ -172,7 +172,7 @@ void sofia_glue_set_local_sdp(private_object_t *tech_pvt, const char *ip, uint32
}
}
if (tech_pvt->te > 95) {
if (tech_pvt->dtmf_type == DTMF_2833 && tech_pvt->te > 95) {
switch_snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "a=rtpmap:%d telephone-event/8000\na=fmtp:%d 0-16\n", tech_pvt->te, tech_pvt->te);
}
if (tech_pvt->cng_pt && use_cng) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论