mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-27 16:07:15 -07:00
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
This commit is contained in:
+2
-2
@@ -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);
|
||||
ast_uri_decode(decoded_exten);
|
||||
ast_log(LOG_NOTICE, "Call from '%s' to extension"
|
||||
" '%s' rejected because extension not found.\n",
|
||||
S_OR(p->username, p->peername), decoded_exten);
|
||||
" '%s' rejected because extension not found in context '%s'.\n",
|
||||
S_OR(p->username, p->peername), decoded_exten, p->context);
|
||||
}
|
||||
p->invitestate = INV_COMPLETED;
|
||||
update_call_counter(p, DEC_CALL_LIMIT);
|
||||
|
||||
Reference in New Issue
Block a user