From c4703f070a82bb2ec115e586fc18a832918d6ae2 Mon Sep 17 00:00:00 2001
From: Asterisk Development Team <asteriskteam@digium.com>
Date: Thu, 15 Dec 2022 07:39:06 -0500
Subject: [PATCH] Update CHANGES and UPGRADE.txt for 19.8.0

---
 CHANGES                                       | 44 +++++++++++++++++++
 UPGRADE.txt                                   | 13 ++++++
 doc/CHANGES-staging/cdr_ignore.txt            |  6 ---
 ...ip_all_codecs_on_empty_reinvite_option.txt |  8 ----
 .../res_pjsip_logger_method.txt               |  7 ---
 .../res_pjsip_notify_options.txt              |  4 --
 doc/CHANGES-staging/res_pjsip_rfc3329.txt     |  6 ---
 doc/CHANGES-staging/res_tonedetect_ring.txt   |  5 ---
 .../manager_config_live_dangerously.txt       |  8 ----
 9 files changed, 57 insertions(+), 44 deletions(-)
 delete mode 100644 doc/CHANGES-staging/cdr_ignore.txt
 delete mode 100644 doc/CHANGES-staging/res_pjsip_all_codecs_on_empty_reinvite_option.txt
 delete mode 100644 doc/CHANGES-staging/res_pjsip_logger_method.txt
 delete mode 100644 doc/CHANGES-staging/res_pjsip_notify_options.txt
 delete mode 100644 doc/CHANGES-staging/res_pjsip_rfc3329.txt
 delete mode 100644 doc/CHANGES-staging/res_tonedetect_ring.txt
 delete mode 100644 doc/UPGRADE-staging/manager_config_live_dangerously.txt

diff --git a/CHANGES b/CHANGES
index 9ee0056265..69c136c531 100644
--- a/CHANGES
+++ b/CHANGES
@@ -12,6 +12,50 @@
 ===
 ==============================================================================
 
+------------------------------------------------------------------------------
+--- Functionality changes from Asterisk 19.7.0 to Asterisk 19.8.0 ------------
+------------------------------------------------------------------------------
+
+cdr
+------------------
+ * Two new options have been added which allow
+   bridging and dial state changes to be ignored
+   in CDRs, which can be useful if a single CDR
+   is desired for a channel.
+
+res_pjsip
+------------------
+ * Added options "security_negotiation" and "security_mechanisms" to pjsip
+   endpoints and registrations. "security_negotiation" can be set to "no" (default)
+   or "mediasec", and "security_mechanisms" can be a list of comma-separated
+   security_mechanisms in the form defined by RFC 3329 section 2.2.
+
+ * A new option named "all_codecs_on_empty_reinvite" has been added to the
+   global section. When this option is enabled, on reception of a re-INVITE
+   without SDP, Asterisk will send an SDP offer in the 200 OK response containing
+   all configured codecs on the endpoint, instead of simply those that have
+   already been negotiated. RFC 3261 specifies this as a SHOULD requirement.
+   The default value is "off".
+
+res_pjsip_logger
+------------------
+ * SIP messages can now be filtered by SIP request method
+   (INVITE, CANCEL, ACK, BYE, REGISTER, OPTION,
+   SUBSCRIBE, NOTIFY, PUBLISH, INFO, and MESSAGE),
+   allowing for more granular debugging to be done
+   in the CLI. This applies to requests but not responses.
+
+res_pjsip_notify
+------------------
+ * Allows using the config options in pjsip_notify.conf
+   from AMI actions as with the existing CLI commands.
+
+res_tonedetect
+------------------
+ * The TONE_DETECT function now supports
+   detection of audible ringback tone
+   using the p option.
+
 ------------------------------------------------------------------------------
 --- Functionality changes from Asterisk 19.6.0 to Asterisk 19.7.0 ------------
 ------------------------------------------------------------------------------
diff --git a/UPGRADE.txt b/UPGRADE.txt
index e383624fb0..be61364e37 100644
--- a/UPGRADE.txt
+++ b/UPGRADE.txt
@@ -18,6 +18,19 @@
 ===
 ===========================================================
 
+------------------------------------------------------------------------------
+--- Functionality changes from Asterisk 19.7.0 to Asterisk 19.8.0 ------------
+------------------------------------------------------------------------------
+
+AMI (Asterisk Manager Interface)
+------------------
+ * Previously, GetConfig and UpdateConfig were able to access files outside of
+   the Asterisk configuration directory. Now this access is put behind the
+   live_dangerously configuration option in asterisk.conf, which is disabled by
+   default. If access to configuration files outside of the Asterisk configuation
+   directory is required via AMI, then the live_dangerously configuration option
+   must be set to yes.
+
 ------------------------------------------------------------------------------
 --- Functionality changes from Asterisk 19.6.0 to Asterisk 19.7.0 ------------
 ------------------------------------------------------------------------------
diff --git a/doc/CHANGES-staging/cdr_ignore.txt b/doc/CHANGES-staging/cdr_ignore.txt
deleted file mode 100644
index e82f40415a..0000000000
--- a/doc/CHANGES-staging/cdr_ignore.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-Subject: cdr
-
-Two new options have been added which allow
-bridging and dial state changes to be ignored
-in CDRs, which can be useful if a single CDR
-is desired for a channel.
diff --git a/doc/CHANGES-staging/res_pjsip_all_codecs_on_empty_reinvite_option.txt b/doc/CHANGES-staging/res_pjsip_all_codecs_on_empty_reinvite_option.txt
deleted file mode 100644
index 99eccbb512..0000000000
--- a/doc/CHANGES-staging/res_pjsip_all_codecs_on_empty_reinvite_option.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-Subject: res_pjsip
-
-A new option named "all_codecs_on_empty_reinvite" has been added to the
-global section. When this option is enabled, on reception of a re-INVITE
-without SDP, Asterisk will send an SDP offer in the 200 OK response containing
-all configured codecs on the endpoint, instead of simply those that have
-already been negotiated. RFC 3261 specifies this as a SHOULD requirement.
-The default value is "off".
\ No newline at end of file
diff --git a/doc/CHANGES-staging/res_pjsip_logger_method.txt b/doc/CHANGES-staging/res_pjsip_logger_method.txt
deleted file mode 100644
index a1f774edb6..0000000000
--- a/doc/CHANGES-staging/res_pjsip_logger_method.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-Subject: res_pjsip_logger
-
-SIP messages can now be filtered by SIP request method
-(INVITE, CANCEL, ACK, BYE, REGISTER, OPTION,
-SUBSCRIBE, NOTIFY, PUBLISH, INFO, and MESSAGE),
-allowing for more granular debugging to be done
-in the CLI. This applies to requests but not responses.
diff --git a/doc/CHANGES-staging/res_pjsip_notify_options.txt b/doc/CHANGES-staging/res_pjsip_notify_options.txt
deleted file mode 100644
index 0a500f67fa..0000000000
--- a/doc/CHANGES-staging/res_pjsip_notify_options.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-Subject: res_pjsip_notify
-
-Allows using the config options in pjsip_notify.conf
-from AMI actions as with the existing CLI commands.
diff --git a/doc/CHANGES-staging/res_pjsip_rfc3329.txt b/doc/CHANGES-staging/res_pjsip_rfc3329.txt
deleted file mode 100644
index 06510b5661..0000000000
--- a/doc/CHANGES-staging/res_pjsip_rfc3329.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-Subject: res_pjsip
-
-Added options "security_negotiation" and "security_mechanisms" to pjsip
-endpoints and registrations. "security_negotiation" can be set to "no" (default)
-or "mediasec", and "security_mechanisms" can be a list of comma-separated
-security_mechanisms in the form defined by RFC 3329 section 2.2.
diff --git a/doc/CHANGES-staging/res_tonedetect_ring.txt b/doc/CHANGES-staging/res_tonedetect_ring.txt
deleted file mode 100644
index e5e4c2e232..0000000000
--- a/doc/CHANGES-staging/res_tonedetect_ring.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Subject: res_tonedetect
-
-The TONE_DETECT function now supports
-detection of audible ringback tone
-using the p option.
diff --git a/doc/UPGRADE-staging/manager_config_live_dangerously.txt b/doc/UPGRADE-staging/manager_config_live_dangerously.txt
deleted file mode 100644
index 56f39f9c8d..0000000000
--- a/doc/UPGRADE-staging/manager_config_live_dangerously.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-Subject: AMI (Asterisk Manager Interface)
-
-Previously, GetConfig and UpdateConfig were able to access files outside of
-the Asterisk configuration directory. Now this access is put behind the
-live_dangerously configuration option in asterisk.conf, which is disabled by
-default. If access to configuration files outside of the Asterisk configuation
-directory is required via AMI, then the live_dangerously configuration option
-must be set to yes.
-- 
GitLab