<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>you should provide the log messages printed with debug=3 in
      kamailio.cfg, eventually along with the xlog("$rb") to see the
      content of body at that moment.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 06.04.21 17:19, Ilie Soltanici
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJQ6-U2WX_EsyUXgxb6_jxQFBjuGxYm=2Rr1gCA5RBkPug6zPA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hello,<br>
        <div><br>
        </div>
        <div>Can someone point me to what is wrong with this SDP:</div>
        <div><br>
        </div>
        <div>```</div>
        <div><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">v=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">0
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">o=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">- 3826710256 3826710256 IN IP4 100.113.232.22
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">s=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">pjmedia
b=AS:386
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">t=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">0 0
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">a=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">X-nat:0
</span><span style="box-sizing:border-box;font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold;color:rgb(76,48,171)">m=audio 4012 RTP/SAVP 96 8 120 121</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">c=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">IN IP4 100.113.232.22
b=TIAS:96000
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">a=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">rtcp:4013 IN IP4 100.113.232.22
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">a=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">sendrecv
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">a=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">rtpmap:96 opus/48000/2
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">a=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">fmtp:96 useinbandfe</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">c=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">1
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">a=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">rtpmap:8 PCMA/8000
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">a=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">rtpmap:120 telephone-event/48000
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">a=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">fmtp:120 0-16
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">a=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">rtpmap:121 telephone-event/8000
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">a=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">fmtp:121 0-16
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">a=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">ssrc:886437437 cname:61141a4c6ecaa55e
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">a=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">crypto:1 AES_256_CM_HMAC_SHA1_80 inline:J9gds2sgq3OQccZ4fQoy3Oh9P2sWAXGHpLx+v/Ykh3gFQtAcaD8u5zpygEw2Dw==
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">a=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">crypto:2 AES_256_CM_HMAC_SHA1_32 inline:yVCi20viRSxW+7hkUDjDBfXX4eAsuNrGj96ByTpDejOww8A0+BwSDjO40U1u3A==
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">a=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">crypto:3 AES_CM_128_HMAC_SHA1_80 inline:9vWxWlHSBcLYv0p+qYTviva7Bc6tUb+fKblHaQ1D
</span><span style="box-sizing:border-box;color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap;font-weight:bold">a=</span><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">crypto:4 AES_CM_128_HMAC_SHA1_32 inline:UlLlQR2NB1owPDx7fFyGqnq09AVFVOLB50I3f/FC</span><br>
        </div>
        <div><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">```</span></div>
        <div><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">
</span></div>
        <div><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">I'm trying to apply function "fix_nated_sdp" to it, but getting back this error:</span></div>
        <div><span style="color:rgb(80,80,80);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:13px;white-space:pre-wrap">
</span></div>
        <no `IP[4|6]' in `a=rtcp' field>
        <div><br>
        </div>
        <div>By looking at the source code, seems that the nextissip
          value is 0, and that's why it fails (<span style="color:rgb(106,106,106);font-family:"Roboto Mono",Menlo,Monaco,Consolas,"Courier New",monospace;font-size:12.446px;white-space:pre-wrap">nextissip value:0/len:14</span>)</div>
        <div><br>
        </div>
        <div>Any idea why?</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
  </body>
</html>