提交 c98cdb4e authored 作者: Travis Cross's avatar Travis Cross

avoid warning if late negotiation is enabled anyway

上级 879830f6
...@@ -4813,8 +4813,8 @@ switch_status_t config_sofia(int reload, char *profile_name) ...@@ -4813,8 +4813,8 @@ switch_status_t config_sofia(int reload, char *profile_name)
} }
} }
if (sofia_test_flag(profile, TFLAG_ZRTP_PASSTHRU)) { if (sofia_test_flag(profile, TFLAG_ZRTP_PASSTHRU) && !sofia_test_flag(profile, TFLAG_LATE_NEGOTIATION)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "ZRTP Passthru implictly sets inbound-late-negotiation to true.\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "ZRTP passthrough implictly enables inbound-late-negotiation\n");
sofia_set_flag(profile, TFLAG_LATE_NEGOTIATION); sofia_set_flag(profile, TFLAG_LATE_NEGOTIATION);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论