? core.12991 Index: channels/chan_sip.c =================================================================== RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v retrieving revision 1.665 diff -u -r1.665 chan_sip.c --- channels/chan_sip.c 24 Feb 2005 13:57:45 -0000 1.665 +++ channels/chan_sip.c 24 Feb 2005 22:29:10 -0000 @@ -7883,6 +7883,7 @@ int seqno; int len; int ignore=0; + int really_ignore = 0; int respid; int res; int gotdest; @@ -8010,8 +8011,11 @@ /* Queue NULL frame to prod ast_rtp_bridge if appropriate */ if (p->owner) ast_queue_frame(p->owner, &af); - } else if (debug) + } else { + if (debug) ast_verbose("Ignoring this request\n"); + really_ignore = 1; + } if (!p->lastinvite && !ignore && !p->owner) { /* Handle authentication if this is our first invite */ res = check_user(p, req, cmd, e, 1, sin, ignore); @@ -8085,6 +8089,8 @@ c = p->owner; if (!ignore && p) p->lastinvite = seqno; + if (really_ignore) + return 0; if (c) { switch(c->_state) { case AST_STATE_DOWN: