提交 5aa955b5 authored 作者: Anthony Minessale's avatar Anthony Minessale

also means forbidden on recovering calls

上级 87e0dda3
...@@ -1106,7 +1106,7 @@ static void switch_core_session_parse_crypto_prefs(switch_core_session_t *sessio ...@@ -1106,7 +1106,7 @@ static void switch_core_session_parse_crypto_prefs(switch_core_session_t *sessio
} }
if (zstr(val)) { if (zstr(val)) {
if (switch_channel_direction(session->channel) == SWITCH_CALL_DIRECTION_INBOUND) { if (switch_channel_direction(session->channel) == SWITCH_CALL_DIRECTION_INBOUND && !switch_channel_test_flag(session->channel, CF_RECOVERING)) {
val = "optional"; val = "optional";
} else { } else {
val = "forbidden"; val = "forbidden";
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论