[SR-Users] Decrypting SRTP with Kamailio + rtpengine

Ildar Mukhametzhanov im at voice-on.de
Mon Aug 17 11:33:33 CEST 2020


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!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200817/18ed7b08/attachment.htm>


More information about the sr-users mailing list