                                Release Summary

                                asterisk-16.5.0

                                Date: 2019-07-25

                           <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, asterisk-16.4.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                
   8 Alexei Gradinari                                1 Gil Richard            
   7 George Joseph                                   1 Oleksandr Natalenko    
   3 Asterisk Development Team                       1 Oleksandr Natalenko    
   2 Joshua Colp                                     1 Nasir Iqbal            
   2 Chris-Savinovich                                1 Guido Falsi            
   1 Kevin Harwell                                   1 Kirsty Tyerman         
   1 Sean Bright                                     1 Kirsty Tyerman         
   1 Kirsty Tyerman                                  1 abelbeck               
   1 Abhay Gupta                                     1 Bernhard Schmidt       
   1 Francesco Castellano                            1 Abhay Gupta            
   1 Ben Ford                                        1 Gil Richard            
   1 Morten Tryfoss                                  1 vijay kumar            
   1 Guido Falsi                                     1 Dmitry Svyatogorov     
   1 Nasir Iqbal                                     1 pasandev               
                                                     1 Francesco Castellano   
                                                     1 Gregory Massel         
                                                     1 Bernhard Schmidt       
                                                     1 Morten Tryfoss         
                                                     1 Michael Maier          

     ----------------------------------------------------------------------

                                 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: Channels/chan_sip/Interoperability

   ASTERISK-28465: Broken SDP can cause a segfault in a T.38 reINVITE
   Reported by: Francesco Castellano
     * [6c59df17a5] Francesco Castellano -- chan_sip: Handle invalid SDP
       answer to T.38 re-invite

    Category: Resources/res_pjsip_messaging

   ASTERISK-28447: res_pjsip_messaging: In-dialog MESSAGE with no body causes
   crash
   Reported by: Gil Richard
     * [2126dc3021] George Joseph -- res_pjsip_messaging: Check for body in
       in-dialog message

  Bug

    Category: Applications/app_amd

   ASTERISK-28419: app_amd: Does not work with silence suppression
   Reported by: Nasir Iqbal
     * [52a3d4a761] Nasir Iqbal -- app_amd: issue with silence suppression
       fixed

    Category: CDR/cdr_pgsql

   ASTERISK-28435: cdr_pgsql: Unix socket doesn't work
   Reported by: Dmitry Svyatogorov
     * [c2621aa190] Chris-Savinovich -- cdr_pgsql: fix error in connection
       string

    Category: Channels/chan_dahdi

   ASTERISK-28457: [patch] Fix crash in chan_dahdi on 32-bit systems caused
   by ASTERISK-28317
   Reported by: abelbeck
     * [da1db4f842] Chris-Savinovich -- chan_dahdi.c: crash in chan_dahdi
   ASTERISK-28427: new mwi.h include missing from some dahdi source files,
   causes build failure
   Reported by: Guido Falsi
     * [86fb72c4d0] Guido Falsi -- chan_dahdi: add missing include.

    Category: Channels/chan_pjsip

   ASTERISK-28444: chan_pjsip: Peer IP for SSL handshake errors not logged
   Reported by: Bernhard Schmidt
     * [2db5173b88] George Joseph -- pjproject_bundled: Add peer information
       to most SSL/TLS errors
   ASTERISK-25371: Crash in hangup at chan_pjsip.c:1749 when Asterisk
   attempts to generate hangup event
   Reported by: Abhay Gupta
     * [72f26aa8eb] Abhay Gupta -- chan_pjsip.c: Check for channel and
       session to not be NULL in hangup
   ASTERISK-27994: PJSIP: Early media ringback not indicated after Progress()
   Reported by: Gregory Massel
     * [de82bdd746] Alexei Gradinari -- pjsip: replace 180 by 183 if SDP
       negotiation has completed

    Category: Channels/chan_sip/TCP-TLS

   ASTERISK-26006: Show offending IP for TLS setup failures in logs
   Reported by: Oleksandr Natalenko
     * [0dc61e41fa] George Joseph -- tcptls.c: Add peer hostname and port to
       some error messages

    Category: Core/Logging

   ASTERISK-26006: Show offending IP for TLS setup failures in logs
   Reported by: Oleksandr Natalenko
     * [0dc61e41fa] George Joseph -- tcptls.c: Add peer hostname and port to
       some error messages

    Category: Resources/res_fax

   ASTERISK-27981: res_fax: Fax session leak with fax gatewaying
   Reported by: pasandev
     * [e0a574253e] Alexei Gradinari -- res_fax: fix segfault on inactive
       "reserved" fax session

    Category: Resources/res_pjsip_sdp_rtp

   ASTERISK-28458: res_pjsip_sdp_rtp: Remove unused variable
   Reported by: Michael Maier
     * [83aba363fe] Kevin Harwell -- res_pjsip_sdp_rtp: Remove unused
       variable

    Category: Resources/res_rtp_asterisk

   ASTERISK-28018: IP Fragmentation happening instead of DTLS fragmentation
   on handshake server hello certificate
   Reported by: vijay kumar
     * [82789aafd6] Joshua Colp -- res_rtp_asterisk: Add support for DTLS
       packet fragmentation.
   ASTERISK-28421: Wrong type used for timestamp in res_rtp_asterisk
   Reported by: Morten Tryfoss
     * [9351aa3f0e] Morten Tryfoss -- res_rtp_asterisk: timestamp should be
       unsigned instead of signed int

  Improvement

    Category: PBX/pbx_dundi

   ASTERISK-28234: pbx_dundi: Add IPv4/IPv6 dual bind support for DUNDi
   Reported by: Kirsty Tyerman
     * [a1c84709b8] Kirsty Tyerman -- pbx_dundi: added IPv4/IPv6 dual bind
       support to DUNDi

     ----------------------------------------------------------------------

                      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                                |
   |------------+------------------+----------------------------------------|
   | 1ddcfe4bac | Asterisk         | Update for 16.5.0-rc1                  |
   |            | Development Team |                                        |
   |------------+------------------+----------------------------------------|
   | cb831a18d1 | Asterisk         | Update CHANGES and UPGRADE.txt for     |
   |            | Development Team | 16.5.0                                 |
   |------------+------------------+----------------------------------------|
   | 1756029237 | Joshua Colp      | res_rtp_asterisk: Move where DTLS MTU  |
   |            |                  | variable is defined.                   |
   |------------+------------------+----------------------------------------|
   | 31d755e805 | George Joseph    | sig_pri: Address gcc9 issues           |
   |------------+------------------+----------------------------------------|
   | 01712bbdc9 | George Joseph    | CI: New way to determnine libdir       |
   |------------+------------------+----------------------------------------|
   | 1ee2f01f62 | George Joseph    | chan_dahdi: Address gcc9 issues        |
   |------------+------------------+----------------------------------------|
   | 8b77318a2c | Alexei Gradinari | translate.c do not log WARNING on      |
   |            |                  | empty audio frame                      |
   |------------+------------------+----------------------------------------|
   | ccc92b6ecb | George Joseph    | app_confbridge: Attended transfer      |
   |            |                  | event fixup                            |
   |------------+------------------+----------------------------------------|
   | 694097ee68 | Sean Bright      | pjproject: Update to 2.9 release       |
   |------------+------------------+----------------------------------------|
   | 86cd77ec0a | Alexei Gradinari | app_attended_transfer: new application |
   |            |                  | AttendedTransfer                       |
   |------------+------------------+----------------------------------------|
   | 6321b559b9 | Alexei Gradinari | res_fax: gateway sends T.38 request to |
   |            |                  | both endpoints if V.21 detected        |
   |------------+------------------+----------------------------------------|
   | d2c07aceca | Asterisk         | Update CHANGES and UPGRADE.txt for     |
   |            | Development Team | 16.4.0                                 |
   |------------+------------------+----------------------------------------|
   | e77704f45c | Alexei Gradinari | res_fax: add channel name to CLI 'fax  |
   |            |                  | show session'                          |
   |------------+------------------+----------------------------------------|
   | ec74fd56a7 | Ben Ford         | build: Fix file format in              |
   |            |                  | CHANGES-staging.                       |
   |------------+------------------+----------------------------------------|
   | db5bc0fabf | Alexei Gradinari | app_blind_transfer: new application    |
   |            |                  | BlindTransfer                          |
   |------------+------------------+----------------------------------------|
   | 9516fb64c9 | Alexei Gradinari | app_readexten: new option 'p' to stop  |
   |            |                  | reading on '#' key                     |
   +------------------------------------------------------------------------+

     ----------------------------------------------------------------------

                                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.

 asterisk-16.4.0-summary.html                                                                    |  229 ----
 asterisk-16.4.0-summary.txt                                                                     |  568 ----------
 b/.version                                                                                      |    2
 b/CHANGES                                                                                       |   27
 b/ChangeLog                                                                                     |  474 ++++++++
 b/apps/app_amd.c                                                                                |    2
 b/apps/app_attended_transfer.c                                                                  |  143 ++
 b/apps/app_blind_transfer.c                                                                     |  137 ++
 b/apps/app_confbridge.c                                                                         |  157 ++
 b/apps/app_readexten.c                                                                          |   11
 b/apps/confbridge/confbridge_manager.c                                                          |   27
 b/apps/confbridge/include/confbridge.h                                                          |   11
 b/asterisk-16.5.0-rc1-summary.html                                                              |  109 +
 b/asterisk-16.5.0-rc1-summary.txt                                                               |  304 +++++
 b/cdr/cdr_pgsql.c                                                                               |   24
 b/channels/chan_dahdi.c                                                                         |   16
 b/channels/chan_pjsip.c                                                                         |   33
 b/channels/chan_sip.c                                                                           |    8
 b/channels/sig_analog.c                                                                         |    7
 b/channels/sig_pri.c                                                                            |    7
 b/configs/samples/dundi.conf.sample                                                             |    6
 b/configs/samples/rtp.conf.sample                                                               |    4
 b/configure                                                                                     |  112 +
 b/configure.ac                                                                                  |    2
 b/include/asterisk/autoconfig.h.in                                                              |    3
 b/include/asterisk/stasis_bridges.h                                                             |   23
 b/main/stasis_bridges.c                                                                         |   36
 b/main/tcptls.c                                                                                 |   24
 b/main/translate.c                                                                              |    5
 b/menuselect/configure                                                                          |   14
 b/menuselect/example_menuselect-tree                                                            |    4
 b/menuselect/test/menuselect-tree                                                               |    4
 b/pbx/pbx_dundi.c                                                                               |  131 +-
 b/res/res_fax.c                                                                                 |   57 -
 b/res/res_pjsip_messaging.c                                                                     |    9
 b/res/res_pjsip_sdp_rtp.c                                                                       |    1
 b/res/res_rtp_asterisk.c                                                                        |  201 ++-
 b/tests/CI/buildAsterisk.sh                                                                     |    2
 b/tests/CI/findLibdir.sh                                                                        |   14
 b/third-party/pjproject/patches/0010-ssl_sock_ossl-sip_transport_tls-Add-peer-to-error-me.patch |  157 ++
 third-party/pjproject/patches/0010-outgoing_connected_line_method_update.patch                  |   33
 third-party/pjproject/patches/0020-Fixed-2172-Avoid-double-reference-counter-decrements.patch   |   42
 third-party/pjproject/patches/0030-Re-2176-Removed-pop_freelist-push_freelist-after-rem.patch   |   37
 third-party/pjproject/patches/0031-Re-2191-transport-timer-cleanup.patch                        |  372 ------
 third-party/pjproject/patches/0032-Re-2191-Fixed-crash-in-SIP-transport-destroy-due-to-.patch   |  131 --
 45 files changed, 2175 insertions(+), 1545 deletions(-)
