Hello,
On second thought, there might be something strange here. Received
messages shorter that 20 bytes should be discarded automatically, and
never tried to be parsed.
What protocol are you using to receive SIP traffic ?
Can you please apply the attached patch here, and return with the
OpenSIPS full debug log ?
Regards,
Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com
On 06/12/2012 12:24 PM, Vlad Paiu wrote:
Hello,
It seems your server has received an empty SIP message, and obviously
parsing has failed on it :)
Nothing to worry about.
Regards,
Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com
On 06/11/2012 10:33 PM, Rodrigo Ferreira wrote:
Hey guys,
I’m getting a lot of those messages on my Opensips.
Jun 11 16:26:22 caos /sbin/opensips[15028]: ERROR:core:parse_msg:
message=<>
Jun 11 16:26:22 caos /sbin/opensips[15028]: ERROR:core:receive_msg:
parse_msg failed
Jun 11 16:26:30 caos /sbin/opensips[15024]:
INFO:core:parse_first_line: method not followed by SP
Jun 11 16:26:30 caos /sbin/opensips[15024]:
INFO:core:parse_first_line: bad message
Jun 11 16:26:30 caos /sbin/opensips[15024]: ERROR:core:parse_msg:
message=<>
Jun 11 16:26:30 caos /sbin/opensips[15024]: ERROR:core:receive_msg:
parse_msg failed
Jun 11 16:26:30 caos /sbin/opensips[15027]:
INFO:core:parse_first_line: empty or bad first line
Jun 11 16:26:30 caos /sbin/opensips[15027]:
INFO:core:parse_first_line: bad message
Jun 11 16:26:30 caos /sbin/opensips[15027]: ERROR:core:parse_msg:
message=<>
Jun 11 16:26:30 caos /sbin/opensips[15027]: ERROR:core:receive_msg:
parse_msg failed
Jun 11 16:26:42 caos /sbin/opensips[15027]:
INFO:core:parse_first_line: empty or bad first line
Jun 11 16:26:42 caos /sbin/opensips[15027]:
INFO:core:parse_first_line: bad message
Jun 11 16:26:42 caos /sbin/opensips[15027]: ERROR:core:parse_msg:
message=<>
Jun 11 16:26:42 caos /sbin/opensips[15027]: ERROR:core:receive_msg:
parse_msg failed
anyone know what this means?
Thanks.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Index: parser/msg_parser.c
===================================================================
--- parser/msg_parser.c (revision 9081)
+++ parser/msg_parser.c (working copy)
@@ -656,7 +656,7 @@
error:
/* more debugging, msg->orig is/should be null terminated*/
- LM_ERR("message=<%.*s>\n", (int)len, ZSW(buf));
+ LM_ERR("message=<%.*s>, len = %d\n", (int)len, ZSW(buf),(int)len);
return -1;
}
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users