From: Russell Bryant Date: Wed, 26 Sep 2007 21:35:23 +0000 (+0000) Subject: I changed my mind ... I think this should be a LOG_NOTICE. X-Git-Tag: 1.4.12~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8ec2e235605221ab5b742c2aebfcefdbdb8c5c5;p=thirdparty%2Fasterisk.git I changed my mind ... I think this should be a LOG_NOTICE. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@83943 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 21060ec4e8..4b7d3a8899 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -13661,11 +13661,9 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int 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);