Don't retransmit 200 OK's on ignore status. (Reported on asterisk-users)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Olle Johansson 19 years ago
parent 414b5a15f5
commit d30faa1dc2

@ -13641,8 +13641,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int
}
/* Respond to normal re-invite */
if (sendok)
transmit_response_with_sdp(p, "200 OK", req, XMIT_CRITICAL);
transmit_response_with_sdp(p, "200 OK", req, ast_test_flag(req, SIP_PKT_IGNORE) ? XMIT_UNRELIABLE : XMIT_CRITICAL);
}
p->invitestate = INV_TERMINATED;
break;

Loading…
Cancel
Save