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!
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
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@voice-on.de mailto: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 <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
You have to call rtpengine_manage for the replies as well.
On Tue, 18 Aug 2020, 20:14 Alex Balashov, abalashov@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@voice-on.de mailto: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 <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@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@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users