Update for 17.0.0-rc2

changes/43/13043/1 17.0.0-rc2
Asterisk Development Team 7 years ago
parent abcb8efdcd
commit 708cd4d4d7

@ -1 +1 @@
17.0.0-rc1
17.0.0-rc2

@ -1,3 +1,170 @@
2019-09-25 17:27 +0000 Asterisk Development Team <asteriskteam@digium.com>
* asterisk 17.0.0-rc2 Released.
2019-09-19 09:50 +0000 [410ee33355] George Joseph <gjoseph@digium.com>
* pjproject_bundled: Revert pjproject 2.9 commits causing leaks
We've found a connection re-use regression in pjproject 2.9
introduced by commit
"Close #1019: Support for multiple listeners."
https://trac.pjsip.org/repos/changeset/6002
https://trac.pjsip.org/repos/ticket/1019
Normally, multiple SSL requests should reuse the same connection
if one already exists to the remote server. When a transport
error occurs, the next request should establish a new connection
and any following requests should use that same one. With this
patch, when a transport error occurs, every new request creates
a new connection so you can wind up with thousands of open tcp
sockets, possibly exhausting file handles, and increasing memory
usage.
Reverting pjproject commit 6002 (and related 6021) restores the
expected behavior.
We also found a memory leak in SSL processing that was introduced by
commit
"Fixed #2204: Add OpenSSL remote certificate chain info"
https://trac.pjsip.org/repos/changeset/6014
https://trac.pjsip.org/repos/ticket/2204
Apparently the remote certificate chain is continually recreated
causing the leak.
Reverting pjproject commit 6014 (and related 6022) restores the
expected behavior.
Both of these issues have been acknowledged by Teluu.
ASTERISK-28521
Change-Id: I8ae7233c3ac4ec29a3b991f738e655dabcaba9f1
2019-09-23 11:01 +0000 [fb29778ae4] Kevin Harwell <kharwell@digium.com>
* res_sorcery_memory_cache: stale item update leak
When a stale item was being updated the object was being retrieved, but its
reference was not being decremented after the update. This patch makes it so
the object is now appropriately de-referenced.
ASTERISK-28523
Change-Id: I9d8173d3a0416a242f4eba92fa0853279c500ec7
2019-09-15 14:35 +0000 [ce7641c8e8] Joshua Colp <jcolp@digium.com>
* chan_pjsip: Relock correct channel during "fax" redirect.
When fax detection occurs on an outbound PJSIP channel the
redirect operation will result in a masquerade occurring and
the underlying channel on the session changing. The code
incorrectly relocked the new channel instead of the old
channel when returning. This resulted in the new channel
being locked indefinitely. The code now always acts on the
expected channel.
ASTERISK-28538
Change-Id: I2b2e60d07e74383ae7e90d752c036c4b02d6b3a3
2019-09-14 10:05 +0000 [e23ed0eff0] Guido Falsi <madpilot@FreeBSD.org>
* chan_dahdi: Fix build with clang/llvm
On FreeBSD using the clang/llvm compiler build fails to build due
to the switch statement argument being a non integer type expression.
Switch to an if/else if/else construct to sidestep the issue.
ASTERISK-28536 #close
Change-Id: Idf4a82cc1e94580a2d017fe9e351c226f23e20c8
2019-09-10 07:32 +0000 [e86fbd0ba7] George Joseph <gjoseph@digium.com>
* chan_sip: Update links referenced in deprecation notice
The links in the deprecation notice were the shortened
variety but it makes better sense to show the unshortened
links as they're more descriptive.
I.E.
wiki.asterisk.org/wiki/display/AST/Migrating+from+chan_sip+to+res_pjsip
rather than
wiki.asterisk.org/wiki/x/tAHOAQ
Change-Id: If2da5d5243e2d4a6f193b15691d23e7e5a7c57a9
2019-08-26 07:53 +0000 [a60ffe0255] Joshua Colp <jcolp@digium.com>
* AST-2019-005 - translate: Don't assume all frames will have a src.
This change removes the assumption that a frame will always have
a src set on it. This assumption is incorrect.
Given a scenario where an RTP packet is received with no payload
the resulting audio frame will have no samples. If this frame goes
through a signed linear translation path an interpolated frame can
be created (if generic packet loss concealment is enabled) that has
minimal data on it, including no src. If this frame is given to a
translation path a crash will occur due to the lack of src.
ASTERISK-28499
Change-Id: I024d10dd98207eb8a6b35b59880bcdf1090538f8
2019-08-20 15:05 +0000 [2976625d42] Alexei Gradinari <alex2grad@gmail.com> (license 5691)
* AST-2019-004 - res_pjsip_t38.c: Add NULL checks before using session media
After receiving a 200 OK with a declined stream in response to a T.38
initiated re-invite Asterisk would crash when attempting to dereference
a NULL session media object.
This patch checks to make sure the session media object is not NULL before
attempting to use it.
ASTERISK-28495
patches:
ast-2019-004.patch submitted by Alexei Gradinari (license 5691)
Change-Id: I168f45f4da29cfe739acf87e597baa2aae7aa572
2019-08-23 17:03 +0000 [c02cbeade8] Kevin Harwell <kharwell@digium.com>
* res_pjsip_mwi: add better handling of solicited vs unsolicited subscriptions
res_pjsip_mwi allows both solicited and unsolicited MWI subscription types.
While both can be set in the configuration for a given endpoint/aor, only
one is allowed. Precedence is given to unsolicited. Meaning if an endpoint/aor
is configured to allow both types then the solicited subscription is rejected
when it comes in. However, there is a configuration option to override that
behavior:
mwi_subscribe_replaces_unsolicited
When set to "yes" then when a solicited subscription comes in instead of
rejecting it Asterisk is suppose to replace the unsolicited one if it exists.
Prior to this patch there was a bug in Asterisk that allowed the solicted one
to be added, but did not remove the unsolicited. As a matter of fact a new
unsolicited subscription got added everytime a SIP register was received.
Over time this eventually could "flood" a phone with SIP notifies.
This patch fixes that behavior to now make it work as expected. If configured
to do so a solicited subscription now properly replaces the unsolicited one.
As well when an unsubscribe is received the unsolicited subscription is
restored. Logic was also put in to handle reloads, and any configuration changes
that might result from that. For instance, if a solicited subscription had
previously replaced an unsolicited one, but after reload it was configured to
not allow that then the solicited one needs to be shutdown, and the unsolicited
one added.
ASTERISK-28488
Change-Id: Iec2ec12d9431097e97ed5f37119963aee41af7b1
2019-08-28 15:58 +0000 Asterisk Development Team <asteriskteam@digium.com>
* asterisk 17.0.0-rc1 Released.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -0,0 +1,40 @@
<!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 - asterisk-17.0.0-rc2</title><h1 align="center"><a name="top">Release Summary</a></h1><h3 align="center">asterisk-17.0.0-rc2</h3><h3 align="center">Date: 2019-09-25</h3><h3 align="center">&lt;asteriskteam@digium.com&gt;</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 is the first release of a major new version of Asterisk. For a list of new features that have been included with this release, please see the CHANGES file inside the source package. Since this is a new major release, users are encouraged to do extended testing before upgrading to this version in a production environment.</p><p>The data in this summary reflects changes that have been made since the previous release, asterisk-17.0.0-rc1.</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%">2 Kevin Harwell <kharwell@digium.com><br/>2 George Joseph <gjoseph@digium.com><br/>2 Joshua Colp <jcolp@digium.com><br/>1 Alexei Gradinari <alex2grad@gmail.com> (license 5691)<br/>1 Guido Falsi <madpilot@FreeBSD.org><br/></td><td width="33%"><td width="33%">1 Alexei Gradinari <alex2grad@gmail.com><br/>1 Guido Falsi <madpilot@freebsd.org><br/>1 Mark <mark@wrapped.cx><br/>1 Cyril Ramière <cyril.ramiere@ino.global><br/>1 Gregory Massel <greg@csurf.co.za><br/>1 Chris Savinovich <csavinovich@digium.com><br/>1 Joshua C. Colp <jcolp@digium.com><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>Security</h3><h4>Category: Resources/res_pjsip_t38</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28495">ASTERISK-28495</a>: res_pjsip_t38: 200 OK with SDP answer with declined stream causes crash<br/>Reported by: Alexei Gradinari<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=2976625d42bf4b9aeec62f4fd3e427a05b4639d5">[2976625d42]</a> Alexei Gradinari -- AST-2019-004 - res_pjsip_t38.c: Add NULL checks before using session media</li>
</ul><br><h3>Bug</h3><h4>Category: .Release/Targets</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28488">ASTERISK-28488</a>: pjsip mwi: n+1 sip notify's sent on re-register<br/>Reported by: Chris Savinovich<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c02cbeade86be6062c7f895ebb572c8560c1e7ec">[c02cbeade8]</a> Kevin Harwell -- res_pjsip_mwi: add better handling of solicited vs unsolicited subscriptions</li>
</ul><br><h4>Category: Channels/chan_dahdi</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28536">ASTERISK-28536</a>: Asterisk release candidates fail to build on FreeBSD<br/>Reported by: Guido Falsi<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=e23ed0eff008b5ad0e084deefc5373280e50725a">[e23ed0eff0]</a> Guido Falsi -- chan_dahdi: Fix build with clang/llvm</li>
</ul><br><h4>Category: Channels/chan_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28538">ASTERISK-28538</a>: chan_pjsip: Deadlock on fax detection<br/>Reported by: Joshua C. Colp<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ce7641c8e887300a2cf414a7acb8488bcb934525">[ce7641c8e8]</a> Joshua Colp -- chan_pjsip: Relock correct channel during "fax" redirect.</li>
</ul><br><h4>Category: Core/Channels</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28499">ASTERISK-28499</a>: translate: Crash when frame does not have a "src" field set<br/>Reported by: Gregory Massel<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a60ffe02557e0ce36aad999aa629a64d56635b6e">[a60ffe0255]</a> Joshua Colp -- AST-2019-005 - translate: Don't assume all frames will have a src.</li>
</ul><br><h4>Category: General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28523">ASTERISK-28523</a>: Asterisk 16.5.0 Memory leak<br/>Reported by: Cyril Ramière<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=fb29778ae40862ec4a8fdf9056b23a160c353927">[fb29778ae4]</a> Kevin Harwell -- res_sorcery_memory_cache: stale item update leak</li>
</ul><br><h4>Category: Resources/res_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28521">ASTERISK-28521</a>: pjsip: Memory Leak<br/>Reported by: Mark<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=410ee33355a30666e2774ef3f9e896fd2e282ed7">[410ee33355]</a> George Joseph -- pjproject_bundled: Revert pjproject 2.9 commits causing leaks</li>
</ul><br><h4>Category: Resources/res_pjsip_outbound_registration</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28521">ASTERISK-28521</a>: pjsip: Memory Leak<br/>Reported by: Mark<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=410ee33355a30666e2774ef3f9e896fd2e282ed7">[410ee33355]</a> George Joseph -- pjproject_bundled: Revert pjproject 2.9 commits causing leaks</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/asterisk?cs=e86fbd0ba7b604801dbb3d6da1b1616384f79328">e86fbd0ba7</a></td><td>George Joseph</td><td>chan_sip: Update links referenced in deprecation notice</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>channels/chan_dahdi.c | 10
channels/chan_pjsip.c | 38
channels/chan_sip.c | 4
main/translate.c | 2
res/res_pjsip_mwi.c | 291 ++
res/res_pjsip_t38.c | 72
res/res_sorcery_memory_cache.c | 1
third-party/pjproject/patches/0030-Revert-Misc-re-2147-Fixed-warnings-in-SSL-socket-red.patch | 60
third-party/pjproject/patches/0031-Revert-Fixed-2204-Add-OpenSSL-remote-certificate-cha.patch | 84
third-party/pjproject/patches/0032-Revert-Re-2147-misc-Fix-failed-pjsip-test-transport_.patch | 64
third-party/pjproject/patches/0033-Revert-Close-1019-Support-for-multiple-listeners.patch | 973 ++++++++++
11 files changed, 1511 insertions(+), 88 deletions(-)</pre><br></html>

@ -0,0 +1,164 @@
Release Summary
asterisk-17.0.0-rc2
Date: 2019-09-25
<asteriskteam@digium.com>
----------------------------------------------------------------------
Table of Contents
1. Summary
2. Contributors
3. Closed Issues
4. Other Changes
5. Diffstat
----------------------------------------------------------------------
Summary
[Back to Top]
This is the first release of a major new version of Asterisk. For a list
of new features that have been included with this release, please see the
CHANGES file inside the source package. Since this is a new major release,
users are encouraged to do extended testing before upgrading to this
version in a production environment.
The data in this summary reflects changes that have been made since the
previous release, asterisk-17.0.0-rc1.
----------------------------------------------------------------------
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
2 Kevin Harwell 1 Alexei Gradinari
2 George Joseph 1 Guido Falsi
2 Joshua Colp 1 Mark
1 Alexei Gradinari (license 5691) 1 Cyril Ramière
1 Guido Falsi 1 Gregory Massel
1 Chris Savinovich
1 Joshua C. Colp
----------------------------------------------------------------------
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.
Security
Category: Resources/res_pjsip_t38
ASTERISK-28495: res_pjsip_t38: 200 OK with SDP answer with declined stream
causes crash
Reported by: Alexei Gradinari
* [2976625d42] Alexei Gradinari -- AST-2019-004 - res_pjsip_t38.c: Add
NULL checks before using session media
Bug
Category: .Release/Targets
ASTERISK-28488: pjsip mwi: n+1 sip notify's sent on re-register
Reported by: Chris Savinovich
* [c02cbeade8] Kevin Harwell -- res_pjsip_mwi: add better handling of
solicited vs unsolicited subscriptions
Category: Channels/chan_dahdi
ASTERISK-28536: Asterisk release candidates fail to build on FreeBSD
Reported by: Guido Falsi
* [e23ed0eff0] Guido Falsi -- chan_dahdi: Fix build with clang/llvm
Category: Channels/chan_pjsip
ASTERISK-28538: chan_pjsip: Deadlock on fax detection
Reported by: Joshua C. Colp
* [ce7641c8e8] Joshua Colp -- chan_pjsip: Relock correct channel during
"fax" redirect.
Category: Core/Channels
ASTERISK-28499: translate: Crash when frame does not have a "src" field
set
Reported by: Gregory Massel
* [a60ffe0255] Joshua Colp -- AST-2019-005 - translate: Don't assume all
frames will have a src.
Category: General
ASTERISK-28523: Asterisk 16.5.0 Memory leak
Reported by: Cyril Ramière
* [fb29778ae4] Kevin Harwell -- res_sorcery_memory_cache: stale item
update leak
Category: Resources/res_pjsip
ASTERISK-28521: pjsip: Memory Leak
Reported by: Mark
* [410ee33355] George Joseph -- pjproject_bundled: Revert pjproject 2.9
commits causing leaks
Category: Resources/res_pjsip_outbound_registration
ASTERISK-28521: pjsip: Memory Leak
Reported by: Mark
* [410ee33355] George Joseph -- pjproject_bundled: Revert pjproject 2.9
commits causing leaks
----------------------------------------------------------------------
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 |
|------------+---------------+-------------------------------------------|
| e86fbd0ba7 | George Joseph | chan_sip: Update links referenced in |
| | | deprecation notice |
+------------------------------------------------------------------------+
----------------------------------------------------------------------
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.
channels/chan_dahdi.c | 10
channels/chan_pjsip.c | 38
channels/chan_sip.c | 4
main/translate.c | 2
res/res_pjsip_mwi.c | 291 ++
res/res_pjsip_t38.c | 72
res/res_sorcery_memory_cache.c | 1
third-party/pjproject/patches/0030-Revert-Misc-re-2147-Fixed-warnings-in-SSL-socket-red.patch | 60
third-party/pjproject/patches/0031-Revert-Fixed-2204-Add-OpenSSL-remote-certificate-cha.patch | 84
third-party/pjproject/patches/0032-Revert-Re-2147-misc-Fix-failed-pjsip-test-transport_.patch | 64
third-party/pjproject/patches/0033-Revert-Close-1019-Support-for-multiple-listeners.patch | 973 ++++++++++
11 files changed, 1511 insertions(+), 88 deletions(-)
Loading…
Cancel
Save