From: Olle Johansson Date: Mon, 27 Nov 2006 06:41:33 +0000 (+0000) Subject: Change logging message X-Git-Tag: 1.4.0-beta4~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9436ecaad79df856642b9dae818d3ae26c21cc90;p=thirdparty%2Fasterisk.git Change logging message git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48031 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 2485df85ce..6ffa71017d 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -12088,7 +12088,8 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_ if (sipmethod == SIP_INVITE) { /* First we ACK */ transmit_request(p, SIP_ACK, seqno, XMIT_UNRELIABLE, FALSE); - ast_log(LOG_WARNING, "INVITE with REPLACEs failed to '%s'\n", get_header(&p->initreq, "From")); + if (option_debug) + ast_log(LOG_DEBUG, "Got 481 on Invite. Assuming INVITE with REPLACEs failed to '%s'\n", get_header(&p->initreq, "From")); if (owner) ast_queue_control(p->owner, AST_CONTROL_CONGESTION); sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT);