From: Mark Michelson Date: Wed, 26 Sep 2012 21:11:00 +0000 (+0000) Subject: Move handling of 408 response so there is no misleading warning message. X-Git-Tag: 1.8.18.0-rc1~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38048cdbfa22c0187e98ba4cd485042c4251199a;p=thirdparty%2Fasterisk.git Move handling of 408 response so there is no misleading warning message. (closes issue ASTERISK-20060) Reported by: Walter Doekes git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@373848 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index be01713f3f..90e2534516 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -20562,7 +20562,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); @@ -20644,6 +20643,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);