aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-27 06:44:40 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-27 06:44:40 +0000
commit2b57e7d361797ea9e7e32b9b6454ff69e0696bf2 (patch)
treef395869212fd6a069ad675f1e71fee4b8d751e2f /channels/chan_sip.c
parent481ef16004ff2e18615d16185d885929943dd2c1 (diff)
Change error message (imported from 1.4)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48032 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 6e634c27b..3c0cb2102 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -12331,7 +12331,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);