Load sorcery modules earlier, so they can actually be used.
authorJason Parker <jparker@digium.com>
Thu, 7 Mar 2013 21:14:18 +0000 (21:14 +0000)
committerJason Parker <jparker@digium.com>
Thu, 7 Mar 2013 21:14:18 +0000 (21:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@382636 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_sorcery_config.c
res/res_sorcery_memory.c

index 635eeef..10347ea 100644 (file)
@@ -387,5 +387,5 @@ static int unload_module(void)
 AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS | AST_MODFLAG_LOAD_ORDER, "Sorcery Configuration File Object Wizard",
        .load = load_module,
        .unload = unload_module,
-       .load_pri = AST_MODPRI_CHANNEL_DEPEND,
+       .load_pri = AST_MODPRI_REALTIME_DRIVER,
 );
index 03b8253..41da410 100644 (file)
@@ -237,5 +237,5 @@ static int unload_module(void)
 AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS | AST_MODFLAG_LOAD_ORDER, "Sorcery In-Memory Object Wizard",
        .load = load_module,
        .unload = unload_module,
-       .load_pri = AST_MODPRI_CHANNEL_DEPEND,
+       .load_pri = AST_MODPRI_REALTIME_DRIVER,
 );