Kamailio and Asterisk TLS/SRTP bridge

Hello,

I need to build a VoIP system who receives SIP and RTP traffic in a public IP and encrypt both of them with TLS and SRTP. The main point is to have security inside of the local network.

So, I was trying to build the whole system in Kamailio but I got stucked with the RTP to SRTP bridge and I do not really know how to do it. I know that there are some modules like rtpproxy-ng and rtpengine as media relay that can handle SRTP… (any ideas?).

Finally, I decided to look for information about Asterisk and (I am pretty new with all of this) I want to ask if it would be possible to make some kind of conection between kamailio and Asterisk and do the encryption in Asterisk.

Any help will be apreciate,
thank you.