<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am getting a lot of parse error in opensip.log as you can see below <o:p></o:p></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Courier New";color:#222222'>I Found in opensips source code that this issue have one reason:<br>if (tag.s==0 || tag.len==0) {<br> LM_ERR("missing TAG param in TO hdr :-/\n");<br> tag.s = 0;<br> tag.len = 0;<br> }</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;background:white'><span style='font-size:10.0pt;font-family:"Courier New";color:#222222'>only if we do not have to tag in reply dialog</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Courier New";color:#222222'>I Found explanation if the missing to tag that appear in log file:</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:#222222;background:white'>directly the reason is that sip request 487 lacks a to tag; the to header do not contain to tag.<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>1-How to avoid let this error appears in log file <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>2013-06-22T11:08:36.230288+00:00 opensips opensips[1888]: ERROR:dialog:push_reply_in_dialog: missing TAG param in TO hdr :-/<o:p></o:p></p><p class=MsoNormal>2013-06-22T11:10:15.960563+00:00 opensips opensips[1922]: ERROR:core:parse_first_line: bad reply(status) first line<o:p></o:p></p><p class=MsoNormal>2013-06-22T11:10:15.960583+00:00 opensips opensips[1922]: ERROR:core:parse_first_line: at line 0 char 10: <o:p></o:p></p><p class=MsoNormal>2013-06-22T11:10:15.960595+00:00 opensips opensips[1922]: ERROR:core:parse_first_line: parsed so far: SIP/2.0 0 <o:p></o:p></p><p class=MsoNormal>2013-06-22T11:10:15.960601+00:00 opensips opensips[1922]: ERROR:core:parse_msg: message=<SIP/2.0 0 Status#015#012Content-Length: 0#015#012#015#012><o:p></o:p></p><p class=MsoNormal>2013-06-22T11:10:15.960608+00:00 opensips opensips[1922]: ERROR:core:receive_msg: parse_msg failed<o:p></o:p></p><p class=MsoNormal>2013-06-22T11:17:11.963667+00:00 opensips opensips[1867]: ERROR:dialog:push_reply_in_dialog: missing TAG param in TO hdr :-/<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Khaled Chehab<o:p></o:p></p><p class=MsoNormal>Chief Technical Officer<o:p></o:p></p><p class=MsoNormal><img width=117 height=75 id="Picture_x0020_1" src="cid:image001.png@01CE6F54.9E646A40" alt="Description: icucall"><o:p></o:p></p><p class=MsoNormal>Operations Office - Lebanon<o:p></o:p></p><p class=MsoNormal>Office : +961 1 515155 ext 300<o:p></o:p></p><p class=MsoNormal>Mobile : +961 3 045212<o:p></o:p></p><p class=MsoNormal>E-mail : kchehab@icucall.com<o:p></o:p></p><p class=MsoNormal>MSN ID :khalidchehab@hotmail.com <o:p></o:p></p><p class=MsoNormal>Skype : k_chehab <o:p></o:p></p><p class=MsoNormal>Web Site: <a href="http://www.icucall.com/">http://www.icucall.com</a><o:p></o:p></p><p class=MsoNormal> <a href="http://www.allohi.com/">http://www.allohi.com</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>