Tweak res_sip priority so it gets loaded first before all other SIP stuff.
authorJoshua Colp <jcolp@digium.com>
Sat, 27 Apr 2013 19:03:39 +0000 (19:03 +0000)
committerJoshua Colp <jcolp@digium.com>
Sat, 27 Apr 2013 19:03:39 +0000 (19:03 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@386760 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_sip.c

index 18eead9..0aa1671 100644 (file)
@@ -902,5 +902,5 @@ AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS | AST_MODFLAG_LOAD_
                .load = load_module,
                .unload = unload_module,
                .reload = reload_module,
-               .load_pri = AST_MODPRI_CHANNEL_DEPEND,
+               .load_pri = AST_MODPRI_CHANNEL_DEPEND - 5,
 );