mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
Autopause not working for queue members. (#8042 - jmls reported and patch)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1902,9 +1902,11 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte
|
|||||||
peer = o;
|
peer = o;
|
||||||
}
|
}
|
||||||
} else if (o->chan && (o->chan == winner)) {
|
} 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) {
|
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)
|
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;
|
winner = o->chan = NULL;
|
||||||
|
Reference in New Issue
Block a user