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