diff --git a/apps/app_queue.c b/apps/app_queue.c index b65ec0cfb1..2bf67bde19 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2260,7 +2260,8 @@ static int is_our_turn(struct queue_ent *qe) switch (cur->status) { case AST_DEVICE_NOT_INUSE: case AST_DEVICE_UNKNOWN: - avl++; + if (!cur->paused) + avl++; break; } }