Merged revisions 43864 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43864 | bweschke | 2006-09-28 09:24:10 -0400 (Thu, 28 Sep 2006) | 3 lines

 Autopause not working for queue members. (#8042 - jmls reported and patch)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
BJ Weschke 2006-09-28 13:35:04 +00:00
parent 2719c20e4e
commit 4a50548ab2
1 changed files with 4 additions and 2 deletions

View File

@ -1887,9 +1887,11 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte
peer = o;
}
} else if (o->chan && (o->chan == winner)) {
ast_copy_string(on, o->member->interface, sizeof(on));
ast_copy_string(membername, o->member->membername, sizeof(membername));
if (!ast_strlen_zero(o->chan->call_forward) && !forwardsallowed) {
ast_copy_string(on, o->member->interface, sizeof(on));
ast_copy_string(membername, o->member->membername, sizeof(membername));
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;