summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2012-09-26 21:17:16 +0000
committerMark Michelson <mmichelson@digium.com>2012-09-26 21:17:16 +0000
commitb6a780b923c32e8c217389be3dd05bd8c8d7ac1c (patch)
tree5727fb55a48f1e71022fd34c577f917232a6fd87 /channels/chan_sip.c
parent0332f58f8f85f42f2a88210c48695064526a968e (diff)
Move handling of 408 response so there is no misleading warning message.
(closes issue ASTERISK-20060) Reported by: Walter Doekes ........ Merged revisions 373848 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 373849 from http://svn.asterisk.org/svn/asterisk/branches/10 ........ Merged revisions 373850 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@373852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 615f576fe..9ebf2b70f 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -22497,7 +22497,6 @@ static void handle_response_invite(struct sip_pvt *p, int resp, const char *rest
}
break;
- case 408: /* Request timeout */
case 481: /* Call leg does not exist */
/* Could be REFER caused INVITE with replaces */
ast_log(LOG_WARNING, "Re-invite to non-existing call leg on other UA. SIP dialog '%s'. Giving up.\n", p->callid);
@@ -22602,6 +22601,7 @@ static void handle_response_invite(struct sip_pvt *p, int resp, const char *rest
}
break;
+ case 408: /* Request timeout */
case 405: /* Not allowed */
case 501: /* Not implemented */
xmitres = transmit_request(p, SIP_ACK, seqno, XMIT_UNRELIABLE, FALSE);