Merged revisions 321511 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r321511 | lmadsen | 2011-05-31 12:04:47 -0400 (Tue, 31 May 2011) | 8 lines Enhance NOTICE message to know who couldn't access the dialplan. (closes issue #19390) Reported by: lmadsen Patches: __20110531-sip-notice-tweak.txt uploaded by lmadsen (license 10) Tested by: russell ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@321512 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
1788f7e5bd
commit
886241a96e
|
@ -22185,9 +22185,9 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int
|
|||
char *decoded_exten = ast_strdupa(p->exten);
|
||||
transmit_response_reliable(p, "404 Not Found", req);
|
||||
ast_uri_decode(decoded_exten, ast_uri_sip_user);
|
||||
ast_log(LOG_NOTICE, "Call from '%s' to extension"
|
||||
ast_log(LOG_NOTICE, "Call from '%s' (%s) to extension"
|
||||
" '%s' rejected because extension not found in context '%s'.\n",
|
||||
S_OR(p->username, p->peername), decoded_exten, p->context);
|
||||
S_OR(p->username, p->peername), ast_sockaddr_stringify(&p->recv), decoded_exten, p->context);
|
||||
}
|
||||
} /* end switch */
|
||||
|
||||
|
|
Reference in New Issue