aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorpcadach <pcadach@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-30 16:12:23 +0000
committerpcadach <pcadach@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-30 16:12:23 +0000
commit838efbc0e9d1f3ce0ef6ffc9289b6efeb3d31764 (patch)
tree5d894770eee8998f0174fac23618e9a8a0c58af4 /channels
parent5a89bb458d51f19149ce6bd836f64c5b5fa38185 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@44078 f38db490-d61c-443f-a65b-d21fe96a405b
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 79b9ecfe4..6278b1139 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)