Don't create owner twice (this should go to -stable too)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
77f36c6b87
commit
4c624caef3
1 changed files with 1 additions and 1 deletions
|
@ -7255,7 +7255,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
|
||||||
ast_queue_frame(p->owner, &af);
|
ast_queue_frame(p->owner, &af);
|
||||||
} else if (debug)
|
} else if (debug)
|
||||||
ast_verbose("Ignoring this request\n");
|
ast_verbose("Ignoring this request\n");
|
||||||
if (!p->lastinvite) {
|
if (!p->lastinvite && !p->owner) {
|
||||||
/* Handle authentication if this is our first invite */
|
/* Handle authentication if this is our first invite */
|
||||||
res = check_user(p, req, cmd, e, 1, sin, ignore);
|
res = check_user(p, req, cmd, e, 1, sin, ignore);
|
||||||
if (res) {
|
if (res) {
|
||||||
|
|
Loading…
Reference in a new issue