summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_sip.c')
-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)