From 50b6a222ef7b2393658382cf2c3e9f3e00a00124 Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Tue, 12 Sep 2006 14:17:33 +0000 Subject: [PATCH] Issue #7928 - Don't send both 404 and 503. Fix by phsultan with a small fix by me, myself or I. Thanks, Philippe! (This was caused by my changes to the transaction handling) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42826 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 8029dbb584..162cfb62da 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -13080,7 +13080,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int break; } } else { - if (p && !ast_test_flag(&p->flags[0], SIP_NEEDDESTROY)) { + if (p && p->autokillid > -1) { const char *msg; if (!p->jointcapability)