[Asterisk-cvs] asterisk/channels chan_iax2.c,1.199,1.200

markster at lists.digium.com markster at lists.digium.com
Fri Oct 8 01:36:05 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv22213/channels

Modified Files:
	chan_iax2.c 
Log Message:
Provide more useful iax2 debugging (bug #2603)


Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.199
retrieving revision 1.200
diff -u -d -r1.199 -r1.200
--- chan_iax2.c	7 Oct 2004 21:06:32 -0000	1.199
+++ chan_iax2.c	8 Oct 2004 05:37:19 -0000	1.200
@@ -5338,7 +5338,7 @@
 					/* 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 */




More information about the svn-commits mailing list