Thinks 180 Ringing messages do not contain SDP.
Some misunderstanding present here

Sergey

On Tue, Aug 18, 2020 at 9:51 AM Ildar Mukhametzhanov <im@voice-on.de> wrote:

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!

 

 

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users