[asterisk-commits] pabelanger: trunk r262414 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 11 14:26:22 CDT 2010


Author: pabelanger
Date: Tue May 11 14:26:17 2010
New Revision: 262414

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=262414
Log:
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

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=262414&r1=262413&r2=262414
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue May 11 14:26:17 2010
@@ -20573,8 +20573,8 @@
 				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);




More information about the asterisk-commits mailing list