From: Olle Johansson Date: Wed, 9 May 2007 13:04:14 +0000 (+0000) Subject: Don't retransmit 200 OK's on ignore status. (Reported on asterisk-users) X-Git-Tag: 1.4.5~210 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d30faa1dc2f83b169f611f4dc5e90633cf1c0c95;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 7b68cc27f1..74f89c67e2 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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;