<div dir="ltr"><div><br></div><div>In my script, I have an error_route...</div><div><br></div><div>error_route {<br>   xlog("--- error route class=$(err.class) level=$(err.level)<br>        info=$(<a href="http://err.info">err.info</a>) rcode=$(err.rcode) rreason=$(err.rreason) ---\n");<br>   xlog("--- error from [$si:$sp]\n+++++\n$mb\n++++\n");<br>   sl_send_reply($err.rcode, "$err.rreason");<br>   exit;<br>}<br></div><div><br></div><div>...but when I get a message parsing error, the error_route seems to ignore it. What am I doing wrong?</div><div><br></div><div>ERROR:core:parse_method: invalid character :<br></div><div>INFO:core:parse_first_line: failed to parse the method<br>INFO:core:parse_first_line: bad message<br>ERROR:core:parse_msg: message=<Contact: <<a href="http://sip:1234@abc.def.com:5060">sip:1234@abc.def.com:5060</a>>#015#012User-Agent: MWWRTC 3.4.21042#015#012Accept: application/sdp,application/dtmf-relay,text/plain#015#012SIP/2.0 200 OK#015#012Via: SIP/2.0/TCP 192.168.1.23:5060;rport=57559;received=192.168.1.23;branch=z9hG4bK72a5d21#015#012From: <<a href="mailto:sip%3Apinger@192.168.1.23">sip:pinger@192.168.1.23</a>>;tag=33e693c3#015#012To: <sip:xxx.xxx.xxx.xxx:5060>;tag=1550918023#015#012Call-ID: <a href="http://fc585e54-72a5d21-ab2@192.168.1.23#015#012CSeq">fc585e54-72a5d21-ab2@192.168.1.23#015#012CSeq</a>: 1 OPTIONS#015#012User-Agent: Yealink SIP-T54W#015#012Content-Length: 0#015#012#015#012><br>ERROR:core:receive_msg: Unable to parse msg received from [<a href="http://192.168.1.23:5060">192.168.1.23:5060</a>]<br>ERROR:core:tcp_handle_req: receive_msg failed<br></div><div><br></div><div><br></div><div>We are running OpenSIPS 3.1</div><div><br></div><div><br></div><div>(this is a follow-up to my other query <a href="http://lists.opensips.org/pipermail/users/2021-May/044776.html">http://lists.opensips.org/pipermail/users/2021-May/044776.html</a>)</div><br><div></div></div>