From be3e469f9822247142075323979fb75f6d873deb Mon Sep 17 00:00:00 2001
From: "Joshua C. Colp" <jcolp@sangoma.com>
Date: Wed, 10 Mar 2021 06:47:26 -0400
Subject: [PATCH] documentation: Fix non-matching module support levels.

Some modules have a different support level documented in their
MODULEINFO XML and Asterisk module definition. This change
brings the two in sync for the modules which were not matching.

ASTERISK-29336

Change-Id: If2f819103d4a271e2e0624ef4db365e897fa3d35
---
 apps/app_attended_transfer.c | 2 +-
 apps/app_blind_transfer.c    | 2 +-
 apps/app_talkdetect.c        | 2 +-
 res/res_http_websocket.c     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/apps/app_attended_transfer.c b/apps/app_attended_transfer.c
index df8d83cd9b..5c61d43df1 100644
--- a/apps/app_attended_transfer.c
+++ b/apps/app_attended_transfer.c
@@ -140,4 +140,4 @@ static int load_module(void)
 	return ast_register_application_xml(app, attended_transfer_exec);
 }
 
-AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Attended transfer to the given extension");
+AST_MODULE_INFO_STANDARD_EXTENDED(ASTERISK_GPL_KEY, "Attended transfer to the given extension");
diff --git a/apps/app_blind_transfer.c b/apps/app_blind_transfer.c
index 1c3fbb27cb..fe0e483098 100644
--- a/apps/app_blind_transfer.c
+++ b/apps/app_blind_transfer.c
@@ -134,4 +134,4 @@ static int load_module(void)
 	return ast_register_application_xml(app, blind_transfer_exec);
 }
 
-AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Blind transfer channel to the given destination");
+AST_MODULE_INFO_STANDARD_EXTENDED(ASTERISK_GPL_KEY, "Blind transfer channel to the given destination");
diff --git a/apps/app_talkdetect.c b/apps/app_talkdetect.c
index 1463b149a6..a733f3a3db 100644
--- a/apps/app_talkdetect.c
+++ b/apps/app_talkdetect.c
@@ -254,4 +254,4 @@ static int load_module(void)
 	return ast_register_application_xml(app, background_detect_exec);
 }
 
-AST_MODULE_INFO_STANDARD_EXTENDED(ASTERISK_GPL_KEY, "Playback with Talk Detection");
+AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Playback with Talk Detection");
diff --git a/res/res_http_websocket.c b/res/res_http_websocket.c
index acf476e8ca..36dfa367fb 100644
--- a/res/res_http_websocket.c
+++ b/res/res_http_websocket.c
@@ -1521,7 +1521,7 @@ static int unload_module(void)
 }
 
 AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS | AST_MODFLAG_LOAD_ORDER, "HTTP WebSocket Support",
-	.support_level = AST_MODULE_SUPPORT_EXTENDED,
+	.support_level = AST_MODULE_SUPPORT_CORE,
 	.load = load_module,
 	.unload = unload_module,
 	.load_pri = AST_MODPRI_CHANNEL_DEPEND,
-- 
GitLab