mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Make the 'i' option of Queue actually work. (issue #8986 reported by utis)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1929,7 +1929,10 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte
|
|||||||
if (!ast_strlen_zero(o->chan->call_forward) && !forwardsallowed) {
|
if (!ast_strlen_zero(o->chan->call_forward) && !forwardsallowed) {
|
||||||
if (option_verbose > 2)
|
if (option_verbose > 2)
|
||||||
ast_verbose(VERBOSE_PREFIX_3 "Forwarding %s to '%s' prevented.\n", in->name, o->chan->call_forward);
|
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)) {
|
} else if (!ast_strlen_zero(o->chan->call_forward)) {
|
||||||
char tmpchan[256];
|
char tmpchan[256];
|
||||||
char *stuff;
|
char *stuff;
|
||||||
|
Reference in New Issue
Block a user