summaryrefslogtreecommitdiff
path: root/res/res_pjsip_endpoint_identifier_anonymous.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_pjsip_endpoint_identifier_anonymous.c')
-rw-r--r--res/res_pjsip_endpoint_identifier_anonymous.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_pjsip_endpoint_identifier_anonymous.c b/res/res_pjsip_endpoint_identifier_anonymous.c
index f0ea6dd50..a7956b589 100644
--- a/res/res_pjsip_endpoint_identifier_anonymous.c
+++ b/res/res_pjsip_endpoint_identifier_anonymous.c
@@ -108,6 +108,8 @@ static struct ast_sip_endpoint_identifier anonymous_identifier = {
static int load_module(void)
{
+ CHECK_PJSIP_MODULE_LOADED();
+
ast_sip_register_endpoint_identifier(&anonymous_identifier);
return AST_MODULE_LOAD_SUCCESS;
}