engine->ssec.crypto_tag = 1;
}
- switch_channel_set_flag(session->channel, CF_CRYPTO_RECOVER);
switch_channel_set_flag(session->channel, CF_SECURE);
}
}
/* Change our key every time we can */
- if (switch_channel_test_flag(session->channel, CF_CRYPTO_RECOVER)) {
- switch_channel_clear_flag(session->channel, CF_CRYPTO_RECOVER);
- }
-
if (sdp_type == SDP_TYPE_REQUEST) {
if (switch_stristr(SWITCH_RTP_CRYPTO_KEY_32, crypto)) {
switch_channel_set_variable(session->channel, varname, SWITCH_RTP_CRYPTO_KEY_32);