<div dir="ltr"><div>Hello,<br><br></div>It seems that when calling the function sdp_get_line_startswith, it removes the \r (0d in hexa) from the SIP message before forwarding it. In the code (sdpops_mod.c) from line 1402 to 1406, we see that<br>

      <br><div><div>// remove ending \r\n if exists<br>      if (avp_val.s.s[line.len-2] == '\r' && avp_val.s.s[line.len-1] == '\n')<br>      {    <br>          avp_val.s.s[line.len-2] = '\0';<br>

          avp_val.s.len -= 2;<br>      }    <br><br></div><div>As avp_val is a reference to the found line which is also a reference to the line in the message, all modification made to this var will also be applied to the message. Am I wrong?<br>

<br></div><div>Thank you,<br></div></div></div>