From: Paul Cadach Date: Sat, 30 Sep 2006 16:12:23 +0000 (+0000) Subject: Fix issue #7928 correctly. Next is a comment of previous fix: X-Git-Tag: 1.4.0-beta3~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ffd8a2576b53d59daedf398518e3fc5f9b31c593;p=thirdparty%2Fasterisk.git Fix issue #7928 correctly. Next is a comment of previous fix: 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/branches/1.4@44078 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 79b9ecfe46..6278b1139c 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -13174,7 +13174,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int break; } } else { - if (p && p->autokillid > -1) { + if (p && (p->autokillid == -1)) { const char *msg; if (!p->jointcapability)