mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 00:30:20 +00:00
Merge "app_queue: update RT members when the 1st call joins a queue with no agents" into 13
This commit is contained in:
@@ -5191,6 +5191,11 @@ static int is_our_turn(struct queue_ent *qe)
|
||||
res = 0;
|
||||
}
|
||||
|
||||
/* Update realtime members if this is the first call and number of avalable members is 0 */
|
||||
if (avl == 0 && qe->pos == 1) {
|
||||
update_realtime_members(qe->parent);
|
||||
}
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user