From e805353e886b9f932cb6e7e852e440c2fbbbd66e Mon Sep 17 00:00:00 2001 From: markster Date: Sun, 21 Nov 2004 19:34:19 +0000 Subject: Don't create owner twice (this should go to -stable too) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4304 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'channels') diff --git a/channels/chan_sip.c b/channels/chan_sip.c index dbcd5e4e5..97833ed6b 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7255,7 +7255,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 && !p->owner) { /* Handle authentication if this is our first invite */ res = check_user(p, req, cmd, e, 1, sin, ignore); if (res) { -- cgit v1.2.3