[asterisk-bugs] [Asterisk 0017874]: [patch] Q931 - Sending PROGRESS after sending ALERTING is a protocol error
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Aug 20 10:35:37 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17874
======================================================================
Reported By: nic_bellamy
Assigned To: rmudgett
======================================================================
Project: Asterisk
Issue ID: 17874
Category: Channels/chan_dahdi
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: SVN
JIRA: SWP-2060
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 282537
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-08-16 22:41 CDT
Last Modified: 2010-08-20 10:35 CDT
======================================================================
Summary: [patch] Q931 - Sending PROGRESS after sending
ALERTING is a protocol error
Description:
The PRI layer in chan_dadhi will check if a PROGRESS message has already
been sent, and not allow sending another (although that is technically
allowed by the Q931 spec), however it does not protect against sending an
ALERTING and then sending a PROGRESS message, which is a violation of the
specification.
Most switches don't seem to care too deeply about this, but some do, and
will disconnect the call when receiving this invalid sequence.
Issue affects all released versions of Asterisk, plus SVN-trunk.
Protocol specification reference: T-REC-Q.931-199805-I page 235, "Figure
A.5/Q.931 – Overview protocol control (network side) point-point (sheet 3
of 8)"
======================================================================
----------------------------------------------------------------------
(0126194) svnbot (reporter) - 2010-08-20 10:35
https://issues.asterisk.org/view.php?id=17874#c126194
----------------------------------------------------------------------
Repository: asterisk
Revision: 283050
_U branches/1.8/
U branches/1.8/channels/sig_pri.c
------------------------------------------------------------------------
r283050 | rmudgett | 2010-08-20 10:35:36 -0500 (Fri, 20 Aug 2010) | 36
lines
Merged revisions 283049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r283049 | rmudgett | 2010-08-20 10:31:03 -0500 (Fri, 20 Aug 2010) | 29
lines
Merged revisions 283048 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r283048 | rmudgett | 2010-08-20 10:24:36 -0500 (Fri, 20 Aug 2010) | 22
lines
Q931 - Sending PROGRESS after sending ALERTING is a protocol error
The PRI layer in chan_dadhi will check if a PROGRESS message has
already
been sent, and not allow sending another (although that is technically
allowed by the Q931 spec), however it does not protect against sending
an
ALERTING and then sending a PROGRESS message, which is a violation of
the
specification.
Most switches don't seem to care too deeply about this, but some do,
and
will disconnect the call when receiving this invalid sequence.
Protocol specification reference: T-REC-Q.931-199805-I page 223,
"Figure
A.5/Q.931 -- Overview protocol control (network side) point-point
(sheet 3 of 8)"
(closes issue https://issues.asterisk.org/view.php?id=17874)
Reported by: nic_bellamy
Patches:
asterisk-1.4-r282537_no-progress-after-alerting.patch uploaded
by nic bellamy (license 299)
asterisk-1.6.2-r282537_no-progress-after-alerting.patch uploaded
by nic bellamy (license 299)
asterisk-trunk-r282537_no-progress-after-alerting.patch uploaded
by nic bellamy (license 299)
........
................
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=283050
Issue History
Date Modified Username Field Change
======================================================================
2010-08-20 10:35 svnbot Checkin
2010-08-20 10:35 svnbot Note Added: 0126194
======================================================================
More information about the asterisk-bugs
mailing list