diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-17 03:01:38 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-17 03:01:38 +0000 |
commit | dbe5d35f65d1009f0b1a2204f44d652035f51b23 (patch) | |
tree | 32f530e49ddce63ae56640e4d2dd009fee86eddb /apps/app_queue.c | |
parent | 372384ed11f05bd0cb2a11ac66b165f3d7d0e2b5 (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@55132 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index a2bf6d91f..869dbe5dd 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; |