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
1.2-netsec
Kevin P. Fleming 20 years ago
parent aae3bb3e48
commit 78fa3593b1

@ -10032,7 +10032,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int
transmit_response(p, "100 Trying", req); transmit_response(p, "100 Trying", req);
} }
} else { } else {
if (p && !ast_test_flag(p, SIP_NEEDDESTROY)) { if (p && !ast_test_flag(p, SIP_NEEDDESTROY) && !ignore) {
if (!p->jointcapability) { if (!p->jointcapability) {
if (ignore) if (ignore)
transmit_response(p, "488 Not Acceptable Here (codec error)", req); transmit_response(p, "488 Not Acceptable Here (codec error)", req);

Loading…
Cancel
Save