From: Joshua Colp Date: Sat, 17 Feb 2007 03:01:38 +0000 (+0000) Subject: Merged revisions 55129 via svnmerge from X-Git-Tag: 1.6.0-beta1~3^2~3182 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=213983dee27f34d2f599961046c0306da36067ed;p=thirdparty%2Fasterisk.git Merged revisions 55129 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r55129 | file | 2007-02-16 21:59:50 -0500 (Fri, 16 Feb 2007) | 2 lines Make the 'i' option of Queue actually work. (issue #8986 reported by utis) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55132 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index a2bf6d91f2..869dbe5ddf 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1971,7 +1971,10 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte if (!ast_strlen_zero(o->chan->call_forward) && !forwardsallowed) { if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3 "Forwarding %s to '%s' prevented.\n", in->name, o->chan->call_forward); - winner = o->chan = NULL; + numnochan++; + do_hang(o); + winner = NULL; + continue; } else if (!ast_strlen_zero(o->chan->call_forward)) { char tmpchan[256]; char *stuff;