From 9f74afbdcff2d972625e2032df46aadd882da185 Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Fri, 22 Dec 2017 16:27:52 -0500 Subject: [PATCH] Deprecate legacy modules. * app_fax (replaced by res_fax). * res_config_sqlite (replaced by res_config_sqlite3). * res_monitor (replaced by app_mixmonitor). This is related to ASTERISK~23657 but does not resolve that ticket. Resolving that ticket would require complete removal of res_monitor. ASTERISK-27671 #close Change-Id: I16a3edd61fc1abd4a7b2e9357693ed663f62dd49 --- CHANGES | 15 +++++++++++++++ UPGRADE.txt | 12 ++++++++++++ apps/app_fax.c | 3 ++- res/res_config_sqlite.c | 2 +- res/res_monitor.c | 3 ++- 5 files changed, 32 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index cd7e75e7c0..ba153bc6ce 100644 --- a/CHANGES +++ b/CHANGES @@ -12,6 +12,11 @@ --- Functionality changes from Asterisk 15 to Asterisk 16 -------------------- ------------------------------------------------------------------------------ +app_fax +------------------ + * The app_fax module is now deprecated, users should migrate to the + replacement module res_fax. + app_macro ------------------ * The app_macro module is now deprecated and by default it is no longer @@ -43,6 +48,16 @@ app_queue When set the wrapuptime on the member is used instead of the wrapuptime defined for the queue itself. +res_config_sqlite +------------------ + * The res_config_sqlite module is now deprecated, users should migrate to the + replacement module res_config_sqlite3. + +res_monitor +------------------ + * The res_monitor module is now deprecated, users should migrate to the + replacement module app_mixmonitor. + res_pjsip ------------------ * A new AMI action, PJSIPShowAors, has been added which displays information diff --git a/UPGRADE.txt b/UPGRADE.txt index d398e5fea3..3668258638 100644 --- a/UPGRADE.txt +++ b/UPGRADE.txt @@ -26,6 +26,10 @@ New in 16.0.0: +app_fax: + - The app_fax module is now deprecated, users should migrate to the + replacement module res_fax. + app_macro: - The app_macro module is now deprecated and by default it is no longer built. Users should migrate to app_stack (Gosub). A warning is logged @@ -44,6 +48,14 @@ cdr_syslog: - The cdr_syslog module is now deprecated and by default it is no longer built. +res_config_sqlite: + - The res_config_sqlite module is now deprecated, users should migrate to the + replacement module res_config_sqlite3. + +res_monitor: + - The res_monitor module is now deprecated, users should migrate to the + replacement module app_mixmonitor. + Core: - libedit is no longer available as an embedded library and must be provided by the system. diff --git a/apps/app_fax.c b/apps/app_fax.c index 540e8e35c8..293925ac19 100644 --- a/apps/app_fax.c +++ b/apps/app_fax.c @@ -16,7 +16,8 @@ no spandsp res_fax - extended + deprecated + res_fax ***/ #include "asterisk.h" diff --git a/res/res_config_sqlite.c b/res/res_config_sqlite.c index 5ca623ccc0..83d2dca720 100644 --- a/res/res_config_sqlite.c +++ b/res/res_config_sqlite.c @@ -82,7 +82,7 @@ /*** MODULEINFO sqlite - extended + deprecated ***/ #include "asterisk.h" diff --git a/res/res_monitor.c b/res/res_monitor.c index a8631dcb7f..95acf554db 100644 --- a/res/res_monitor.c +++ b/res/res_monitor.c @@ -25,7 +25,8 @@ /*** MODULEINFO func_periodic_hook - core + deprecated + app_mixmonitor ***/ #include "asterisk.h"