shanghui 3 meses atrás
pai
commit
db7d05e4ba
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      src/core/callcenter/agent.py

+ 2 - 0
src/core/callcenter/agent.py

@@ -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)