@@ -533,7 +533,7 @@ class OutboundClient:
}
# 检查白名单
if caller_number in whitelist:
- agents = self.server.load_agent_monitor()
+ agents = self.server.dataHandleServer.load_agent_monitor()
destination = random.choice(agents) # 随机取一个坐席号
# 直接转接到人工坐席
self.server.logger.info( "Caller %s is in whitelist, agents: %s, destination: %s", caller_number, agents, destination)