[OpenSIPS-Users] Double SDP

Johan De Clercq Johan at democon.be
Wed Sep 4 08:01:52 EDT 2019


No it is either rtp/avp or rtp/savp.

On Wed, 4 Sep 2019, 13:54 Dragomir Haralambiev, <goup2010 at gmail.com> wrote:

> Hello,
>
> I try setup Opensips to make local calls using device with encryption.
>
> In this example, it is not known UA 2 whether it supported (RTP/SAVP).
> UA 1 (RTP/AVP) ----> Opensips+Rtpengine -----> UA 2
>
> 1. I try to make call with:
> rtpengine_offer("RTP/AVP replace-session-connection replace-origin
> ICE=remove");
>
> 2. If UA 2 is not supported RTP/AVP (use encryption always) return 488
> (Not Acceptable Media).
>
> failure_route[local] {
>
>   if (t_check_status("488")) {
>      rtpengine_delete();
>      rtpengine_offer("RTP/SAVP replace-session-connection replace-origin
> ICE=remove");
>      t_on_failure("local");
>     t_relay();
>     exit;
>    };
> }
> This is  INVITE from Opensips to UA 2.
> The Session Description Protocol contains two parts. One with RTP/AVP and
> the other with RTP/SAVP.
> Is this correct?
>
> INVITE
> .........................................
> v=0
> o=- 13211994121466145 1 IN IP4 84.21.15.45
> s=X-Lite release 5.6.1 stamp 99142
> c=IN IP4 84.21.15.45
> t=0 0
> m=audio 51334 RTP/AVP 8 0 101
> a=rtpmap:8 PCMA/8000
> a=rtpmap:0 PCMU/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=sendrecv
> a=rtcp:51335
> v=0
> o=- 13211994121466145 1 IN IP4 84.21.15.45
> s=X-Lite release 5.6.1 stamp 99142
> c=IN IP4 84.21.15.45
> t=0 0
> m=audio 51334 RTP/SAVP 8 0 101
> a=rtpmap:8 PCMA/8000
> a=rtpmap:0 PCMU/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=sendrecv
> a=rtcp:51335
> a=crypto:1 AES_CM_128_HMAC_SHA1_80
> inline:BQZW8OxjNdLM/Py8clP7nGLRPUXSDNTIhGS84YoN
> a=crypto:2 AES_CM_128_HMAC_SHA1_32
> inline:eC/i/z6ll3sZL/rhqfFcqK+q/atpInrBV+WBl921
> a=crypto:3 AES_192_CM_HMAC_SHA1_80
> inline:1Zz46W/M4YkZOWSebTcZwlZspR7t3n5e0NLx36DLREpyrFzYj7I
> a=crypto:4 AES_192_CM_HMAC_SHA1_32
> inline:43+DC+ZYBHrRWweVfJjP/U/3PFxd0QIyi5XHq7Oq8nnKS2w9lpQ
> a=crypto:5 AES_256_CM_HMAC_SHA1_80
> inline:HVjfOVa4qezhGqdKYOxD3KiZFllBUA6G7NCnnESuYHoy8Ha+pTQi57H0knlobg
> a=crypto:6 AES_256_CM_HMAC_SHA1_32
> inline:YbVeh5vrcQbMPKY9g13QCEBD7KZsin2wXWjQA+mEKfL0T8uMKE0+Dn2comPzmA
> a=crypto:7 F8_128_HMAC_SHA1_80
> inline:lLQrgIsJWoTb37NCXKJrB88aSBX3/ETWFyPSnOu1
> a=crypto:8 F8_128_HMAC_SHA1_32
> inline:+LuITZ9LDvcQUv2O7t9FBztNUOkHhgpmj91w2c6w
> a=crypto:9 NULL_HMAC_SHA1_80
> inline:y+3sqIOeZXDPG0mhYsz234s7Jrq3EOblQWT5bc0w
> a=crypto:10 NULL_HMAC_SHA1_32
> inline:6oMnVQvKFtJeQnHyyCY6ECDLwIjgn3kGyxYPm+nT
> a=setup:actpass
> a=fingerprint:sha-1
> A2:EF:11:86:E9:68:C9:8F:D6:86:33:07:BF:D1:6C:DD:6B:D8:FB:C3
>
>
>
> The problem is that I get a one-way voice.
>
> Best regards,
> Dragomir
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190904/ef314e83/attachment.html>


More information about the Users mailing list