aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-20 16:49:13 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-20 16:49:13 +0000
commit0ae066df995dcdebbf3b05ecbd41559435bc301f (patch)
treedb8205056052180d663574809e63e814b6c7a971
parentd1f998b01f5196ecb88d21f1610716984625c14e (diff)
Move makeannouncement variable declaration to proper place.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76054 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 241a8b869..856a3eb9c 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -3381,6 +3381,8 @@ static int queue_exec(struct ast_channel *chan, void *data)
qe.last_periodic_announce_sound = 0;
qe.valid_digits = 0;
if (!join_queue(args.queuename, &qe, &reason)) {
+ int makeannouncement = 0;
+
ast_queue_log(args.queuename, chan->uniqueid, "NONE", "ENTERQUEUE", "%s|%s", S_OR(args.url, ""),
S_OR(chan->cid.cid_num, ""));
check_turns:
@@ -3395,8 +3397,6 @@ check_turns:
if (res)
goto stop;
- int makeannouncement = 0;
-
for (;;) {
/* This is the wait loop for the head caller*/
/* To exit, they may get their call answered; */