<div dir="auto"><div>Hi, </div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><span style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;white-space:pre;background-color:rgb(22,27,34)">$</span><span style="font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;white-space:pre;background-color:rgb(22,27,34)">ru</span><span style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;white-space:pre;background-color:rgb(22,27,34)"> = </span><span style="font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;white-space:pre;background-color:rgb(22,27,34)">"sip:"</span><span style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;white-space:pre;background-color:rgb(22,27,34)"> + $rU + </span><span style="font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;white-space:pre;background-color:rgb(22,27,34)">"@"</span><span style="color:rgb(240,246,252);font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;white-space:pre;background-color:rgb(22,27,34)"> + $td</span><span style="font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:12px;white-space:pre;background-color:rgb(22,27,34)">;</span></div><div dir="auto"><font face="ui-monospace, sfmono-regular, sf mono, menlo, consolas, liberation mono, monospace"><span style="font-size:12px;white-space:pre"><br></span></font></div><div dir="auto"><font face="ui-monospace, sfmono-regular, sf mono, menlo, consolas, liberation mono, monospace"><span style="font-size:12px;white-space:pre">Or simple $ru = $tu;</span></font></div><div dir="auto"><font face="ui-monospace, sfmono-regular, sf mono, menlo, consolas, liberation mono, monospace"><span style="font-size:12px;white-space:pre"><br></span></font></div><div dir="auto"><font face="ui-monospace, sfmono-regular, sf mono, menlo, consolas, liberation mono, monospace"><span style="font-size:12px;white-space:pre">could be the trick.</span></font></div><div dir="auto"><font face="ui-monospace, sfmono-regular, sf mono, menlo, consolas, liberation mono, monospace"><span style="font-size:12px;white-space:pre"><br></span></font></div><div dir="auto"><font face="ui-monospace, sfmono-regular, sf mono, menlo, consolas, liberation mono, monospace"><span style="font-size:12px;white-space:pre">Kind regards </span></font></div><div dir="auto"><font face="ui-monospace, sfmono-regular, sf mono, menlo, consolas, liberation mono, monospace"><span style="font-size:12px;white-space:pre">Karsten Horsmann </span></font></div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Mihovil Kolaric <<a href="mailto:mihovil.kolaric@gmail.com">mihovil.kolaric@gmail.com</a>> schrieb am Di., 7. Dez. 2021, 20:18:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I have an issue with a SIP-client, that occasionally puts a blank between the version SIP/2.0 and the CRLF at the and of the request-line. (i.e. sends "ACK <uri> SIP/2.0 \r\n" instead of "ACK <uri> SIP/2.0\r\n").<br></div><div>Kamailio (as well as most SIP UAs) does not care about that error and successfully processes/forwards the request (also when using sanity_check()). But I also deal with a client that fails to parse that request. (Furthermore, wireshark's dissector fails to recognize such malformed messages as SIP, which makes debugging even harder).</div><div><br></div><div>I tried to fix this issue using textops, but all functions I tried operate only on headers or message body, but do not seem to affect the request line. <br></div><div>Is there any possibility to modify the request-line, or to replace it with a new one?</div><div><br></div><div>Best Regards,</div><div>Mihovil<br></div></div>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div></div>