提交 0ef2b03e authored 作者: Humberto Diógenes's avatar Humberto Diógenes 提交者: Ken Rice

Fix JIRA (FS-7018): mod_callcenter's longest-idle-agent strategy is unfair

上级 ba623d0f
...@@ -2227,7 +2227,7 @@ static int members_callback(void *pArg, int argc, char **argv, char **columnName ...@@ -2227,7 +2227,7 @@ static int members_callback(void *pArg, int argc, char **argv, char **columnName
} else { } else {
if (!strcasecmp(queue->strategy, "longest-idle-agent")) { 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")) { } else if (!strcasecmp(queue_strategy, "agent-with-least-talk-time")) {
sql_order_by = switch_mprintf("level, agents.talk_time, position"); sql_order_by = switch_mprintf("level, agents.talk_time, position");
} else if (!strcasecmp(queue_strategy, "agent-with-fewest-calls")) { } else if (!strcasecmp(queue_strategy, "agent-with-fewest-calls")) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论