<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi, Martin!</tt><tt><br>
    </tt><tt> </tt><tt><br>
    </tt><tt> You are right, the c= element is missing in the SDP. And
      according to the RFC[1], the body should have at least one c=
      element. Regarding the o= line, the IP over there is not that
      important, and it can be anything, provided that the entire o=
      line is unique.</tt><tt><br>
    </tt><tt> </tt><tt><br>
    </tt><tt> Now the main problem came from the fact that RTPProxy does
      not advertise the IP it will be sending RTP from, so we don't
      really know what to have in the c= line. The only way I am
      thinking we can solve this is to provide the RTP IP as a parameter
      to the siprec_start_recording() command[2]. In case this is
      missing, we add something dummy, such as the first interface of
      OpenSIPS or something.</tt><tt><br>
    </tt><tt> </tt><tt><br>
    </tt><tt> Note that the same issue is with the port advertised in
      SDP: since rtpproxy does not indicate which port it will be using
      for streaming the media, those ports are completely dummy.</tt><tt><br>
    </tt><tt> </tt><tt><br>
    </tt><tt> [1] </tt><tt><a class="moz-txt-link-freetext"
        href="https://tools.ietf.org/html/rfc4566#section-5.7">https://tools.ietf.org/html/rfc4566#section-5.7</a></tt><tt><br>
    </tt><tt> [2]
    </tt><tt><a class="moz-txt-link-freetext"
href="http://www.opensips.org/html/docs/modules/2.4.x/siprec.html#siprec_start_recording">http://www.opensips.org/html/docs/modules/2.4.x/siprec.html#siprec_start_recording</a></tt><tt><br>
    </tt><tt> </tt><tt><br>
    </tt><tt>PS: in the future, please attach file contents on an
      external storage.</tt><tt><br>
    </tt><tt><br>
    </tt><tt>Best regards,</tt><br>
    <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Developer
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 01/23/2018 10:15 AM, Martin Nyström
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:6CCE99F7-7158-4E07-ADE5-145F0F6FF2DE@connectel.se">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Title" content="">
      <meta name="Keywords" content="">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:595.0pt 842.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:11.0pt">Hi,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">I am having
            issues with siprec and rtpproxy.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">Running the
            latest 2.4 dev version.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">The issue I
            am having is that when an 200 OK is received, the siprec is
            sending an incorrect SDP block to the recording provider. As
            a result of this they are unable to process the recording
            properly.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">For an
            example the SDP element c= is missing completely and the o=
            element are sending the incorrect IP. I am thinking there is
            some issue between rtpproxy and opensips that causes this.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">I have
            attached below some relevant configurations, please note
            that “my.externalip.com” is a pseudo for my external IP. The
            server only has an interface with an external address.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span><br>
        </p>
      </div>
    </blockquote>
  </body>
</html>