Issue #7928 - Don't send both 404 and 503. Fix by phsultan with a small fix by me...
authorOlle Johansson <oej@edvina.net>
Tue, 12 Sep 2006 14:17:33 +0000 (14:17 +0000)
committerOlle Johansson <oej@edvina.net>
Tue, 12 Sep 2006 14:17:33 +0000 (14:17 +0000)
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

index 8029dbb..162cfb6 100644 (file)
@@ -13080,7 +13080,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int
                        break;
                }
        } else {
                        break;
                }
        } else {
-               if (p && !ast_test_flag(&p->flags[0], SIP_NEEDDESTROY)) {
+               if (p && p->autokillid > -1) {
                        const char *msg;
 
                        if (!p->jointcapability)
                        const char *msg;
 
                        if (!p->jointcapability)