<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi,</p>
<p><br>
</p>
<p>Kamailio is complaining about unexpected char [#015] in TO header of INVITE:</p>
<p><br>
</p>
<p></p>
<div>Jan  3 14:55:41 tpa-ar-openser01 /usr/sbin/kamailio[4782]: ERROR: <core> [parser/parse_to.c:626]: ERROR: parse_to : unexpected char [#015] in status 6: <<<sip:2057030997@72.31.12.161;tag=gK006cb08b>> .</div>
<div>Jan  3 14:55:41 tpa-ar-openser01 /usr/sbin/kamailio[4782]: ERROR: <core> [parser/msg_parser.c:180]: ERROR: get_hdr_field: bad to header</div>
<div>Jan  3 14:55:41 tpa-ar-openser01 /usr/sbin/kamailio[4782]: INFO: <core> [parser/msg_parser.c:353]: ERROR: bad header field [To: <sip:2057030997@]</div>
<div>Jan  3 14:55:41 tpa-ar-openser01 /usr/sbin/kamailio[4782]: ERROR: tm [t_lookup.c:1118]: ERROR: reply cannot be parsed</div>
<div><br>
</div>
<div>Here is the TO header for the same call in both text and hex format. I am unable to see any ^M char in this TO header. </div>
<div><br>
</div>
<div>To: <sip:2057030997@72.31.12.161;tag=gK006cb08b</div>
<div><br>
</div>
<div>546f3a203c7369703a323035373033303939374037322e33312e31322e3136313e3b7461673d674b30303663623038620d0a</div>
<div><br>
</div>
<div>Any help would be appreciated. </div>
<div><br>
</div>
<div>AS,</div>
<br>
<p></p>
</div>
</body>
</html>