mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
If somehow we don't have an answer, set need to destroy on CANCEL
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5111,6 +5111,8 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
|
||||
}
|
||||
if (p->owner)
|
||||
ast_queue_hangup(p->owner, 0);
|
||||
else
|
||||
p->needdestroy = 1;
|
||||
transmit_response(p, "200 OK", req);
|
||||
transmit_response_reliable(p, "487 Request Terminated", &p->initreq);
|
||||
} else if (!strcasecmp(cmd, "BYE")) {
|
||||
|
Reference in New Issue
Block a user