mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
don't create owner twice
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -7227,7 +7227,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
|
||||
ast_queue_frame(p->owner, &af);
|
||||
} else if (debug)
|
||||
ast_verbose("Ignoring this request\n");
|
||||
if (!p->lastinvite) {
|
||||
if (!p->lastinvite && !ignore && !p->owner) {
|
||||
/* Handle authentication if this is our first invite */
|
||||
res = check_user(p, req, cmd, e, 1, sin, ignore);
|
||||
if (res) {
|
||||
|
Reference in New Issue
Block a user