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

Corey Farrell asteriskteam at digium.com
Mon Nov 20 13:19:09 CST 2017


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


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/11/7311/1

diff --git a/res/res_mwi_external_ami.c b/res/res_mwi_external_ami.c
index 516969b..80d47d7 100644
--- a/res/res_mwi_external_ami.c
+++ b/res/res_mwi_external_ami.c
@@ -366,7 +366,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/7311
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I82987fcf10d3ea42716b2f9df915b16687fd5839
Gerrit-Change-Number: 7311
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/819d1c77/attachment-0001.html>


More information about the asterisk-code-review mailing list