Hello!
Decrypting SRTP with Kamailio + rtpengine.
Hello! I have a task to decrypt SRTP for a legacy switch which doesn’t support it.
Simply adding rtpengine_manage("RTP/AVP") didn’t help. SDP converted from SRTP
to RTP while proxying INVITE to legacy switch, but 180 Ringing wasn’t converted back to
SRTP.
Little more detailed config snippet:
route[RELAY] {
...
if (is_method("INVITE")) {
if ($rd=~$var(switch_ip_mask)) {
rtpengine_manage("RTP/AVP");
} else {
rtpengine_manage();
}
...
}
Could someone please advise typical scenarios to achieve it, I suppose the task is pretty
standard.
Thank you in advance!