[asterisk-bugs] [Asterisk 0012363]: Asterisk crash and receive lot of 'Bad request protocol' error
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Apr 25 08:19:17 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12363
======================================================================
Reported By: jvandal
Assigned To: putnopvut
======================================================================
Project: Asterisk
Issue ID: 12363
Category: Channels/chan_sip/General
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: 1.4.19
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 04-03-2008 11:55 CDT
Last Modified: 04-25-2008 08:19 CDT
======================================================================
Summary: Asterisk crash and receive lot of 'Bad request
protocol' error
Description:
Hi,
I have a server that have been updated to Asterisk 1.4.19 and since
yesterday, it crashed about each hour.
Not sure if this can be related, but I see this warning on CLI, not sure
if this can be related, but 1st time I see this, using a Mediatrix 2102
ATA.
[Apr 3 12:55:03] WARNING[7832]: chan_sip.c:6772
determine_firstline_parts: Bad request protocol Method Not Allowed
[Apr 3 12:56:35] WARNING[7832]: chan_sip.c:6772
determine_firstline_parts: Bad request protocol OK
[Apr 3 12:56:35] WARNING[7832]: chan_sip.c:6772
determine_firstline_parts: Bad request protocol OK
======================================================================
----------------------------------------------------------------------
jvandal - 04-25-08 08:19
----------------------------------------------------------------------
Hi,
If I look on chan_sip.c, the revision is 113348 but we use a
http://bugs.digium.com/view.php?id=8#23 line
patch for a custom application (custom CoutactRoute INFO Message) but I'm
sure that this patch is unrelated to the crash.
I have copy the chan_sip.c to :
http://www.scopserv.com/private/chan_sip.c
Now, if I check on this file, I think line match with valgrind.
By example :
3079 : if (p->rtp && ast_rtp_get_bridged(p->rtp)) {
3084 : if (p->vrtp && ast_rtp_get_bridged(p->vrtp)) {
3092 : if (ast_test_flag(&p->flags[0], SIP_INC_COUNT) ||
ast_test_flag(&p->flags[1], SIP_PAGE2_CALL_ONHOLD)) {
3099 : if (p->owner) {
3114 : if (p->relatedpeer && p->relatedpeer->mwipvt)
3120 : if (p->options)
3123 : if (p->stateid > -1)
3125 : AST_SCHED_DEL(sched, p->initid);
3126 : AST_SCHED_DEL(sched, p->waitid);
3127 : AST_SCHED_DEL(sched, p->autokillid);
3129 : if (p->rtp) {
....
3322 : __sip_destroy(p, 1);
Issue History
Date Modified Username Field Change
======================================================================
04-25-08 08:19 jvandal Note Added: 0086004
======================================================================
More information about the asterisk-bugs
mailing list