[Asterisk-code-review] policy: Add deprecation and removal versions to modules. (asterisk[16])

Joshua Colp asteriskteam at digium.com
Mon Aug 16 11:48:41 CDT 2021


Joshua Colp has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/16236 )

Change subject: policy: Add deprecation and removal versions to modules.
......................................................................

policy: Add deprecation and removal versions to modules.

app_meetme is deprecated in 19, to be removed in 21.
app_osplookup is deprecated in 19, to be removed in 21.
chan_alsa is deprecated in 19, to be removed in 21.
chan_mgcp is deprecated in 19, to be removed in 21.
chan_skinny is deprecated in 19, to be removed in 21.
res_pktccops is deprecated in 19, to be removed in 21.
cdr_mysql was deprecated in 1.8, to be removed in 19.
app_mysql was deprecated in 1.8, to be removed in 19.
app_ices was deprecated in 16, to be removed in 19.
app_macro was deprecated in 16, to be removed in 21.
app_fax was deprecated in 16, to be removed in 19.
app_url was deprecated in 16, to be removed in 19.
app_image was deprecated in 16, to be removed in 19.
app_nbscat was deprecated in 16, to be removed in 19.
app_dahdiras was deprecated in 16, to be removed in 19.
cdr_syslog was deprecated in 16, to be removed in 19.
chan_oss was deprecated in 16, to be removed in 19.
chan_phone was deprecated in 16, to be removed in 19.
chan_sip was deprecated in 17, to be removed in 21.
chan_nbs was deprecated in 16, to be removed in 19.
chan_misdn was deprecated in 16, to be removed in 19.
chan_vpb was deprecated in 16, to be removed in 19.
res_config_sqlite was deprecated in 16, to be removed in 19.
res_monitor was deprecated in 16, to be removed in 21.
conf2ael was deprecated in 16, to be removed in 19.
muted was deprecated in 16, to be removed in 19.

ASTERISK-29548
ASTERISK-29549
ASTERISK-29550
ASTERISK-29551
ASTERISK-29552
ASTERISK-29553
ASTERISK-29554
ASTERISK-29555
ASTERISK-29557
ASTERISK-29558
ASTERISK-29559
ASTERISK-29560
ASTERISK-29561
ASTERISK-29562
ASTERISK-29563
ASTERISK-29564
ASTERISK-29565
ASTERISK-29566
ASTERISK-29567
ASTERISK-29568
ASTERISK-29569
ASTERISK-29570
ASTERISK-29571
ASTERISK-29572
ASTERISK-29573
ASTERISK-29574

Change-Id: Ic3bee31a10d42c4b3bbc913d893f7b2a28a27131
---
M addons/app_mysql.c
M addons/cdr_mysql.c
M apps/app_dahdiras.c
M apps/app_fax.c
M apps/app_ices.c
M apps/app_image.c
M apps/app_macro.c
M apps/app_meetme.c
M apps/app_nbscat.c
M apps/app_osplookup.c
M apps/app_url.c
M cdr/cdr_syslog.c
M channels/chan_alsa.c
M channels/chan_mgcp.c
M channels/chan_misdn.c
M channels/chan_nbs.c
M channels/chan_oss.c
M channels/chan_phone.c
M channels/chan_sip.c
M channels/chan_skinny.c
M channels/chan_vpb.cc
M res/res_config_sqlite.c
M res/res_monitor.c
M res/res_pktccops.c
M utils/conf2ael.c
M utils/muted.c
26 files changed, 52 insertions(+), 0 deletions(-)

Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Joshua Colp: Approved for Submit



diff --git a/addons/app_mysql.c b/addons/app_mysql.c
index 1a79afe..6e35a7c 100644
--- a/addons/app_mysql.c
+++ b/addons/app_mysql.c
@@ -37,6 +37,8 @@
 	<defaultenabled>no</defaultenabled>
 	<support_level>deprecated</support_level>
 	<replacement>func_odbc</replacement>
+	<deprecated_in>1.8</deprecated_in>
+	<removed_in>19</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/addons/cdr_mysql.c b/addons/cdr_mysql.c
index c05b86a..25f8762 100644
--- a/addons/cdr_mysql.c
+++ b/addons/cdr_mysql.c
@@ -38,6 +38,8 @@
 	<defaultenabled>no</defaultenabled>
 	<support_level>deprecated</support_level>
 	<replacement>cdr_adaptive_odbc</replacement>
+	<deprecated_in>1.8</deprecated_in>
+	<removed_in>19</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/apps/app_dahdiras.c b/apps/app_dahdiras.c
index b5b1ae9..d2ec137 100644
--- a/apps/app_dahdiras.c
+++ b/apps/app_dahdiras.c
@@ -28,6 +28,8 @@
 /*** MODULEINFO
 	<depend>dahdi</depend>
 	<support_level>deprecated</support_level>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>19</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/apps/app_fax.c b/apps/app_fax.c
index 2404773..442df66 100644
--- a/apps/app_fax.c
+++ b/apps/app_fax.c
@@ -18,6 +18,8 @@
 	<defaultenabled>no</defaultenabled>
 	<support_level>deprecated</support_level>
 	<replacement>res_fax</replacement>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>19</removed_in>
 ***/
 
 /* Needed for spandsp headers */
diff --git a/apps/app_ices.c b/apps/app_ices.c
index 29127fc..38c68c0 100644
--- a/apps/app_ices.c
+++ b/apps/app_ices.c
@@ -29,6 +29,8 @@
 
 /*** MODULEINFO
 	<support_level>deprecated</support_level>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>19</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/apps/app_image.c b/apps/app_image.c
index 5d70c8c..53754ed 100644
--- a/apps/app_image.c
+++ b/apps/app_image.c
@@ -27,6 +27,8 @@
 
 /*** MODULEINFO
 	<support_level>deprecated</support_level>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>19</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/apps/app_macro.c b/apps/app_macro.c
index 36632dc..3f7632a 100644
--- a/apps/app_macro.c
+++ b/apps/app_macro.c
@@ -29,6 +29,8 @@
 	<defaultenabled>no</defaultenabled>
 	<support_level>deprecated</support_level>
 	<replacement>app_stack (GoSub)</replacement>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>21</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index cf56c9d..9b2024d 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -43,6 +43,8 @@
 	<defaultenabled>no</defaultenabled>
 	<support_level>extended</support_level>
 	<replacement>app_confbridge</replacement>
+	<deprecated_in>19</deprecated_in>
+	<removed_in>21</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/apps/app_nbscat.c b/apps/app_nbscat.c
index a7fccaf..c714cbb 100644
--- a/apps/app_nbscat.c
+++ b/apps/app_nbscat.c
@@ -27,6 +27,8 @@
 
 /*** MODULEINFO
 	<support_level>deprecated</support_level>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>19</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/apps/app_osplookup.c b/apps/app_osplookup.c
index 4e6e5df..28d4922 100644
--- a/apps/app_osplookup.c
+++ b/apps/app_osplookup.c
@@ -32,6 +32,8 @@
 	<depend>osptk</depend>
 	<depend>openssl</depend>
 	<support_level>extended</support_level>
+	<deprecated_in>19</deprecated_in>
+	<removed_in>21</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/apps/app_url.c b/apps/app_url.c
index aced49e..08e1ec5 100644
--- a/apps/app_url.c
+++ b/apps/app_url.c
@@ -27,6 +27,8 @@
 
 /*** MODULEINFO
 	<support_level>deprecated</support_level>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>19</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/cdr/cdr_syslog.c b/cdr/cdr_syslog.c
index 932d98f..84e19b9 100644
--- a/cdr/cdr_syslog.c
+++ b/cdr/cdr_syslog.c
@@ -40,6 +40,8 @@
 	<depend>syslog</depend>
 	<defaultenabled>no</defaultenabled>
 	<support_level>deprecated</support_level>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>19</removed_in>
 ***/
 
 #include "asterisk.h"
diff --git a/channels/chan_alsa.c b/channels/chan_alsa.c
index a5dead1..3bfa5c9 100644
--- a/channels/chan_alsa.c
+++ b/channels/chan_alsa.c
@@ -35,6 +35,8 @@
 /*** MODULEINFO
 	<depend>alsa</depend>
 	<support_level>extended</support_level>
+	<deprecated_in>19</deprecated_in>
+	<removed_in>21</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c
index fa3a081..8669d2f 100644
--- a/channels/chan_mgcp.c
+++ b/channels/chan_mgcp.c
@@ -36,6 +36,8 @@
 /*** MODULEINFO
         <use type="module">res_pktccops</use>
 	<support_level>extended</support_level>
+	<deprecated_in>19</deprecated_in>
+	<removed_in>21</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c
index d17c4ad..546bb2b 100644
--- a/channels/chan_misdn.c
+++ b/channels/chan_misdn.c
@@ -78,6 +78,8 @@
 	<depend>suppserv</depend>
 	<support_level>deprecated</support_level>
 	<replacement>chan_dahdi</replacement>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>19</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/channels/chan_nbs.c b/channels/chan_nbs.c
index 9a9e266..c7c842a 100644
--- a/channels/chan_nbs.c
+++ b/channels/chan_nbs.c
@@ -28,6 +28,8 @@
 /*** MODULEINFO
 	<depend>nbs</depend>
 	<support_level>deprecated</support_level>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>19</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/channels/chan_oss.c b/channels/chan_oss.c
index 7dde84f..69dd71f 100644
--- a/channels/chan_oss.c
+++ b/channels/chan_oss.c
@@ -41,6 +41,8 @@
 /*** MODULEINFO
 	<depend>oss</depend>
 	<support_level>deprecated</support_level>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>19</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/channels/chan_phone.c b/channels/chan_phone.c
index 9c77037..66c911b 100644
--- a/channels/chan_phone.c
+++ b/channels/chan_phone.c
@@ -36,6 +36,8 @@
 /*** MODULEINFO
 	<depend>ixjuser</depend>
 	<support_level>deprecated</support_level>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>19</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 94eeeac..4501253 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -177,6 +177,8 @@
 	<use type="module">res_crypto</use>
 	<use type="module">res_http_websocket</use>
 	<support_level>extended</support_level>
+	<deprecated_in>17</deprecated_in>
+	<removed_in>21</removed_in>
  ***/
 
 /*!  \page sip_session_timers SIP Session Timers in Asterisk Chan_sip
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c
index fb31c9f..7ee65c9 100644
--- a/channels/chan_skinny.c
+++ b/channels/chan_skinny.c
@@ -35,6 +35,8 @@
 
 /*** MODULEINFO
 	<support_level>extended</support_level>
+	<deprecated_in>19</deprecated_in>
+	<removed_in>21</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/channels/chan_vpb.cc b/channels/chan_vpb.cc
index fe99d5d..d11c6e2 100644
--- a/channels/chan_vpb.cc
+++ b/channels/chan_vpb.cc
@@ -51,6 +51,8 @@
 	<depend>vpb</depend>
 	<defaultenabled>no</defaultenabled>
 	<support_level>deprecated</support_level>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>19</removed_in>
  ***/
 
 #include <vpbapi.h>
diff --git a/res/res_config_sqlite.c b/res/res_config_sqlite.c
index 323d224..2326000 100644
--- a/res/res_config_sqlite.c
+++ b/res/res_config_sqlite.c
@@ -83,6 +83,8 @@
 /*** MODULEINFO
 	<depend>sqlite</depend>
 	<support_level>deprecated</support_level>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>19</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/res/res_monitor.c b/res/res_monitor.c
index efedab7..235dc2d 100644
--- a/res/res_monitor.c
+++ b/res/res_monitor.c
@@ -27,6 +27,8 @@
 	<use type="module">func_periodic_hook</use>
 	<support_level>deprecated</support_level>
 	<replacement>app_mixmonitor</replacement>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>21</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/res/res_pktccops.c b/res/res_pktccops.c
index 9beabfb..a9deadb 100644
--- a/res/res_pktccops.c
+++ b/res/res_pktccops.c
@@ -33,6 +33,8 @@
 /*** MODULEINFO
         <defaultenabled>no</defaultenabled>
 	<support_level>extended</support_level>
+	<deprecated_in>19</deprecated_in>
+	<removed_in>21</removed_in>
  ***/
 
 #include "asterisk.h"
diff --git a/utils/conf2ael.c b/utils/conf2ael.c
index 0a327ec..f668c3f 100644
--- a/utils/conf2ael.c
+++ b/utils/conf2ael.c
@@ -25,6 +25,8 @@
 /*** MODULEINFO
 	<depend>res_ael_share</depend>
 	<support_level>deprecated</support_level>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>19</removed_in>
  ***/
 
 #define ASTMM_LIBC ASTMM_IGNORE
diff --git a/utils/muted.c b/utils/muted.c
index 87a678f..5376ba7 100644
--- a/utils/muted.c
+++ b/utils/muted.c
@@ -46,6 +46,8 @@
 
 /*** MODULEINFO
 	<support_level>deprecated</support_level>
+	<deprecated_in>16</deprecated_in>
+	<removed_in>19</removed_in>
  ***/
 
 #include "asterisk/autoconfig.h"

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16236
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: Ic3bee31a10d42c4b3bbc913d893f7b2a28a27131
Gerrit-Change-Number: 16236
Gerrit-PatchSet: 3
Gerrit-Owner: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-CC: Sean Bright <sean at seanbright.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210816/6ccba5ac/attachment-0001.html>


More information about the asterisk-code-review mailing list