aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-02-05 16:42:49 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-02-05 16:42:49 +0000
commit5a5cfcf795cafa4adc612660a2872dcbc432d34c (patch)
treeb60b82de141fc6b76ad58d74d05fb88766cb7fe3 /apps/app_queue.c
parenteb3302125c10df21be0d315a907b5fffd079a490 (diff)
More flagification fixes (bug #3414, round 2)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4967 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-xapps/app_queue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index d2f5b5fa8..a12cf6899 100755
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1147,9 +1147,10 @@ static struct localuser *wait_for_answer(struct queue_ent *qe, struct localuser
if (f) {
if (f->frametype == AST_FRAME_CONTROL) {
switch(f->subclass) {
- case AST_CONTROL_ANSWER:
+ case AST_CONTROL_ANSWER:
/* This is our guy if someone answered. */
if (!peer) {
+ ast_copy_flags(flags, o, QUEUE_FLAG_REDIR_IN | QUEUE_FLAG_REDIR_OUT | QUEUE_FLAG_DISCON_IN | QUEUE_FLAG_DISCON_OUT);
if (option_verbose > 2)
ast_verbose( VERBOSE_PREFIX_3 "%s answered %s\n", o->chan->name, in->name);
peer = o;