mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 16:50:14 +00:00
Update for certified/16.8-cert1-rc2
This commit is contained in:
85
ChangeLog
85
ChangeLog
@@ -1,3 +1,88 @@
|
||||
2020-02-19 14:24 +0000 Asterisk Development Team <asteriskteam@digium.com>
|
||||
|
||||
* asterisk certified/16.8-cert1-rc2 Released.
|
||||
|
||||
2020-02-13 13:39 +0000 [bb19e7feb5] George Joseph <gjoseph@digium.com>
|
||||
|
||||
* res_pjsip_outbound_registration: Fix SRV failover on timeout
|
||||
|
||||
In order to retry outbound registrations for some situations, we
|
||||
need access to the tdata from the original request. For instance,
|
||||
for 401/407 responses we need it to properly construct the
|
||||
subsequent request with the authentication. We also need it if
|
||||
we're iterating over a DNS SRV response record set so we can skip
|
||||
entries we've already tried.
|
||||
|
||||
We've been getting the tdata from the server response rdata and
|
||||
transaction but that only works for the failures where there was
|
||||
actually a response (4XX, 5XX, etc). For timeouts there's no
|
||||
response and therefore no rdata or transaction from which to get
|
||||
the tdata. When processing a single A/AAAA record for a server,
|
||||
this wasn't an issue as we just retried that same server after the
|
||||
retry timer expired. If we got an SRV record set for the server
|
||||
though, without the state from the tdata, we just kept trying the
|
||||
first entry in the set repeatedly instead of skipping to the next
|
||||
one in the list.
|
||||
|
||||
* Added a "last_tdata" member to the client state structure to keep
|
||||
track of the sent tdata.
|
||||
|
||||
* Updated registration_client_send() to save the tdata it used into
|
||||
the client_state.
|
||||
|
||||
* Updated sip_outbound_registration_response_cb() to use the tdata
|
||||
saved in client_state when we don't get a response from the
|
||||
server. We still use the tdata from the transaction when we DO
|
||||
get a response from the server so we can properly handle 4XX
|
||||
responses where our new request depends on it.
|
||||
|
||||
General note on timeouts:
|
||||
|
||||
Although res_pjsip_outbound_registration skips to the next record
|
||||
immediately when a timeout occurs during SRV set traversal, it's
|
||||
pjproject that determines how long to wait before a timeout is
|
||||
declared. As with other SIP message types, pjproject will continue
|
||||
trying the same server at an interval specified by "timer_t1" until
|
||||
"timer_b" expires. Both of those timers are set in the pjsip.conf
|
||||
"system" section.
|
||||
|
||||
ASTERISK-28746
|
||||
|
||||
Change-Id: I199b8274392d17661dd3ce3b4d69a3968368fa06
|
||||
|
||||
2020-02-13 15:08 +0000 [43ca35b831] Kevin Harwell <kharwell@digium.com>
|
||||
|
||||
* res_rtp_asterisk: bad audio (static) due to incomplete dtls/srtp setup
|
||||
|
||||
There was a race condition between client initiated DTLS setup, and handling
|
||||
of server side ice completion that caused the underlying SSL object to get
|
||||
cleared during DTLS initialization. If this happened Asterisk would be left
|
||||
in a partial DTLS setup state. RTP packets were sent and received, but were
|
||||
not being encrypted and decrypted. This resulted in no audio, or static.
|
||||
|
||||
Specifically, this occurred when '__rtp_recvfrom' was processing the handshake
|
||||
sequence from the client to the server, and then 'ast_rtp_on_ice_complete'
|
||||
gets called from another thread and clears the SSL object when calling the
|
||||
'dtls_perform_setup' function. The timing had to be just right in the sense
|
||||
that from the external SSL library perspective SSL initialization completed
|
||||
(rtp recv), Asterisk clears/resets the SSL object (ice done), and then checks
|
||||
to see if SSL is intialized (rtp recv). Since it was cleared, Asterisk thinks
|
||||
it is not finished, thus not completing 'dtls_srtp_setup'.
|
||||
|
||||
This patch removes calls to 'dtls_perform_setup', which clears the SSL object,
|
||||
in 'ast_rtp_on_ice_complete'. When ice completes, there is no reason to clear
|
||||
the underlying SSL object. If an ice candidate changes a full protocol level
|
||||
renegotiation occurs. Also, in the case of bundled ICE candidates are reused
|
||||
when a stream is added. So no real reason to have to clear, and reset in this
|
||||
instance.
|
||||
|
||||
Also, this patch adds a bit of extra logging to aid in diagnosis of any future
|
||||
problems.
|
||||
|
||||
ASTERISK-28742 #close
|
||||
|
||||
Change-Id: I34c9e6bad5a39b087164646e2836e3e48fe6892f
|
||||
|
||||
2020-02-07 20:42 +0000 Asterisk Development Team <asteriskteam@digium.com>
|
||||
|
||||
* asterisk certified/16.8-cert1-rc1 Released.
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
14
asterisk-certified-16.8-cert1-rc2-summary.html
Normal file
14
asterisk-certified-16.8-cert1-rc2-summary.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!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-certified/16.8-cert1-rc2</title><h1 align="center"><a name="top">Release Summary</a></h1><h3 align="center">asterisk-certified/16.8-cert1-rc2</h3><h3 align="center">Date: 2020-02-19</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="#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, asterisk-certified/16.8-cert1-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%">1 Kevin Harwell <kharwell@digium.com><br/>1 George Joseph <gjoseph@digium.com><br/></td><td width="33%"><td width="33%">1 Kevin Harwell <kharwell@digium.com><br/>1 George Joseph <gjoseph@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>Bug</h3><h4>Category: Resources/res_pjsip_outbound_registration</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28746">ASTERISK-28746</a>: res_pjsip_outbound_registration keeps retrying the first entry in a SRV record set<br/>Reported by: George Joseph<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=bb19e7feb5b33c8696a3a57be900f75fe36c009f">[bb19e7feb5]</a> George Joseph -- res_pjsip_outbound_registration: Fix SRV failover on timeout</li>
|
||||
</ul><br><h4>Category: Resources/res_rtp_asterisk</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28742">ASTERISK-28742</a>: res_rtp_asterisk: static for audio due to incomplete dtls/srtp setup<br/>Reported by: Kevin Harwell<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=43ca35b8312c9c9be740bda4b961262e751c5a54">[43ca35b831]</a> Kevin Harwell -- res_rtp_asterisk: bad audio (static) due to incomplete dtls/srtp setup</li>
|
||||
</ul><br><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>res_pjsip_outbound_registration.c | 49 ++++++++++++++++++++++++++++++++++++--
|
||||
1 file changed, 47 insertions(+), 2 deletions(-)</pre><br></html>
|
||||
92
asterisk-certified-16.8-cert1-rc2-summary.txt
Normal file
92
asterisk-certified-16.8-cert1-rc2-summary.txt
Normal file
@@ -0,0 +1,92 @@
|
||||
Release Summary
|
||||
|
||||
asterisk-certified/16.8-cert1-rc2
|
||||
|
||||
Date: 2020-02-19
|
||||
|
||||
<asteriskteam@digium.com>
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Table of Contents
|
||||
|
||||
1. Summary
|
||||
2. Contributors
|
||||
3. Closed Issues
|
||||
4. 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, asterisk-certified/16.8-cert1-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
|
||||
1 Kevin Harwell 1 Kevin Harwell
|
||||
1 George Joseph 1 George Joseph
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
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: Resources/res_pjsip_outbound_registration
|
||||
|
||||
ASTERISK-28746: res_pjsip_outbound_registration keeps retrying the first
|
||||
entry in a SRV record set
|
||||
Reported by: George Joseph
|
||||
* [bb19e7feb5] George Joseph -- res_pjsip_outbound_registration: Fix SRV
|
||||
failover on timeout
|
||||
|
||||
Category: Resources/res_rtp_asterisk
|
||||
|
||||
ASTERISK-28742: res_rtp_asterisk: static for audio due to incomplete
|
||||
dtls/srtp setup
|
||||
Reported by: Kevin Harwell
|
||||
* [43ca35b831] Kevin Harwell -- res_rtp_asterisk: bad audio (static) due
|
||||
to incomplete dtls/srtp setup
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
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.
|
||||
|
||||
res_pjsip_outbound_registration.c | 49 ++++++++++++++++++++++++++++++++++++--
|
||||
1 file changed, 47 insertions(+), 2 deletions(-)
|
||||
Reference in New Issue
Block a user