<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=KOI8-R" http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <tt>Hi Yuriy,<br>
      <br>
      By default, OpenSIPS silently discards any UDP packages less than
      20 bytes.<br>
      <br>
      Looking at the logs you posted, I would say your opensips receives
      packages longer than 20 bytes and starting with a 0 ASCII byte
      (probably some binary stuff ?? ); because of that 0 the message is
      not printed at all (considered a EOS).<br>
      <br>
      Maybe there are some STUN requests or so ? try to make a pcap
      capture to see if there is some valid but non-SIP traffic or it is
      garbage.<br>
      <br>
      Regards,</tt><br>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <br>
    On 12/10/2012 10:16 PM, æÉÌÉÐÐÏ× àÒÉÊ wrote:
    <blockquote
      cite="mid:8B36F227BD22B041AEA7015FD914CD955D8156D0@JET-EX02.jettel.ru"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=KOI8-R">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
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;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:2.0cm 42.5pt 2.0cm 3.0cm;}
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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-US">Hello,<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">I have(opensips v.1.8)
            lots of errors in my opensips.log šlike :<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">INFO:core:parse_first_line:
            empty or bad first line<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">INFO:core:parse_first_line:
            bad message<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">ERROR:core:parse_msg:
            message=&lt;&gt;<br>
            ERROR:core:receive_msg: parse_msg failed<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US"><o:p>š</o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">Have
            searched the internet and found an answer:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US"><o:p>š</o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">&gt;&gt;opensips
            is reading garbage from the network and not even able to
            parse it a a SIP message <br>
            &gt;&gt;(not recognizing the first line at all), so it
            cannot trigger the error <br>
            &gt;&gt;route - the error route is trigger for malformed SIP
            messages.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US"><o:p>š</o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">Is
            there any way to eliminate that Error records in the log?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US"><o:p>š</o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">Thanks
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">Yuriy</span><span
            lang="EN-US"><o:p></o:p></span></p>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>