summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2006-09-12 14:17:33 +0000
committerOlle Johansson <oej@edvina.net>2006-09-12 14:17:33 +0000
commit50b6a222ef7b2393658382cf2c3e9f3e00a00124 (patch)
tree835627e79cc06b0a161fe72325f172d20ad68a69 /channels
parentd970a07b1c729925c8b2589facb929b6bec7dec8 (diff)
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
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 8029dbb58..162cfb62d 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)