<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=KOI8-R" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Happy New Year to you too.<br>
<br>
Maybe it is doing default STUN to the SIP server :)<br>
<br>
Regards,<br>
<br>
</tt>
<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 01/09/2013 05:55 PM, æÉÌÉÐÐÏ× àÒÉÊ wrote:
<blockquote
cite="mid:8B36F227BD22B041AEA7015FD914CD955D913EDB@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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 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";
        color:black;
        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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle25
        {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 style="color: rgb(31, 73, 125);"
lang="EN-US">Thank you Bogdan,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Will do it definitely.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Strange thing, theš client I’m using is not
configured with STUN settings (All STUN settings are empty)
meanwhile the STUN packets are coming in.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US"><o:p>š</o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Happy New Year!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US"><o:p>š</o:p></span></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; border-color:
rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;
padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family:
"Tahoma","sans-serif"; color:
windowtext;" lang="EN-US">From:</span></b><span
style="font-size: 10pt; font-family:
"Tahoma","sans-serif"; color:
windowtext;" lang="EN-US"> Bogdan-Andrei Iancu
[<a class="moz-txt-link-freetext" href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>] <br>
<b>Sent:</b> Tuesday, January 08, 2013 2:18 PM<br>
<b>To:</b> æÉÌÉÐÐÏ× àÒÉÊ; <a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
<b>Subject:</b> Re: [OpenSIPS-Users] parse_msg errors in
the log<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>š</o:p></p>
<p class="MsoNormal"><tt><span style="font-size: 10pt;">Hi Yury,</span></tt><span
style="font-size: 10pt; font-family: "Courier
New";"><br>
<br>
<tt>Check frame 13 - indeed, you receive some STUN packages
on port 5060. The best thing to do is to load the stun
module and to configure it to use also ip+5060 as primary
listener.</tt><br>
<br>
<tt>Regards,</tt><br>
<br>
</span><o:p></o:p></p>
<pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
<pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre>
<p class="MsoNormal"><br>
On 12/31/2012 01:11 PM, æÉÌÉÐÐÏ× àÒÉÊ wrote: <o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Hello Bogdan-Andrei,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Merry Christmas</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">and</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Happy Newš Year!</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">š</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Thank you very much.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">I made the capture and it looks like garbage
comes from my client itself. There are STUN requests that
comes from my test SIP client. Would you please help me to
tell opensips to ignore that frames?
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">I also see double records in the sip trace
window of my opensips server.š Is that normal?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">š</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Kind regards,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Yury</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">š</span><o:p></o:p></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; padding: 3pt
0cm 0cm; border-color: -moz-use-text-color;">
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family:
"Tahoma","sans-serif"; color:
windowtext;" lang="EN-US">From:</span></b><span
style="font-size: 10pt; font-family:
"Tahoma","sans-serif"; color:
windowtext;" lang="EN-US"> Bogdan-Andrei Iancu [<a
moz-do-not-send="true"
href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>]
<br>
<b>Sent:</b> Tuesday, December 11, 2012 2:44 PM<br>
<b>To:</b> OpenSIPS users mailling list<br>
<b>Cc:</b> æÉÌÉÐÐÏ× àÒÉÊ<br>
<b>Subject:</b> Re: [OpenSIPS-Users] parse_msg errors in
the log</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US">š</span><o:p></o:p></p>
<p class="MsoNormal"><tt><span style="font-size: 10pt;">Hi
Yuriy,</span></tt><span style="font-size: 10pt;
font-family: "Courier New";"><br>
<br>
<tt>By default, OpenSIPS silently discards any UDP packages
less than 20 bytes.</tt><br>
<br>
<tt>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).</tt><br>
<br>
<tt>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.</tt><br>
<br>
<tt>Regards,</tt></span><br>
<br>
<br>
<o:p></o:p></p>
<pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
<pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre>
<p class="MsoNormal"><br>
On 12/10/2012 10:16 PM, æÉÌÉÐÐÏ× àÒÉÊ wrote: <o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hello,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I have(opensips v.1.8)
lots of errors in my opensips.log šlike :</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">INFO:core:parse_first_line:
empty or bad first line</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">INFO:core:parse_first_line:
bad message</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">ERROR:core:parse_msg:
message=<><br>
ERROR:core:receive_msg: parse_msg failed</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">š</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">Have
searched the internet and found an answer:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">š</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">>>opensips
is reading garbage from the network and not even able to
parse it a a SIP message
<br>
>>(not recognizing the first line at all), so it
cannot trigger the error <br>
>>route - the error route is trigger for malformed SIP
messages.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">š</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">Is
there any way to eliminate that Error records in the log?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">š</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">Thanks
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">Yuriy</span><o:p></o:p></p>
<pre>š<o:p></o:p></pre>
<pre>š<o:p></o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre>
</div>
</blockquote>
</body>
</html>