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

Merge pull request #950 in FS/freeswitch from…

Merge pull request #950 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-6954-freeswitch-adds-additional-m-audio to master

* commit 'd5b5e8c2':
  FS-6954: Use channel flags to check for proxy media or bypass media
...@@ -1286,9 +1286,8 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session) ...@@ -1286,9 +1286,8 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
if ((switch_channel_get_private(tech_pvt->channel, "t38_options")) || if ((switch_channel_get_private(tech_pvt->channel, "t38_options")) ||
((sofia_test_flag(tech_pvt, TFLAG_INB_NOMEDIA) || ((switch_channel_test_flag(tech_pvt->channel, CF_PROXY_MODE) ||
sofia_test_flag(tech_pvt, TFLAG_PROXY_MEDIA) || switch_channel_test_flag(tech_pvt->channel, CF_PROXY_MEDIA) )
switch_true(switch_channel_get_variable(tech_pvt->channel, SWITCH_BYPASS_MEDIA_VARIABLE)) )
&& switch_stristr("m=image", tech_pvt->mparams.local_sdp_str))) { && switch_stristr("m=image", tech_pvt->mparams.local_sdp_str))) {
sofia_clear_flag(tech_pvt, TFLAG_ENABLE_SOA); sofia_clear_flag(tech_pvt, TFLAG_ENABLE_SOA);
is_t38 = 1; is_t38 = 1;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论