mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 16:20:37 +00:00
Provide more useful iax2 debugging (bug #2603)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5338,7 +5338,7 @@ retryowner:
|
||||
/* They're not allowed on */
|
||||
auth_fail(fr.callno, IAX_COMMAND_REJECT);
|
||||
if (authdebug)
|
||||
ast_log(LOG_NOTICE, "Rejected connect attempt from %s\n", ast_inet_ntoa(iabuf, sizeof(iabuf), sin.sin_addr));
|
||||
ast_log(LOG_NOTICE, "Rejected connect attempt from %s, who was trying to reach '%s@%s'\n", ast_inet_ntoa(iabuf, sizeof(iabuf), sin.sin_addr), iaxs[fr.callno]->exten, iaxs[fr.callno]->context);
|
||||
break;
|
||||
}
|
||||
/* If we're in trunk mode, do it now, and update the trunk number in our frame before continuing */
|
||||
|
||||
Reference in New Issue
Block a user