[SR-Users] Decrypting SRTP with Kamailio + rtpengine

Yuriy Gorlichenko ovoshlook at gmail.com
Tue Aug 18 22:57:35 CEST 2020


You have to call rtpengine_manage for the replies as well.

On Tue, 18 Aug 2020, 20:14 Alex Balashov, <abalashov at evaristesys.com> wrote:

> They can...
>
> On 8/18/20 1:25 PM, Sergey Safarov wrote:
> > 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 at voice-on.de
> > <mailto:im at 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 at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
> >     https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> >
> >
> > _______________________________________________
> > Kamailio (SER) - Users Mailing List
> > sr-users at lists.kamailio.org
> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> >
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
>
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200818/24b32d00/attachment.htm>


More information about the sr-users mailing list