]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix issue #7928 correctly. Next is a comment of previous fix:
authorPaul Cadach <paul@odt.east.telecom.kz>
Sat, 30 Sep 2006 16:12:23 +0000 (16:12 +0000)
committerPaul Cadach <paul@odt.east.telecom.kz>
Sat, 30 Sep 2006 16:12:23 +0000 (16:12 +0000)
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

channels/chan_sip.c

index 79b9ecfe46780bea0a8bddb069d3d531114909ab..6278b1139c96e4043d8aefc4ce4b05cd3d9503aa 100644 (file)
@@ -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)