diff --git a/res/res_pjsip.c b/res/res_pjsip.c index 59777c94ff721941d075df52ee74a5dff0c6f344..90eb37263cfb4cbcc35f0f88b9e17bc3acdb1ecb 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -2368,7 +2368,7 @@ enum ast_sip_check_auth_result ast_sip_check_authentication(struct ast_sip_endpo { if (!registered_authenticator) { ast_log(LOG_WARNING, "No SIP authenticator registered. Assuming authentication is successful\n"); - return 0; + return AST_SIP_AUTHENTICATION_SUCCESS; } return registered_authenticator->check_authentication(endpoint, rdata, tdata); }