]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Move handling of 408 response so there is no misleading warning message.
authorMark Michelson <mmichelson@digium.com>
Wed, 26 Sep 2012 21:11:35 +0000 (21:11 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 26 Sep 2012 21:11:35 +0000 (21:11 +0000)
(closes issue ASTERISK-20060)
Reported by: Walter Doekes
........

Merged revisions 373848 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@373849 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 897b696089b79869343c125cc249a60d1863ce77..7adcad1ec9ba5dc595a20b8be14c4a9d1846da71 100644 (file)
@@ -21201,7 +21201,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);
@@ -21283,6 +21282,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);