                                Release Summary

                                asterisk-18.5.0

                                Date: 2021-06-24

                           <asteriskteam@digium.com>

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

                               Table of Contents

    1. Summary
    2. Contributors
    3. Closed Issues
    4. Open Issues
    5. Other Changes
    6. 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-18.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                 
   12 Naveen Albert            1 Joseph Nadiv       12 N A                    
   5 Joshua C. Colp                                 2 George Joseph           
   4 Sean Bright                                    2 Michael Maier           
   4 George Joseph                                  1 Robert Sutton           
   4 Jaco Kroon                                     1 Marco Paland            
   4 Ben Ford                                       1 Lucas Tardioli Silveira 
   2 Asterisk Development Team                      1 Brian J. Murrell        
   2 Joseph Nadiv                                   1 Matthias Hensler        
   1 Bernd Zobl                                     1 Andrea Sannucci         
   1 Jeremy Lainé                                   1 Jeremy Lainé            
   1 Evgenios_Greek                                 1 Lucas Tardioli Silveira 
                                                    1 Joshua C. Colp          
                                                    1 Luke Escude             
                                                    1 Chris                   

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

                                 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.

  New Feature

    Category: Applications/app_confbridge

   ASTERISK-29446: app_confbridge: New ConfKick application
   Reported by: N A
     * [a40e58a4da] Naveen Albert -- app_confbridge: New ConfKick()
       application
   ASTERISK-29440: app_confbridge: Allow ConfBridge answer to be suppressed
   Reported by: N A
     * [a861522467] Naveen Albert -- app_confbridge: New option to prevent
       answer supervision

    Category: Functions/NewFeature

   ASTERISK-29431: Minimum and maximum dialplan functions
   Reported by: N A
     * [9106c9d1f1] Naveen Albert -- func_math: Three new dialplan functions

    Category: Functions/func_volume

   ASTERISK-29439: func_volume: Volume function can't be read
   Reported by: N A
     * [033c2a2283] Naveen Albert -- func_volume: Add read capability to
       function.

  Bug

    Category: Applications/app_saynumber

   ASTERISK-29475: SayNumber triggers WARNING if caller hangs up during
   application execution
   Reported by: N A
     * [2b174a38fe] Naveen Albert -- pbx_builtins: Corrects SayNumber warning

    Category: Channels/chan_local

   ASTERISK-29407: chan_local: Filtering audio formats should not occur on
   removed streams
   Reported by: Joshua C. Colp
     * [8faed04b01] Joshua C. Colp -- chan_local: Skip filtering audio
       formats on removed streams.

    Category: Channels/chan_pjsip

   ASTERISK-28393: Multidomain support issue
   Reported by: Andrea Sannucci
     * [b21d4d1b87] Joseph Nadiv -- res_pjsip.c: Support endpoints with
       domain info in username
   ASTERISK-29358: chan_pjsip: Trace message for progress is output even if
   frame is not queued
   Reported by: Michael Maier
     * [78d7862463] Sean Bright -- chan_pjsip: Correct misleading trace
       message

    Category: Channels/chan_sip/General

   ASTERISK-29370: chan_sip does not recognize application/hook-flash
   Reported by: N A
     * [7b82587dd6] Naveen Albert -- chan_sip: Expand hook flash recognition.
   ASTERISK-29030: res_rtp_asterisk: Additional RTP-frame (with wrong SSRC)
   gets inserted when switching from progress to established
   Reported by: Matthias Hensler
     * [95414fc918] Sean Bright -- res_rtp_asterisk: More robust timestamp
       checking

    Category: Core/General

   ASTERISK-29372: file.c switch does not account for flash events
   Reported by: N A
     * [283fa3a93b] Naveen Albert -- main/file.c: Don't throw error on flash
       event.

    Category: Core/PBX

   ASTERISK-29441: Core reload making TCP endpoints go offline
   Reported by: Luke Escude
     * [16e4a9d8cf] Joshua C. Colp -- res_pjsip: On partial transport reload
       also move factories.

    Category: Core/Stasis

   ASTERISK-28237: "FRACK!, Failed assertion bad magic number" happens when
   unsubscribe an application from an event source
   Reported by: Lucas Tardioli Silveira
     * [59d15c4c2a] Evgenios_Greek -- stasis: Fix "FRACK!, Failed assertion
       bad magic number" when unsubscribing

    Category: Resources/res_pjsip_messaging

   ASTERISK-29404: Consolidate res_pjsip_messaging fixes for domain name
   Reported by: George Joseph
     * [8e2672d2a4] George Joseph -- res_pjsip_messaging: Refactor outgoing
       URI processing

    Category: Resources/res_pjsip_outbound_authenticator_digest

   ASTERISK-29397: pjsip: Asterisk isn't tolerant of RFC8760 UASs
   Reported by: George Joseph
     * [655ee680cd] George Joseph -- res_pjsip_outbound_authenticator_digest:
       Be tolerant of RFC8760 UASs

    Category: Resources/res_rtp_asterisk

   ASTERISK-29433: res_rtp_asterisk: Server reflexive candidates use
   incorrect raddr for RTCP
   Reported by: Chris
     * [3aed363716] Joshua C. Colp -- res_rtp_asterisk: Set correct raddr
       port on RTCP srflx candidates.
   ASTERISK-29030: res_rtp_asterisk: Additional RTP-frame (with wrong SSRC)
   gets inserted when switching from progress to established
   Reported by: Matthias Hensler
     * [95414fc918] Sean Bright -- res_rtp_asterisk: More robust timestamp
       checking

    Category: pjproject/pjsip

   ASTERISK-24601: [patch]Missing RFC4235 tags and attributes in PJSIP NOTIFY
   event: dialog XML body
   Reported by: Marco Paland
     * [83c2a16b2e] Joseph Nadiv -- res_pjsip_dialog_info_body_generator: Add
       LOCAL/REMOTE tags in dialog-info+xml
   ASTERISK-29377: cpool_release_pool "double free or corruption (out)"
   Reported by: Robert Sutton
     * [6d5cac1d10] Joshua C. Colp -- pjsip: Add patch for resolving STUN
       packet lifetime issues.

  Improvement

    Category: Applications/app_originate

   ASTERISK-29450: Allow setting channel variables using Originate
   application
   Reported by: N A
     * [a611a0cd42] Naveen Albert -- app_originate: Allow setting Caller ID
       and variables

    Category: Applications/app_voicemail

   ASTERISK-29349: Silent voicemail option is not completely silent
   Reported by: N A
     * [bfc25e5de2] Naveen Albert -- app_voicemail: Configurable voicemail
       beep

    Category: Channels/General

   ASTERISK-29380: Add Flash AMI event to handle flash events
   Reported by: N A
     * [0ad3504ce0] Naveen Albert -- AMI: Add AMI event to expose hook flash
       events

    Category: Channels/NewFeature

   ASTERISK-29380: Add Flash AMI event to handle flash events
   Reported by: N A
     * [0ad3504ce0] Naveen Albert -- AMI: Add AMI event to expose hook flash
       events

    Category: Channels/chan_pjsip

   ASTERISK-29459: Missing configuration from PJSIP to SIP conversion script
   Reported by: N A
     * [6873c5f3e4] Naveen Albert -- sip_to_pjsip: Fix missing cases

    Category: Resources/res_pjsip_dtmf_info

   ASTERISK-29460: Recognize application/hook-flash in PJSIP
   Reported by: N A
     * [99573f9540] Naveen Albert -- res_pjsip_dtmf_info: Hook flash

    Category: Resources/res_rtp_asterisk

   ASTERISK-29434: Asterisk reveals pjproject version in STUN packets
   Reported by: Jeremy Lainé
     * [0f8e2174a7] Jeremy Lainé -- res_rtp_asterisk: make it possible to
       remove SOFTWARE attribute

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

                                  Open Issues

                                 [Back to Top]

   This is a list of all open issues from the issue tracker that were
   referenced by changes that went into this release.

  Bug

    Category: Resources/res_pjsip_outbound_registration

   ASTERISK-29241: pjsip / register: wrong port used in Contact and Via if
   multiple transports are defined.
   Reported by: Michael Maier
     * [804788037e] Bernd Zobl -- res_pjsip/pjsip_message_filter: set
       preferred transport in pjsip_message_filter

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

                      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                            |
   |------------+----------------------+------------------------------------|
   | e74910bc8f | Asterisk Development | Update for 18.5.0-rc1              |
   |            | Team                 |                                    |
   |------------+----------------------+------------------------------------|
   | 0747162d4f | Asterisk Development | Update CHANGES and UPGRADE.txt for |
   |            | Team                 | 18.5.0                             |
   |------------+----------------------+------------------------------------|
   | 702e1d33b5 | George Joseph        | res_pjsip_messaging: Overwrite     |
   |            |                      | user in existing contact URI       |
   |------------+----------------------+------------------------------------|
   | 6b67821098 | Jaco Kroon           | func_lock: Prevent module          |
   |            |                      | unloading in-use module.           |
   |------------+----------------------+------------------------------------|
   | 6f303335d3 | Jaco Kroon           | func_lock: Add "dialplan locks     |
   |            |                      | show" cli command.                 |
   |------------+----------------------+------------------------------------|
   | a3df5d7de8 | Jaco Kroon           | func_lock: Fix memory corruption   |
   |            |                      | during unload.                     |
   |------------+----------------------+------------------------------------|
   | 6bd741b77d | Jaco Kroon           | func_lock: Fix requesters counter  |
   |            |                      | in error paths.                    |
   |------------+----------------------+------------------------------------|
   | 26059f8616 | Sean Bright          | menuselect: Fix description of     |
   |            |                      | several modules.                   |
   |------------+----------------------+------------------------------------|
   | 26a38c4084 | Ben Ford             | STIR/SHAKEN: Add Date header,      |
   |            |                      | dest->tn, and URL checking.        |
   |------------+----------------------+------------------------------------|
   | 60ed1847b8 | Joshua C. Colp       | asterisk: We've moved to Libera    |
   |            |                      | Chat!                              |
   |------------+----------------------+------------------------------------|
   | a84d34035a | Ben Ford             | STIR/SHAKEN: Switch to base64 URL  |
   |            |                      | encoding.                          |
   |------------+----------------------+------------------------------------|
   | e0cbdfe063 | Ben Ford             | STIR/SHAKEN: OPENSSL_free serial   |
   |            |                      | hex from openssl.                  |
   |------------+----------------------+------------------------------------|
   | 5e6508b56f | Ben Ford             | STIR/SHAKEN: Fix certificate type  |
   |            |                      | and storage.                       |
   |------------+----------------------+------------------------------------|
   | 40bdfff73b | George Joseph        | Updates for the MessageSend        |
   |            |                      | Dialplan App                       |
   |------------+----------------------+------------------------------------|
   | 78f518622d | Sean Bright          | translate.c: Avoid refleak when    |
   |            |                      | checking for a translation path    |
   +------------------------------------------------------------------------+

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

                                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-18.4.0-summary.html                                                      |  134 -
 asterisk-18.4.0-summary.txt                                                       |  366 ----
 b/.version                                                                        |    2
 b/CHANGES                                                                         |   87 +
 b/ChangeLog                                                                       |  651 +++++++
 b/UPGRADE.txt                                                                     |   18
 b/apps/app_confbridge.c                                                           |   90 +
 b/apps/app_originate.c                                                            |   85 -
 b/apps/app_voicemail.c                                                            |   27
 b/apps/confbridge/conf_config_parser.c                                            |   13
 b/apps/confbridge/include/confbridge.h                                            |    1
 b/asterisk-18.5.0-rc1-summary.html                                                |  151 +
 b/asterisk-18.5.0-rc1-summary.txt                                                 |  408 ++++
 b/channels/chan_pjsip.c                                                           |    3
 b/channels/chan_sip.c                                                             |   19
 b/configs/samples/confbridge.conf.sample                                          |    2
 b/configs/samples/pjsip.conf.sample                                               |   23
 b/configs/samples/rtp.conf.sample                                                 |    5
 b/configs/samples/stasis.conf.sample                                              |    1
 b/configs/samples/stir_shaken.conf.sample                                         |   44
 b/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py                                    |    8
 b/doc/appdocsxml.dtd                                                              |    2
 b/funcs/func_lock.c                                                               |   71
 b/funcs/func_math.c                                                               |  173 ++
 b/funcs/func_volume.c                                                             |   48
 b/include/asterisk/res_pjsip.h                                                    |   51
 b/include/asterisk/res_stir_shaken.h                                              |    8
 b/include/asterisk/stasis_channels.h                                              |    7
 b/include/asterisk/utils.h                                                        |   60
 b/main/asterisk.c                                                                 |    2
 b/main/channel.c                                                                  |    8
 b/main/core_local.c                                                               |    3
 b/main/file.c                                                                     |    1
 b/main/manager_channels.c                                                         |   21
 b/main/message.c                                                                  |   61
 b/main/pbx_builtins.c                                                             |    2
 b/main/stasis.c                                                                   |    1
 b/main/stasis_channels.c                                                          |    3
 b/main/translate.c                                                                |    2
 b/main/utils.c                                                                    |  129 +
 b/res/res_format_attr_ilbc.c                                                      |    3
 b/res/res_pjsip.c                                                                 |   67
 b/res/res_pjsip/config_transport.c                                                |    2
 b/res/res_pjsip/pjsip_configuration.c                                             |   19
 b/res/res_pjsip/pjsip_message_filter.c                                            |    8
 b/res/res_pjsip_authenticator_digest.c                                            |   27
 b/res/res_pjsip_dialog_info_body_generator.c                                      |  119 +
 b/res/res_pjsip_dtmf_info.c                                                       |   10
 b/res/res_pjsip_messaging.c                                                       |  833 ++++++++--
 b/res/res_pjsip_outbound_authenticator_digest.c                                   |  508 +++++-
 b/res/res_pjsip_registrar.c                                                       |   15
 b/res/res_pjsip_stir_shaken.c                                                     |  106 -
 b/res/res_rtp_asterisk.c                                                          |   41
 b/res/res_stir_shaken.c                                                           |  256 +--
 b/res/res_stir_shaken/certificate.c                                               |   32
 b/res/res_stir_shaken/certificate.h                                               |   12
 b/res/res_stir_shaken/curl.c                                                      |  103 +
 b/res/res_stir_shaken/curl.h                                                      |   10
 b/res/res_stir_shaken/stir_shaken.c                                               |   84 -
 b/res/res_stir_shaken/stir_shaken.h                                               |   12
 b/res/res_stir_shaken/store.c                                                     |   20
 b/res/res_xmpp.c                                                                  |    5
 b/res/stasis/messaging.c                                                          |   14
 b/third-party/pjproject/patches/0090-Skip-unsupported-digest-algorithm-2408.patch |  212 ++
 b/third-party/pjproject/patches/0100-fix-double-stun-free.patch                   |   66
 65 files changed, 4379 insertions(+), 996 deletions(-)
