summaryrefslogtreecommitdiff
path: root/res/res_pjsip_send_to_voicemail.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_pjsip_send_to_voicemail.c')
-rw-r--r--res/res_pjsip_send_to_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_send_to_voicemail.c b/res/res_pjsip_send_to_voicemail.c
index bd70bcfd7..1cd28ceac 100644
--- a/res/res_pjsip_send_to_voicemail.c
+++ b/res/res_pjsip_send_to_voicemail.c
@@ -219,7 +219,7 @@ static int load_module(void)
if (ast_sip_session_register_supplement(&refer_supplement)) {
ast_log(LOG_ERROR, "Unable to register Send to Voicemail supplement\n");
- return AST_MODULE_LOAD_FAILURE;
+ return AST_MODULE_LOAD_DECLINE;
}
return AST_MODULE_LOAD_SUCCESS;