From: Olle Johansson Date: Tue, 12 Sep 2006 14:17:33 +0000 (+0000) Subject: Issue #7928 - Don't send both 404 and 503. Fix by phsultan with a small fix by me... X-Git-Tag: 1.4.0-beta1~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50b6a222ef7b2393658382cf2c3e9f3e00a00124;p=thirdparty%2Fasterisk.git 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 --- 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)