<div dir="ltr">I think this response is borderline. RFC3261 specifically mandates SINGLE character to be used, however the reason phrase might contain as many spaces as needed, so that it can be argued that in this particular case the reason phrase is " OK" versus "OK" normally.<div><br></div><div><pre class="gmail-newpage" style="margin-top:0px;margin-bottom:0px;break-before:page">---</pre><pre class="gmail-newpage" style="margin-top:0px;margin-bottom:0px;break-before:page"></pre><pre class="gmail-newpage" style="font-size:13.3333px;margin-top:0px;margin-bottom:0px;break-before:page"><span style="color:rgb(0,0,0)"><span class="gmail-h3" style="display:inline;font-size:1em;font-weight:bold"><h3 style="display:inline;font-size:1em"><a class="gmail-selflink" name="section-7.2" href="https://tools.ietf.org/html/rfc3261#section-7.2" style="color:black;text-decoration-line:none">7.2</a> Responses</h3></span>

   SIP responses are distinguished from requests by having a Status-Line
   as their start-line.  A Status-Line consists of the protocol version
   followed by a numeric Status-Code and its associated textual phrase,
   with each element separated by a </span><font color="#ff0000">single</font><font color="#000000"> SP character.

   No CR or LF is allowed except in the final CRLF sequence.

      Status-Line  =  SIP-Version SP Status-Code SP Reason-Phrase CRLF</font></pre><pre class="gmail-newpage" style="font-size:13.3333px;margin-top:0px;margin-bottom:0px;break-before:page"><font color="#000000">[...]</font></pre><pre class="gmail-newpage" style="margin-top:0px;margin-bottom:0px;break-before:page"><pre class="gmail-newpage" style="font-size:13.3333px;margin-top:0px;margin-bottom:0px;break-before:page;color:rgb(0,0,0)">Reason-Phrase   =  *(reserved / unreserved / escaped
                   / UTF8-NONASCII / UTF8-CONT / SP / HTAB)</pre>---</pre><pre class="gmail-newpage" style="margin-top:0px;margin-bottom:0px;break-before:page"><br></pre>Technically speaking changing JUST reason phrase in SIP proxy should not break anything. You don't really need B2BUA to replace say "200 OK" with "200 Have a Good Day" so it's just a matter of nobody having this need. <pre class="gmail-newpage" style="font-size:13.3333px;margin-top:0px;margin-bottom:0px;break-before:page"><br></pre><pre class="gmail-newpage" style="font-size:13.3333px;margin-top:0px;margin-bottom:0px;break-before:page;color:rgb(0,0,0)">-Max</pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 14, 2020 at 6:09 AM johan <<a href="mailto:johan@democon.be">johan@democon.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>To me 200 OK is perfectly valid.   The operator should fix this
      at his side. <br>
    </p>
    <div>On 14.02.20 15:01, Антон Ершов wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hello friends!<br>
        <div>we have final equipment that does not meet 200OK
          correctly. it adds an extra space between 200 and OK. from the
          point of view of rfc is not very scary. but there is an
          operator that cannot handle the given 200OK. I tried to fix it
          with <span style="background-color:rgb(254,254,238);color:rgb(0,0,0)">change_reply_status
            in module </span>sipmsgops.<br>
        </div>
        <div>but it rewrites the status-line with the same extra space. <br>
        </div>
        <div>Is this a bug?<br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </div>

_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Maksym Sobolyev<br>Sippy Software, Inc.<br>Internet Telephony (VoIP) Experts<br>Tel (Canada): +1-778-783-0474<br>Tel (Toll-Free): +1-855-747-7779<br>Fax: +1-866-857-6942<br>Web: <a href="http://www.sippysoft.com" target="_blank">http://www.sippysoft.com</a><br>MSN: <a href="mailto:sales@sippysoft.com" target="_blank">sales@sippysoft.com</a><br>Skype: SippySoft<br></div></div>