From: Kevin P. Fleming Date: Mon, 26 Sep 2005 03:05:37 +0000 (+0000) Subject: properly ignore retransmitted INVITEs on long latency links (issue #3658) X-Git-Tag: 1.2.0-beta2~259 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78fa3593b170998ae60e7fe08f3bd220bb3d3a43;p=thirdparty%2Fasterisk.git properly ignore retransmitted INVITEs on long latency links (issue #3658) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6660 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 7daa1ee550..8a7d00d1f0 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -10032,7 +10032,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int transmit_response(p, "100 Trying", req); } } else { - if (p && !ast_test_flag(p, SIP_NEEDDESTROY)) { + if (p && !ast_test_flag(p, SIP_NEEDDESTROY) && !ignore) { if (!p->jointcapability) { if (ignore) transmit_response(p, "488 Not Acceptable Here (codec error)", req);