Change Log for Release asterisk-certified-20.7-cert12

Links:

Summary:

User Notes:

Upgrade Notes:

Developer Notes:

Commit Authors:

Issue and Commit Detail:

Closed Issues:

Commits By Author:

Commit List:

Commit Details:

res_rtp_asterisk: Fix rtp timestamp calculation during DTMF generation
Author: Mike Bradeen
Date: 2026-10-13

Avoid advancing the last tx timestamp when audio is suppressed during DTMF
generation to avoid mis-calculating the timestamp on the first packet after
the RTP Event end.

Resolves: #2230

backtrace.c: Include stdbool.h
Author: Naveen Albert
Date: 2026-08-04

stdbool.h is needed now that we use the bool type directly
instead of bfd_boolean. See also 1d95b744c06974f0a00c143c6e0fc979af930908.

Resolves: #2061

backtrace.c: Avoid removed bfd_boolean type.
Author: Naveen Albert
Date: 2026-08-03

bfd_boolean has been deprecated for some time and has now been
removed in gdb, so use bool directly instead.

See: gnutools/binutils-gdb@1d95b74

Resolves: #2054

app_voicemail.c: Fix may-be-uninitialized error
Author: Sean Bright
Date: 2026-08-02

A pointer to new is passed to inboxcount(...) which increments the
pointed-to value.

build: Fix another GCC discarded-qualifiers const error.
Author: Naveen Albert
Date: 2026-02-18

Follow on commit to 27a39cb
to fix compilation with BETTER_BACKTRACES with gcc 15.2.1.

Resolves: #1781

SECURITY.md: Add warning about reporting multiple issues in one advisory.
Author: George Joseph
Date: 2026-08-04

res_stir_shaken.c: Fix GCC set-but-not-used error in unload_module.
Author: George Joseph
Date: 2026-07-31

__chan_sip.c: Fix sip_reliable_xmit build error
Author: Sean Bright
Date: 2024-10-17

Fixes #954

chan_dahdi: Fix discarded-qualifiers errors.
Author: Naveen Albert
Date: 2026-02-18

Fix discarded-qualifiers errors to compile successfully with gcc 15.2.1.

Associated changes have also been made to libss7; however, for compatibility
we cast const char* values to char*. In the future, these casts could be
removed.

Resolves: #1786

build: Fix unused-but-set-variable warnings with gcc 16.
Author: Naveen Albert
Date: 2026-02-18

Fix or remove a few variables that were being set but not actually
used anywhere, causing warnings with gcc 16.

Resolves: #1783

build: Fix GCC discarded-qualifiers const errors.
Author: Sean Bright
Date: 2026-07-28

GCC 15.2.1 pays attention to the discarding of the const
qualifier when strchr, strrchr, memchr, or memrchr are now
used. This change fixes numerous errors with this throughout
chan_sip. The fixes can be broken down into the following:

  1. The value passed to strchr or strrchr can be cast as it is
    expected and allowed to be modified.
  2. The pointer passed to strchr or strrchr is not meant to be
    modified and so the contents must be duplicated.
  3. It was declared const and never should have been.

chan_dahdi: Fix set but not used in mfcr2_show_links_of().
Author: George Joseph
Date: 2026-05-21

When openr2 is installed mfcr2_show_links_of() is no longer ifdeffed out
which makes gcc-16 complain with 'variable ‘x’ set but not used'.

Resolves: #1947

compat.h: Ensure check for __STDC_VERSION__ is not attempted for c++.
Author: George Joseph
Date: 2026-04-27

__STDC_VERSION__ is specific to C but up until gcc 16, the g++ compiler
also defined it. With g++ 16.0 it's no longer defined (which is the correct
behavior) so compiling channelstorage_cpp_map_name_id.cc fails. The
check for __STDC_VERSION__ in compat.h is now skipped if we're compiling
a C++ source file.

Resolves: #1903

SECURITY.md: Update with additional instructions.
Author: George Joseph
Date: 2026-03-19

Also added line breaks for people reading this file directly
from the code base.