Issue 6114: Don't hangup on BYE/ALSO with no channel.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@8562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson
2006-01-24 19:21:15 +00:00
parent 10d527906a
commit 7ea315539c
+2 -1
View File
@@ -10619,7 +10619,8 @@ static int handle_request_bye(struct sip_pvt *p, struct sip_request *req, int de
}
} else {
ast_log(LOG_WARNING, "Invalid transfer information from '%s'\n", ast_inet_ntoa(iabuf, sizeof(iabuf), p->recv.sin_addr));
ast_queue_hangup(p->owner);
if (p->owner)
ast_queue_hangup(p->owner);
}
} else if (p->owner)
ast_queue_hangup(p->owner);