Fix JIRA (FS-7018): mod_callcenter's longest-idle-agent strategy is unfair
This commit is contained in:
parent
2ce2dccf21
commit
1bcdb49bce
|
@ -2227,7 +2227,7 @@ static int members_callback(void *pArg, int argc, char **argv, char **columnName
|
|||
} else {
|
||||
|
||||
if (!strcasecmp(queue->strategy, "longest-idle-agent")) {
|
||||
sql_order_by = switch_mprintf("level, agents.last_offered_call, position");
|
||||
sql_order_by = switch_mprintf("level, agents.last_bridge_end, position");
|
||||
} else if (!strcasecmp(queue_strategy, "agent-with-least-talk-time")) {
|
||||
sql_order_by = switch_mprintf("level, agents.talk_time, position");
|
||||
} else if (!strcasecmp(queue_strategy, "agent-with-fewest-calls")) {
|
||||
|
|
Loading…
Reference in New Issue