From 78fa3593b170998ae60e7fe08f3bd220bb3d3a43 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Mon, 26 Sep 2005 03:05:37 +0000 Subject: [PATCH] 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 --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);