From ffd8a2576b53d59daedf398518e3fc5f9b31c593 Mon Sep 17 00:00:00 2001 From: Paul Cadach Date: Sat, 30 Sep 2006 16:12:23 +0000 Subject: [PATCH] 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 --- 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 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)