<div dir="ltr">Yes, opensips is a bit strict on the message received. Opensips does not try to fix broken messages (just like broken xml, throw fire) as soon as it is not what it should really look like, it will error. More specifically this is what bites you <a href="https://github.com/OpenSIPS/opensips/blob/master/parser/parse_fline.c#L1179">https://github.com/OpenSIPS/opensips/blob/master/parser/parse_fline.c#L1179</a><div><br></div><div>Try capturing all data without any filters and look with a hex editor. I don't think this is a bug.</div><div><br></div><div>Hope this helps.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jul 12, 2015 at 1:12 PM, John Nash <span dir="ltr"><<a href="mailto:john.nash778@gmail.com" target="_blank">john.nash778@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>With one SIP Client opensips logs show me messages like <br><br>ERROR:core:receive_msg: Unable to parse msg received from [XX.XX.XX.XX]<br>Jul 12 16:41:06 centos opensips[7455]: INFO:core:parse_first_line: method not followed by SP<br>Jul 12 16:41:06 centos opensips[7455]: INFO:core:parse_first_line: bad message<br>Jul 12 16:41:06 centos opensips[7455]: ERROR:core:parse_msg: message=<#010g|#016P]*ê#015wh#"<0#002ARiL#034*#177Is#027WZ]b#011#020}i*²Z©C#026+#015#002js#027#024#031zs#031 ôj#02186;<#021j#026#036}#013WähÈf#0011#031ULFb#025#033ja*±D¬BPkPPM#001%IB]\rîQ$I#027#016s{|#016'mn#017(¾><br><br><br></div>But when i trace messages from wireshark i see correct SIP messages.<br><br></div>I am using pike and sipmsg_validate functions. If I disable both I no longer see error messages?<br><br></div>where should I check to find out root cause ?<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">John<br><div><div><div><div><div><br><br><br><br></div></div></div></div></div></font></span></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Aron Podrigal<div>-</div><div>//Be happy :-)</div></div></div>
</div>