From: Russell Bryant Date: Mon, 22 Nov 2004 03:57:41 +0000 (+0000) Subject: don't create owner twice X-Git-Tag: 1.0.11.1~371 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10781d30d2eda71194b2535614ca7f4ff2a00060;p=thirdparty%2Fasterisk.git don't create owner twice git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4310 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a776a688fb..700301f335 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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) {