[Asterisk-code-review] res mwi external ami: Remove incorrect load priority. (asterisk[13])

Corey Farrell asteriskteam at digium.com
Mon Nov 20 13:18:47 CST 2017


Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/7309


Change subject: res_mwi_external_ami: Remove incorrect load priority.
......................................................................

res_mwi_external_ami: Remove incorrect load priority.

res_mwi_external_ami specified AST_MODFLAG_LOAD_ORDER but didn't set
load_pri, resulting in an actual load priority of 0.  This module only
provides AMI actions so it has no reason to load early.

Change-Id: I82987fcf10d3ea42716b2f9df915b16687fd5839
---
M res/res_mwi_external_ami.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/09/7309/1

diff --git a/res/res_mwi_external_ami.c b/res/res_mwi_external_ami.c
index 0f86173..0479f8b 100644
--- a/res/res_mwi_external_ami.c
+++ b/res/res_mwi_external_ami.c
@@ -368,7 +368,7 @@
 	return AST_MODULE_LOAD_SUCCESS;
 }
 
-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "AMI support for external MWI",
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "AMI support for external MWI",
 	.support_level = AST_MODULE_SUPPORT_CORE,
 	.load = load_module,
 	.unload = unload_module,

-- 
To view, visit https://gerrit.asterisk.org/7309
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: I82987fcf10d3ea42716b2f9df915b16687fd5839
Gerrit-Change-Number: 7309
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171120/6ed8d9ba/attachment.html>


More information about the asterisk-code-review mailing list