From: Mark Spencer Date: Sun, 21 Nov 2004 19:36:46 +0000 (+0000) Subject: In fact, be even more pedantic X-Git-Tag: 1.2.0-beta1~1779 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e4d1ada2527db0f20062644ac517aa1cf352b51e;p=thirdparty%2Fasterisk.git In fact, be even more pedantic git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4305 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 97833ed6bc..6d9b85db18 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 && !p->owner) { + 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) {