mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-12 23:40:04 +00:00
also means forbidden on recovering calls
This commit is contained in:
parent
87e0dda3d3
commit
5aa955b5c9
@ -1106,7 +1106,7 @@ static void switch_core_session_parse_crypto_prefs(switch_core_session_t *sessio
|
||||
}
|
||||
|
||||
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";
|
||||
} else {
|
||||
val = "forbidden";
|
||||
|
Loading…
x
Reference in New Issue
Block a user