Skip to content
Snippets Groups Projects
Commit 1b6c5889 authored by Joshua C. Colp's avatar Joshua C. Colp Committed by Joshua Colp
Browse files

chan_sip: Send 403 when ACL fails.

Change-Id: I0910c79196f2b7c7e5ad6f1db95e83800ac737a2
parent 3ed80fc5
No related branches found
No related tags found
No related merge requests found
...@@ -19636,6 +19636,7 @@ static void send_check_user_failure_response(struct sip_pvt *p, struct sip_reque ...@@ -19636,6 +19636,7 @@ static void send_check_user_failure_response(struct sip_pvt *p, struct sip_reque
case AUTH_UNKNOWN_DOMAIN: case AUTH_UNKNOWN_DOMAIN:
case AUTH_PEER_NOT_DYNAMIC: case AUTH_PEER_NOT_DYNAMIC:
case AUTH_BAD_TRANSPORT: case AUTH_BAD_TRANSPORT:
case AUTH_ACL_FAILED:
ast_log(LOG_NOTICE, "Failed to authenticate device %s for %s, code = %d\n", ast_log(LOG_NOTICE, "Failed to authenticate device %s for %s, code = %d\n",
sip_get_header(req, "From"), sip_methods[p->method].text, res); sip_get_header(req, "From"), sip_methods[p->method].text, res);
response = "403 Forbidden"; response = "403 Forbidden";
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment