<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 16/02/2019 07.38, vinod mn wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHeWXy7hK=6MJS87BrdCdhv3Wc7qrCqnXeuKZg-8ro_Aum5YLg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">
        <div dir="auto">Hi I am not able to do SRTP configuration
          properly</div>
        <div dir="auto">this the kamailio configurationĀ <br>
        </div>
        <div dir="auto"><b>route[NATMANAGE] {<br>
          </b></div>
        <div dir="auto"><b>rtpengine_manage("replace-origin
            replace-session-connection RTP/SAVP");<br>
            }</b></div>
        <div dir="auto">I can see in SDP RTP/SAVP but still the packets
          are RTP.</div>
        <div dir="auto"><span style="font-size: 12.8px;">clients used
            linphone-android (media-encryption is SRTP ) and
            3cx-windows-client</span></div>
      </div>
    </blockquote>
    <p>You have to differentiate between offers and answers. In the
      offer going from RTP to the SRTP client, instruct rtpengine to use
      RTP/SAVP. In the answer, omit that option (or use RTP/AVP).
      Indiscriminately calling rtpengine_manage with the same options in
      both directions doesn't work.</p>
    <p>Cheers<br>
    </p>
  </body>
</html>