Skip to content
Snippets Groups Projects
Commit 9c012b46 authored by Paul Belanger's avatar Paul Belanger
Browse files

Improve logging information for misconfigured contexts

(closes issue #17238)
Reported by: pprindeville
Patches:
      chan_sip-bug17238.patch uploaded by pprindeville (license 347)
Tested by: pprindeville


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@262414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent c84e7f83
Branches
Tags
No related merge requests found
...@@ -20573,8 +20573,8 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int ...@@ -20573,8 +20573,8 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int
transmit_response_reliable(p, "404 Not Found", req); transmit_response_reliable(p, "404 Not Found", req);
ast_uri_decode(decoded_exten); ast_uri_decode(decoded_exten);
ast_log(LOG_NOTICE, "Call from '%s' to extension" ast_log(LOG_NOTICE, "Call from '%s' to extension"
" '%s' rejected because extension not found.\n", " '%s' rejected because extension not found in context '%s'.\n",
S_OR(p->username, p->peername), decoded_exten); S_OR(p->username, p->peername), decoded_exten, p->context);
} }
p->invitestate = INV_COMPLETED; p->invitestate = INV_COMPLETED;
update_call_counter(p, DEC_CALL_LIMIT); update_call_counter(p, DEC_CALL_LIMIT);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment