Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f91151e6b | ||
|
|
c038af7892 | ||
|
|
f8e6096bfe | ||
|
|
d2585d6da2 | ||
|
|
90019b935a |
1
.lastclean
Normal file
1
.lastclean
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
Makefile
1
Makefile
@@ -67,6 +67,7 @@ STATIC_OBJS= \
|
||||
DYNAMIC_OBJS= \
|
||||
$(STATIC_OBJS)
|
||||
CFLAGS ?= -g
|
||||
CFLAGS += $(CPPFLAGS)
|
||||
CFLAGS += -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
|
||||
CFLAGS += -fPIC $(ALERTING) $(LIBPRI_OPT) $(COVERAGE_CFLAGS)
|
||||
INSTALL_PREFIX=$(DESTDIR)
|
||||
|
||||
24
libpri-1.6.0-summary.html
Normal file
24
libpri-1.6.0-summary.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><title>Release Summary - libpri-1.6.0</title><h1 align="center"><a name="top">Release Summary</a></h1><h3 align="center">libpri-1.6.0</h3><h3 align="center">Date: 2017-01-27</h3><h3 align="center"><asteriskteam@digium.com></h3><hr><h2 align="center">Table of Contents</h2><ol>
|
||||
<li><a href="#summary">Summary</a></li>
|
||||
<li><a href="#contributors">Contributors</a></li>
|
||||
<li><a href="#closed_issues">Closed Issues</a></li>
|
||||
<li><a href="#commits">Other Changes</a></li>
|
||||
<li><a href="#diffstat">Diffstat</a></li>
|
||||
</ol><hr><a name="summary"><h2 align="center">Summary</h2></a><center><a href="#top">[Back to Top]</a></center><p>This release is a point release of an existing major version. The changes included were made to address problems that have been identified in this release series, or are minor, backwards compatible new features or improvements. Users should be able to safely upgrade to this version if this release series is already in use. Users considering upgrading from a previous version are strongly encouraged to review the UPGRADE.txt document as well as the CHANGES document for information about upgrading to this release series.</p><p>The data in this summary reflects changes that have been made since the previous release, libpri-1.5.0.</p><hr><a name="contributors"><h2 align="center">Contributors</h2></a><center><a href="#top">[Back to Top]</a></center><p>This table lists the people who have submitted code, those that have tested patches, as well as those that reported issues on the issue tracker that were resolved in this release. For coders, the number is how many of their patches (of any size) were committed into this release. For testers, the number is the number of times their name was listed as assisting with testing a patch. Finally, for reporters, the number is the number of issues that they reported that were affected by commits that went into this release.</p><table width="100%" border="0">
|
||||
<tr><th width="33%">Coders</th><th width="33%">Testers</th><th width="33%">Reporters</th></tr>
|
||||
<tr valign="top"><td width="33%">3 Richard Mudgett <rmudgett@digium.com><br/>1 Tzafrir Cohen <tzafrir.cohen@xorcom.com><br/></td><td width="33%"><td width="33%">2 Richard Mudgett <rmudgett@digium.com><br/>2 Richard Mudgett<br/></td></tr>
|
||||
</table><hr><a name="closed_issues"><h2 align="center">Closed Issues</h2></a><center><a href="#top">[Back to Top]</a></center><p>This is a list of all issues from the issue tracker that were closed by changes that went into this release.</p><h3>Bug</h3><h4>Category: General</h4><a href="https://issues.asterisk.org/jira/browse/PRI-183">PRI-183</a>: Garbage character in the received connected line number from a Lucent 5ESS switch.<br/>Reported by: Richard Mudgett<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/libpri?cs=f8e6096bfec3507895c8d7db91e78871ee47c6fe">[f8e6096bfe]</a> Richard Mudgett -- q931.c: Lucent switch implementation bug workaround (Part 2)</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/libpri?cs=d2585d6da2d30f116ef99339f79ce502f78697d4">[d2585d6da2]</a> Richard Mudgett -- q931.c: Lucent switch implementation bug workaround.</li>
|
||||
</ul><br><hr><a name="commits"><h2 align="center">Commits Not Associated with an Issue</h2></a><center><a href="#top">[Back to Top]</a></center><p>This is a list of all changes that went into this release that did not reference a JIRA issue.</p><table width="100%" border="1">
|
||||
<tr><th>Revision</th><th>Author</th><th>Summary</th></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/libpri?cs=c038af789232458942020dd64f0c09a1bb4d78b9">c038af7892</a></td><td>Tzafrir Cohen</td><td>Makefile: Use CPPFLAGS</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/libpri?cs=90019b935a16240afee3f1e2f5649081b2999199">90019b935a</a></td><td>Richard Mudgett</td><td>q931.c: Add number ie specification references.</td></tr>
|
||||
</table><hr><a name="diffstat"><h2 align="center">Diffstat Results</h2></a><center><a href="#top">[Back to Top]</a></center><p>This is a summary of the changes to the source code that went into this release that was generated using the diffstat utility.</p><pre>.lastclean | 1
|
||||
.version | 1
|
||||
ChangeLog | 2213 ----------------------------------------------
|
||||
b/Makefile | 1
|
||||
b/q931.c | 6
|
||||
libpri-1.5.0-summary.html | 38
|
||||
libpri-1.5.0-summary.txt | 141 --
|
||||
7 files changed, 6 insertions(+), 2395 deletions(-)</pre><br></html>
|
||||
111
libpri-1.6.0-summary.txt
Normal file
111
libpri-1.6.0-summary.txt
Normal file
@@ -0,0 +1,111 @@
|
||||
Release Summary
|
||||
|
||||
libpri-1.6.0
|
||||
|
||||
Date: 2017-01-27
|
||||
|
||||
<asteriskteam@digium.com>
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Table of Contents
|
||||
|
||||
1. Summary
|
||||
2. Contributors
|
||||
3. Closed Issues
|
||||
4. Other Changes
|
||||
5. Diffstat
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Summary
|
||||
|
||||
[Back to Top]
|
||||
|
||||
This release is a point release of an existing major version. The changes
|
||||
included were made to address problems that have been identified in this
|
||||
release series, or are minor, backwards compatible new features or
|
||||
improvements. Users should be able to safely upgrade to this version if
|
||||
this release series is already in use. Users considering upgrading from a
|
||||
previous version are strongly encouraged to review the UPGRADE.txt
|
||||
document as well as the CHANGES document for information about upgrading
|
||||
to this release series.
|
||||
|
||||
The data in this summary reflects changes that have been made since the
|
||||
previous release, libpri-1.5.0.
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Contributors
|
||||
|
||||
[Back to Top]
|
||||
|
||||
This table lists the people who have submitted code, those that have
|
||||
tested patches, as well as those that reported issues on the issue tracker
|
||||
that were resolved in this release. For coders, the number is how many of
|
||||
their patches (of any size) were committed into this release. For testers,
|
||||
the number is the number of times their name was listed as assisting with
|
||||
testing a patch. Finally, for reporters, the number is the number of
|
||||
issues that they reported that were affected by commits that went into
|
||||
this release.
|
||||
|
||||
Coders Testers Reporters
|
||||
3 Richard Mudgett 2 Richard Mudgett
|
||||
1 Tzafrir Cohen 2 Richard Mudgett
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Closed Issues
|
||||
|
||||
[Back to Top]
|
||||
|
||||
This is a list of all issues from the issue tracker that were closed by
|
||||
changes that went into this release.
|
||||
|
||||
Bug
|
||||
|
||||
Category: General
|
||||
|
||||
PRI-183: Garbage character in the received connected line number from a
|
||||
Lucent 5ESS switch.
|
||||
Reported by: Richard Mudgett
|
||||
* [f8e6096bfe] Richard Mudgett -- q931.c: Lucent switch implementation
|
||||
bug workaround (Part 2)
|
||||
* [d2585d6da2] Richard Mudgett -- q931.c: Lucent switch implementation
|
||||
bug workaround.
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Commits Not Associated with an Issue
|
||||
|
||||
[Back to Top]
|
||||
|
||||
This is a list of all changes that went into this release that did not
|
||||
reference a JIRA issue.
|
||||
|
||||
+------------------------------------------------------------------------+
|
||||
| Revision | Author | Summary |
|
||||
|------------+-----------------+-----------------------------------------|
|
||||
| c038af7892 | Tzafrir Cohen | Makefile: Use CPPFLAGS |
|
||||
|------------+-----------------+-----------------------------------------|
|
||||
| 90019b935a | Richard Mudgett | q931.c: Add number ie specification |
|
||||
| | | references. |
|
||||
+------------------------------------------------------------------------+
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Diffstat Results
|
||||
|
||||
[Back to Top]
|
||||
|
||||
This is a summary of the changes to the source code that went into this
|
||||
release that was generated using the diffstat utility.
|
||||
|
||||
.lastclean | 1
|
||||
.version | 1
|
||||
ChangeLog | 2213 ----------------------------------------------
|
||||
b/Makefile | 1
|
||||
b/q931.c | 6
|
||||
libpri-1.5.0-summary.html | 38
|
||||
libpri-1.5.0-summary.txt | 141 --
|
||||
7 files changed, 6 insertions(+), 2395 deletions(-)
|
||||
77
q931.c
77
q931.c
@@ -2340,6 +2340,7 @@ static int receive_connected_number(int full_ie, struct pri *ctrl, q931_call *ca
|
||||
{
|
||||
int i = 0;
|
||||
|
||||
/* Reference Q.951 Section 5.4.1 for ie */
|
||||
call->connected_number_in_message = 1;
|
||||
call->remote_id.number.valid = 1;
|
||||
call->remote_id.number.presentation =
|
||||
@@ -2350,7 +2351,39 @@ static int receive_connected_number(int full_ie, struct pri *ctrl, q931_call *ca
|
||||
switch (i) {
|
||||
case 0:
|
||||
call->remote_id.number.plan = ie->data[i] & 0x7f;
|
||||
break;
|
||||
|
||||
/*
|
||||
* Work around a bug in a Lucent switch implementation that
|
||||
* sets the extension bit in octet 3 even though octet 3a
|
||||
* is present.
|
||||
*
|
||||
* The same issue was seen in a NI2 switch implementation.
|
||||
* It was probably a Lucent switch configured for NI2
|
||||
* operation. To avoid further surprises, I'm going to
|
||||
* enable the work around for all North American switch
|
||||
* types.
|
||||
*/
|
||||
if (ie->data[i] & 0x80) {
|
||||
/* Octet 3 extension bit is set */
|
||||
if (ctrl->switchtype != PRI_SWITCH_LUCENT5E
|
||||
&& ctrl->switchtype != PRI_SWITCH_ATT4ESS
|
||||
&& ctrl->switchtype != PRI_SWITCH_NI1
|
||||
&& ctrl->switchtype != PRI_SWITCH_NI2
|
||||
&& ctrl->switchtype != PRI_SWITCH_DMS100) {
|
||||
/* Not a potentially buggy switch type. */
|
||||
break;
|
||||
}
|
||||
if (!(ie->data[i + 1] & 0x80)) {
|
||||
/*
|
||||
* The possible octet 3a doesn't have the extension
|
||||
* bit set. It is likely not the erroneous octet 3a.
|
||||
*/
|
||||
break;
|
||||
}
|
||||
}
|
||||
/* Octet 3a is present */
|
||||
++i;
|
||||
/* Fall through */
|
||||
case 1:
|
||||
/* Keep only the presentation and screening fields */
|
||||
call->remote_id.number.presentation =
|
||||
@@ -2392,7 +2425,44 @@ static void dump_connected_number(int full_ie, struct pri *ctrl, q931_ie *ie, in
|
||||
prefix, ie2str(full_ie), len, ie->data[0] >> 7,
|
||||
ton2str((ie->data[0] >> 4) & 0x07), (ie->data[0] >> 4) & 0x07,
|
||||
npi2str(ie->data[0] & 0x0f), ie->data[0] & 0x0f);
|
||||
break;
|
||||
|
||||
/*
|
||||
* Work around a bug in a Lucent switch implementation that
|
||||
* sets the extension bit in octet 3 even though octet 3a
|
||||
* is present.
|
||||
*
|
||||
* The same issue was seen in a NI2 switch implementation.
|
||||
* It was probably a Lucent switch configured for NI2
|
||||
* operation. To avoid further surprises, I'm going to
|
||||
* enable the work around for all North American switch
|
||||
* types.
|
||||
*/
|
||||
if (ie->data[i] & 0x80) {
|
||||
/* Octet 3 extension bit is set */
|
||||
if (ctrl->switchtype != PRI_SWITCH_LUCENT5E
|
||||
&& ctrl->switchtype != PRI_SWITCH_ATT4ESS
|
||||
&& ctrl->switchtype != PRI_SWITCH_NI1
|
||||
&& ctrl->switchtype != PRI_SWITCH_NI2
|
||||
&& ctrl->switchtype != PRI_SWITCH_DMS100) {
|
||||
/* Not a potentially buggy switch type. */
|
||||
break;
|
||||
}
|
||||
if (!(ie->data[i + 1] & 0x80)) {
|
||||
/*
|
||||
* The possible octet 3a doesn't have the extension
|
||||
* bit set. It is likely not the erroneous octet 3a.
|
||||
*/
|
||||
break;
|
||||
}
|
||||
pri_message(ctrl, "\n");
|
||||
pri_message(ctrl, "%c Switch bug workaround.\n",
|
||||
prefix);
|
||||
pri_message(ctrl, "%c Assuming octet 3a is present.",
|
||||
prefix);
|
||||
}
|
||||
/* Octet 3a is present */
|
||||
++i;
|
||||
/* Fall through */
|
||||
case 1: /* Octet 3a */
|
||||
pri_message(ctrl, "\n");
|
||||
pri_message(ctrl, "%c Ext: %d Presentation: %s (%d)",
|
||||
@@ -2429,6 +2499,7 @@ static int receive_redirecting_number(int full_ie, struct pri *ctrl, q931_call *
|
||||
{
|
||||
int i = 0;
|
||||
|
||||
/* Reference Q.952 Section 4.1.2 for ie */
|
||||
call->redirecting_number_in_message = 1;
|
||||
call->redirecting.from.number.valid = 1;
|
||||
call->redirecting.from.number.presentation =
|
||||
@@ -2507,6 +2578,7 @@ static int receive_redirection_number(int full_ie, struct pri *ctrl, q931_call *
|
||||
{
|
||||
int i = 0;
|
||||
|
||||
/* Reference Q.952 Section 4.1.3 for ie */
|
||||
call->redirection_number.valid = 1;
|
||||
call->redirection_number.presentation =
|
||||
PRI_PRES_ALLOWED | PRI_PRES_USER_NUMBER_UNSCREENED;
|
||||
@@ -2650,6 +2722,7 @@ static int receive_calling_party_number(int full_ie, struct pri *ctrl, q931_call
|
||||
int i = 0;
|
||||
struct q931_party_number number;
|
||||
|
||||
/* Reference Q.931 Section 4.5.10 for ie */
|
||||
q931_party_number_init(&number);
|
||||
number.valid = 1;
|
||||
number.presentation = PRI_PRES_ALLOWED | PRI_PRES_USER_NUMBER_UNSCREENED;
|
||||
|
||||
Reference in New Issue
Block a user