aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-12 14:17:33 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-12 14:17:33 +0000
commit0c748852b28fed59b20b9e68d609da09e51fc7f2 (patch)
tree835627e79cc06b0a161fe72325f172d20ad68a69
parent739e9510a2dcc3b771ba9e35f09fd366f22b872d (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: http://svn.digium.com/svn/asterisk/trunk@42826 f38db490-d61c-443f-a65b-d21fe96a405b
-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)