diff options
author | Olle Johansson <oej@edvina.net> | 2006-11-27 06:44:40 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2006-11-27 06:44:40 +0000 |
commit | 42fb13417141ba983c83965b51fa803f20e6a1cc (patch) | |
tree | f395869212fd6a069ad675f1e71fee4b8d751e2f | |
parent | a3adf3e7543b59d2cfe4abfbf3d6ee36fc4cbdd3 (diff) |
Change error message (imported from 1.4)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_sip.c | 3 |
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); |