Update to Asterisk 18.9.0. This is a patch release.

The Asterisk Development Team would like to announce the release
of Asterisk 18.  9.0.

The release of Asterisk 18.9.0 resolves several issues reported by
the community and would have not been possible without your
participation.

Thank you!

The following issues are resolved in this release:

New Features made in this release:
-----------------------------------
 * ASTERISK-29720 - res_tonedetect: Add call progress tone detection
      (Reported by N A)
 * ASTERISK-18069 - [patch] app_queue Add Login Time and Last
      Paused Times to Queue Members
      (Reported by Jamuel Starkey)

Bugs fixed in this release:
-----------------------------------
 * ASTERISK-29779 - progdocs: Hidden code sections with syntax errors.
      (Reported by Alexander Traud)
 * ASTERISK-29732 - progdocs: Fix grouping for latest Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29771 - Crash occurs when 2 realtime sippeers mysql
      connections are configured and we have a schema warning
      (Reported by Mario Ban)
 * ASTERISK-29776 - stir/shaken: Requires GNU designator
      (Reported by Alexander Traud)
 * ASTERISK-29764 - chan_misdn: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29773 - progdocs: doxyref.h outdated
      (Reported by Alexander Traud)
 * ASTERISK-29765 - xmldoc: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29730 - Segfault in __ao2_ref if refdebug = yes
      (Reported by Alexei Gradinari)
 * ASTERISK-29762 - channels: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29748 - bridging: Infinite loop when both Local
      channel halves in same bridge
      (Reported by Joshua C. Colp)
 * ASTERISK-29754 - odbc: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29753 - parking: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29755 - frame: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29756 - res_ari: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29751 - channel: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29750 - stasis: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29752 - app: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29749 - res_xmpp: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29742 - addons: Fix for Doxygen.
      (Reported by Alexander Traud)
 * ASTERISK-29747 - res_pjsip: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29737 - chan_iax2: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29743 - bridges: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29741 - tests: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29740 - apps: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29733 - progdocs: Avoid name with Doxygen \file
      (Reported by Alexander Traud)
 * ASTERISK-29736 - bridge_channel: Fix for Doxygen
      (Reported by Alexander Traud)
 * ASTERISK-29735 - progdocs: Avoid multiple use of section labels
      (Reported by Alexander Traud)
 * ASTERISK-29734 - progdocs: Use Doxygen \example correctly
      (Reported by Alexander Traud)
 * ASTERISK-29744 - app_morsecode: Fix deadlock
      (Reported by N A)
 * ASTERISK-29703 - res_pjsip_callerid: Fix OLI parsing
      (Reported by N A)
 * ASTERISK-29705 - app_read: Fix custom terminator
      functionality regression
      (Reported by N A)
 * ASTERISK-29724 - BuildSystem: In POSIX sh, == in place of = is undefined.
      (Reported by Alexander Traud)
 * ASTERISK-29702 - sig_analog: Fix truncated buffer copy
      (Reported by N A)
 * ASTERISK-28040 - pbx: "dialplan reload" is removing minus
      symbol from dynamic hints
      (Reported by Daniel Zanutti)
 * ASTERISK-29391 - VoiceMail does not cancel recording on rerecord hangup
      (Reported by N A)
 * ASTERISK-29709 - res_snmp: Not build on recent Debian
      distributions.
      (Reported by Alexander Traud)
 * ASTERISK-29710 - stasis: Clang 13 warns about the unused but
      set variable dispatched.
      (Reported by Alexander Traud)
 * ASTERISK-29711 - aelparse: GCC 11.2 found two maybe uninitialized
      (Reported by Alexander Traud)
 * ASTERISK-29713 - GCC 11.2: two stringop-overread
      (Reported by Alexander Traud)
 * ASTERISK-29682 - Squash compiler issues generated by gcc 11
      (Reported by George Joseph)
 * ASTERISK-29693 - Using --with-crypto and --with-ssl fails on a recompile
      (Reported by George Joseph)
 * ASTERISK-27816 - func_talkdetect's logic is completely broken
      (Reported by Moritz Fain)
 * ASTERISK-29691 - stun: Not all users provide a dst to ast_stun_request
      (Reported by Dennis Haney)
 * ASTERISK-26497 - make install downloads x86_32 variants of
      external modules on non Intel architectures
      (Reported by Corey Farrell)

Improvements made in this release:
-----------------------------------
 * ASTERISK-29777 - documentation: Standardize example syntax
      (Reported by N A)
 * ASTERISK-29715 - app_voicemail: Refactor email generation functions
      (Reported by N A)
 * ASTERISK-29727 - Add type for JSON stasis message RTCP Report
      Received/Sent
      (Reported by Boris P. Korzun)
 * ASTERISK-29714 - Spelling errors
      (Reported by Josh Soref)
 * ASTERISK-29707 - chan_iax2: Allow both key and secret to be
      specified at dial time
      (Reported by N A)
 * ASTERISK-29662 - Add mix option to Playback application for
      say and filename
      (Reported by Shloime Rosenblum)

For a full list of changes in this release, please see the ChangeLog:
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-18.9.0
This commit is contained in:
jnemeth 2021-12-17 08:07:06 +00:00
parent d43e5d59bf
commit 900ea86377
4 changed files with 31 additions and 50 deletions

View file

@ -1,13 +1,12 @@
# $NetBSD: Makefile,v 1.136 2021/12/08 16:03:34 adam Exp $
# $NetBSD: Makefile,v 1.137 2021/12/17 08:07:06 jnemeth Exp $
#
# NOTE: when updating this package, there are two places that sound
# tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile
# to find out the current sound file versions
# Also look in ${WRKSRC}/third-party/versions.mak for pjproject
DISTNAME= asterisk-18.8.0
DISTNAME= asterisk-18.9.0
#PKGREVISION= 24
PKGREVISION= 1
CATEGORIES= comms net audio
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/
MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/

View file

@ -1,17 +1,17 @@
$NetBSD: distinfo,v 1.72 2021/11/08 00:58:50 jnemeth Exp $
$NetBSD: distinfo,v 1.73 2021/12/17 08:07:06 jnemeth Exp $
BLAKE2s (asterisk-18.8.0/asterisk-18.8.0.tar.gz) = f6c990a73a91bfd88c6fa968378420ad9e15b7e54baa3f1797220f7036072ef9
SHA512 (asterisk-18.8.0/asterisk-18.8.0.tar.gz) = aa06077c6e33e35c35bbaf7dcee13782197f2d9f61e159741ade20050a7bd0dd9a7f6a69d539ee3789af950e8c03518d6186abc99d93ace38dd7e9a1e5dcd337
Size (asterisk-18.8.0/asterisk-18.8.0.tar.gz) = 28007752 bytes
BLAKE2s (asterisk-18.8.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f7e5fe212d7e7cdca14c52527a2552311ab7762c3f1464b09ddedc7c66aebde
SHA512 (asterisk-18.8.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f2f7bf3d5bce3544bc013f913c352f0204a3ce96239987403eb9dce8bc87e64a61d437762323a422a87b2fad1f3bf3e7a5f3d0d340f912a1b1dbfea9479d41d
Size (asterisk-18.8.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 4253587 bytes
BLAKE2s (asterisk-18.8.0/pjproject-2.10.md5) = 6739f51daf24d0567304f773bd49648c1be3a7a4a33c0f3353279fb349168e7e
SHA512 (asterisk-18.8.0/pjproject-2.10.md5) = bd24048c9c2fdaf06468e44bceca92bd02848d759ef98285d20b50174f865b1aec2928f1ce6c092862397ba83dd1a74da4a7e479eca881df1e9f9d1c211a7054
Size (asterisk-18.8.0/pjproject-2.10.md5) = 110 bytes
BLAKE2s (asterisk-18.8.0/pjproject-2.10.tar.bz2) = fac6400fa94cde09a848314b754062364c021e8c13d3fe28493634d4415959f7
SHA512 (asterisk-18.8.0/pjproject-2.10.tar.bz2) = fe29edccc63a8e72323e1b6f955a8c3475e26aba9cb8f5125546da4409fecc19a09a7950eee6b8e4a3c908943bc043d95130f878ad52958c5eccc617e3bcfb4e
Size (asterisk-18.8.0/pjproject-2.10.tar.bz2) = 7339188 bytes
BLAKE2s (asterisk-18.9.0/asterisk-18.9.0.tar.gz) = 2b4d261411510ddc0a134b811e1d62753a9517da1024a3dc07839d4b21f25595
SHA512 (asterisk-18.9.0/asterisk-18.9.0.tar.gz) = 514f806ac93c2975101133e897c20e4483ad97141b125de5b6fcb96b8acd3248bd0d4fc638381fe9e9be7b504a35ddae24d8437c33ed10c88a37565577af52b6
Size (asterisk-18.9.0/asterisk-18.9.0.tar.gz) = 28045278 bytes
BLAKE2s (asterisk-18.9.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f7e5fe212d7e7cdca14c52527a2552311ab7762c3f1464b09ddedc7c66aebde
SHA512 (asterisk-18.9.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f2f7bf3d5bce3544bc013f913c352f0204a3ce96239987403eb9dce8bc87e64a61d437762323a422a87b2fad1f3bf3e7a5f3d0d340f912a1b1dbfea9479d41d
Size (asterisk-18.9.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 4253587 bytes
BLAKE2s (asterisk-18.9.0/pjproject-2.10.md5) = 6739f51daf24d0567304f773bd49648c1be3a7a4a33c0f3353279fb349168e7e
SHA512 (asterisk-18.9.0/pjproject-2.10.md5) = bd24048c9c2fdaf06468e44bceca92bd02848d759ef98285d20b50174f865b1aec2928f1ce6c092862397ba83dd1a74da4a7e479eca881df1e9f9d1c211a7054
Size (asterisk-18.9.0/pjproject-2.10.md5) = 110 bytes
BLAKE2s (asterisk-18.9.0/pjproject-2.10.tar.bz2) = fac6400fa94cde09a848314b754062364c021e8c13d3fe28493634d4415959f7
SHA512 (asterisk-18.9.0/pjproject-2.10.tar.bz2) = fe29edccc63a8e72323e1b6f955a8c3475e26aba9cb8f5125546da4409fecc19a09a7950eee6b8e4a3c908943bc043d95130f878ad52958c5eccc617e3bcfb4e
Size (asterisk-18.9.0/pjproject-2.10.tar.bz2) = 7339188 bytes
SHA1 (patch-Makefile) = 676687f298151dbe548ae26a4f6f3fe8bf1f174e
SHA1 (patch-addons_chan__ooh323.c) = 1775da7ca2129a962ed460bd1e78ba3ce6afa62c
SHA1 (patch-apps_app__adsiprog.c) = 031139e5cd1ef6bb2afb0a74fee3d752eded0a2c
@ -30,7 +30,7 @@ SHA1 (patch-channels_chan__pjsip.c) = efd4cbb82133fc5ddf7de70d01c99e185c585211
SHA1 (patch-channels_chan__sip.c) = ed285612eae6cbfde19ded87db9360c0bca153c7
SHA1 (patch-channels_pjsip_cli__commands.c) = 01baa9d242e3af02a1f3540cfb3064ad68c71d67
SHA1 (patch-channels_pjsip_dialplan__functions.c) = 2cf8199c4ec9d4894eb922c2703d49ecc06188ef
SHA1 (patch-configure) = c96698684e330ebe565b9cd4eade3869ae7f04f6
SHA1 (patch-configure) = 7bd4d4dd2fc922591de685f6aa5be078e8cb2c64
SHA1 (patch-configure.ac) = b972730a2be3bf54502116f1f7e03afee76a02cc
SHA1 (patch-contrib_scripts_vmail.cgi) = 7935ce96ea319eb19cc2ce999813eb837d5357c0
SHA1 (patch-funcs_func__cdr.c) = 79c743df264948e5ea9e1c292012a1f6362d0c1e
@ -52,7 +52,7 @@ SHA1 (patch-main_ast__expr2.y) = 56ac74b5a3ae47bd5bec798e549ec43bd085e0e8
SHA1 (patch-main_asterisk.c) = 1262d792f330fe8a1bb1d1f7ba51bc502d65be42
SHA1 (patch-main_astmm.c) = 26a98d6fbb567ae619041ebd01a31349a847deab
SHA1 (patch-main_bridge__basic.c) = b48627e563e20544017fdfcfb4559e868badf41d
SHA1 (patch-main_bridge__channel.c) = 1ea5f8d0d1ad353c63904a80a67d8e53c8672b46
SHA1 (patch-main_bridge__channel.c) = 545f496cc402119664eeb638f79628bcb3513683
SHA1 (patch-main_callerid.c) = 0ea1b3df8aaf3969fcd9e06055c8e6184d50d3d3
SHA1 (patch-main_cdr.c) = 540fbdb354aba100fa37392b879b92a85d1d8620
SHA1 (patch-main_cel.c) = 22fa21db8e0afa0958d34014f52e2c4fe9c73ba2

View file

@ -1,8 +1,8 @@
$NetBSD: patch-configure,v 1.2 2021/06/13 07:57:53 jnemeth Exp $
$NetBSD: patch-configure,v 1.3 2021/12/17 08:07:06 jnemeth Exp $
--- configure.orig 2021-03-04 16:46:08.000000000 +0000
--- configure.orig 2021-12-09 16:44:54.000000000 +0000
+++ configure
@@ -8963,12 +8963,12 @@ else
@@ -9116,12 +9116,12 @@ else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang -fblocks" >&5
$as_echo_n "checking for clang -fblocks... " >&6; }
@ -17,25 +17,7 @@ $NetBSD: patch-configure,v 1.2 2021/06/13 07:57:53 jnemeth Exp $
AST_CLANG_BLOCKS_LIBS="-lBlocksRuntime"
AST_CLANG_BLOCKS="-fblocks"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
@@ -9065,7 +9065,7 @@ if test "${with_pjproject_bundled+set}"
fi
-if test "${with_pjproject}" == "no" || test "${with_pjproject}" == "n" ; then
+if test "${with_pjproject}" = "no" || test "${with_pjproject}" = "n" ; then
PJPROJECT_BUNDLED=no
fi
@@ -14727,7 +14727,7 @@ fi
-if test "${PERMANENT_DLOPEN}" == "yes"; then
+if test "${PERMANENT_DLOPEN}" = "yes"; then
$as_echo "#define HAVE_PERMANENT_DLOPEN 1" >>confdefs.h
@@ -14761,7 +14761,7 @@ fi
@@ -15264,7 +15264,7 @@ fi
done
@ -44,7 +26,7 @@ $NetBSD: patch-configure,v 1.2 2021/06/13 07:57:53 jnemeth Exp $
if test "x$ac_cv_header_sys_poll_h" = xyes; then :
else
@@ -16776,7 +16776,7 @@ fi
@@ -17279,7 +17279,7 @@ fi
done
@ -53,7 +35,7 @@ $NetBSD: patch-configure,v 1.2 2021/06/13 07:57:53 jnemeth Exp $
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -17011,7 +17011,7 @@ rm -f core conftest.err conftest.$ac_obj
@@ -17514,7 +17514,7 @@ rm -f core conftest.err conftest.$ac_obj
LDFLAGS=${old_LDFLAGS}
rm -f conftest.dynamics
@ -62,7 +44,7 @@ $NetBSD: patch-configure,v 1.2 2021/06/13 07:57:53 jnemeth Exp $
if test "x$ac_cv_header_sys_poll_h" = xyes; then :
HAS_POLL=1
@@ -19289,6 +19289,148 @@ rm -f core conftest.err conftest.$ac_obj
@@ -19803,6 +19803,148 @@ rm -f core conftest.err conftest.$ac_obj
@ -211,7 +193,7 @@ $NetBSD: patch-configure,v 1.2 2021/06/13 07:57:53 jnemeth Exp $
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
@@ -20393,6 +20535,8 @@ $as_echo_n "checking for getifaddrs() su
@@ -20907,6 +21049,8 @@ $as_echo_n "checking for getifaddrs() su
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

View file

@ -1,12 +1,12 @@
$NetBSD: patch-main_bridge__channel.c,v 1.1 2021/06/27 21:39:27 jnemeth Exp $
$NetBSD: patch-main_bridge__channel.c,v 1.2 2021/12/17 08:07:06 jnemeth Exp $
* Fix segfault under NetBSD/aarch64 9.99.80.
--- main/bridge_channel.c.orig 2021-01-21 16:28:04.000000000 +0000
--- main/bridge_channel.c.orig 2021-12-09 16:44:54.000000000 +0000
+++ main/bridge_channel.c
@@ -58,6 +58,13 @@
#include "asterisk/stream.h"
@@ -59,6 +59,13 @@
#include "asterisk/message.h"
#include "asterisk/core_local.h"
+/* XXX, pthread_equal() is misused to compare non-valid thread pointers */
+static int
@ -18,7 +18,7 @@ $NetBSD: patch-main_bridge__channel.c,v 1.1 2021/06/27 21:39:27 jnemeth Exp $
/*!
* \brief Used to queue an action frame onto a bridge channel and write an action frame into a bridge.
* \since 12.0.0
@@ -258,7 +265,7 @@ int ast_bridge_channel_notify_talking(st
@@ -259,7 +266,7 @@ int ast_bridge_channel_notify_talking(st
*/
static void bridge_channel_poke(struct ast_bridge_channel *bridge_channel)
{
@ -27,7 +27,7 @@ $NetBSD: patch-main_bridge__channel.c,v 1.1 2021/06/27 21:39:27 jnemeth Exp $
/* Wake up the bridge channel thread. */
ast_queue_frame(bridge_channel->chan, &ast_null_frame);
}
@@ -971,7 +978,7 @@ static int bridge_channel_queue_action_d
@@ -952,7 +959,7 @@ static int bridge_channel_queue_action_d
};
/* Make sure we don't end up trying to wait on ourself to deliver the frame */