diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 7daa1ee5500d097791d46edcb9f7bab83bb27631..8a7d00d1f0bb303685a43c805a89f4382ef7dad1 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);