From 2a05a05038c0fb2b71386205ce76a792412c7da2 Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Wed, 31 Jan 2018 16:15:44 -0500 Subject: [PATCH] res_pjsip_registrar_expire: Mark module deprecated. The functionality of this module was already moved to res_pjsip_registrar, mark it deprecated and add message to CHANGES. Change-Id: I90c7d52c7e15e85fde3389d5eaccb05b97848813 --- CHANGES | 6 ++++++ res/res_pjsip_registrar_expire.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 2f6c4483b6..6c40aa2915 100644 --- a/CHANGES +++ b/CHANGES @@ -45,6 +45,12 @@ res_pjsip_endpoint_identifier_ip you can now predict which endpoint is matched when a request comes in that matches both. +res_pjsip_registrar_expire +------------------ + * The res_pjsip_registrar_expire module is now deprecated and will be removed + from Asterisk 16. The existing functionality was moved into + res_pjsip_registrar. + res_sdp_translator_pjmedia ------------------ * Removed the unused and incomplete SDP processing modules. diff --git a/res/res_pjsip_registrar_expire.c b/res/res_pjsip_registrar_expire.c index 989fe8798c..daf4708946 100644 --- a/res/res_pjsip_registrar_expire.c +++ b/res/res_pjsip_registrar_expire.c @@ -19,7 +19,7 @@ /*** MODULEINFO pjproject res_pjsip - extended + deprecated ***/ /* @@ -41,7 +41,7 @@ static int load_module(void) } AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "OBSOLETE PJSIP Contact Auto-Expiration", - .support_level = AST_MODULE_SUPPORT_EXTENDED, + .support_level = AST_MODULE_SUPPORT_DEPRECATED, .load = load_module, .unload = unload_module, .load_pri = AST_MODPRI_APP_DEPEND,