From e6738b79b3b610d8332aa4de7c137295adce9f64 Mon Sep 17 00:00:00 2001
From: Richard Mudgett <rmudgett@digium.com>
Date: Thu, 8 Mar 2018 13:53:09 -0600
Subject: [PATCH] Complete deprecating legacy modules.

The menuselect comment was updated to deprecate these modules but the
AST_MODULE_INFO block at the end of file was missed.

ASTERISK-27671

Change-Id: I63070b5c4d4f08af010c6034acd4793c1bcef839
---
 apps/app_fax.c          | 2 +-
 res/res_config_sqlite.c | 2 +-
 res/res_monitor.c       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/apps/app_fax.c b/apps/app_fax.c
index 293925ac19..c5d0f514bb 100644
--- a/apps/app_fax.c
+++ b/apps/app_fax.c
@@ -995,7 +995,7 @@ static int load_module(void)
 
 
 AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "Simple FAX Application",
-	.support_level = AST_MODULE_SUPPORT_EXTENDED,
+	.support_level = AST_MODULE_SUPPORT_DEPRECATED,
 	.load = load_module,
 	.unload = unload_module,
 );
diff --git a/res/res_config_sqlite.c b/res/res_config_sqlite.c
index 83d2dca720..af3b124494 100644
--- a/res/res_config_sqlite.c
+++ b/res/res_config_sqlite.c
@@ -1773,7 +1773,7 @@ static int load_module(void)
 }
 
 AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "Realtime SQLite configuration",
-	.support_level = AST_MODULE_SUPPORT_EXTENDED,
+	.support_level = AST_MODULE_SUPPORT_DEPRECATED,
 	.load = load_module,
 	.unload = unload_module,
 	.load_pri = AST_MODPRI_REALTIME_DRIVER,
diff --git a/res/res_monitor.c b/res/res_monitor.c
index 95acf554db..efedab7c37 100644
--- a/res/res_monitor.c
+++ b/res/res_monitor.c
@@ -1007,7 +1007,7 @@ static int unload_module(void)
 
 /* usecount semantics need to be defined */
 AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS | AST_MODFLAG_LOAD_ORDER, "Call Monitoring Resource",
-	.support_level = AST_MODULE_SUPPORT_CORE,
+	.support_level = AST_MODULE_SUPPORT_DEPRECATED,
 	.load = load_module,
 	.unload = unload_module,
 	.load_pri = AST_MODPRI_CHANNEL_DEPEND,
-- 
GitLab