aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-21 19:36:46 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-21 19:36:46 +0000
commite2bad18d0a0544e2128fde4d073fd7cd7a12fc41 (patch)
tree774d0d10a9b50fb1597e2fe1f861978ce6f6c919 /channels
parente805353e886b9f932cb6e7e852e440c2fbbbd66e (diff)
In fact, be even more pedantic
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4305 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 97833ed6b..6d9b85db1 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) {