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:
Mark Spencer
2004-10-08 05:37:19 +00:00
parent d808177d50
commit f869646706

View File

@@ -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 */