[asterisk-commits] russell: branch 1.4 r83943 - /branches/1.4/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 26 16:35:23 CDT 2007


Author: russell
Date: Wed Sep 26 16:35:23 2007
New Revision: 83943

URL: http://svn.digium.com/view/asterisk?view=rev&rev=83943
Log:
I changed my mind ... I think this should be a LOG_NOTICE.

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=83943&r1=83942&r2=83943
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Wed Sep 26 16:35:23 2007
@@ -13661,11 +13661,9 @@
 				transmit_response_reliable(p, "484 Address Incomplete", req);
 			else {
 				transmit_response_reliable(p, "404 Not Found", req);
-				if (option_verbose > 2) {
-					ast_verbose(VERBOSE_PREFIX_3 "Call from '%s' to extension"
-						" '%s' rejected because extension not found.\n",
-						S_OR(p->username, p->peername), p->exten);
-				}
+				ast_log(LOG_NOTICE, "Call from '%s' to extension"
+					" '%s' rejected because extension not found.\n",
+					S_OR(p->username, p->peername), p->exten);
 			}
 			p->invitestate = INV_COMPLETED;	
 			update_call_counter(p, DEC_CALL_LIMIT);




More information about the asterisk-commits mailing list