|
@@ -240,7 +240,9 @@ class AgentEventService:
|
|
|
agent_monitor = self.data_handle_server.get_agent_monitor(state_data.saas_id, state_data.agent_num)
|
|
|
if not agent_monitor:
|
|
|
return
|
|
|
+ self.logger.info('reprocessing_idle %s %s %s', state_data.saas_id, state_data.agent_num, agent_monitor)
|
|
|
self.agent_state_service.idle(agent.saas_id, agent.out_id, agent.phone_num)
|
|
|
+ self.logger.info('reprocessing_idle_end')
|
|
|
self.agent_monitor_service.update_idle(agent_monitor)
|
|
|
self.push_handler.push_on_agent_work_report(state_data.saas_id, state_data.flow_id, state_data.agent_num, "", state_data.scene, WorkStatus.AGENT_HANG_IDLE)
|
|
|
self.agent_actionlog_service.insert_service_state(agent_monitor, AgentServiceState.IDLE, AgentLogState.REPROCESSING_IDLE)
|