aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_srtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_srtp.c')
-rw-r--r--res/res_srtp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/res_srtp.c b/res/res_srtp.c
index 8b753ff87..546f0733d 100644
--- a/res/res_srtp.c
+++ b/res/res_srtp.c
@@ -397,7 +397,8 @@ static int unload_module(void)
return 0;
}
-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "Secure RTP (SRTP)",
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS | AST_MODFLAG_LOAD_ORDER, "Secure RTP (SRTP)",
.load = load_module,
.unload = unload_module,
+ .load_pri = AST_MODPRI_CHANNEL_DEPEND,
);