mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
Destroy channels on BYE when no owner is present
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1584 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5043,6 +5043,8 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
|
||||
}
|
||||
} else if (p->owner)
|
||||
ast_queue_hangup(p->owner, 0);
|
||||
else
|
||||
p->needdestroy = 1;
|
||||
transmit_response(p, "200 OK", req);
|
||||
} else if (!strcasecmp(cmd, "MESSAGE")) {
|
||||
if (sipdebug)
|
||||
|
||||
Reference in New Issue
Block a user