|
@@ -54,7 +54,7 @@ class AgentEventService:
|
|
return
|
|
return
|
|
self.agent_monitor_service.update_idle(agent_monitor)
|
|
self.agent_monitor_service.update_idle(agent_monitor)
|
|
|
|
|
|
- self.push_handler.push_on_call_end(state_data.saas_id, state_data.flow_id, agent_scene, ServiceDirect.MANUAL_CALL.service_direct, '0')
|
|
|
|
|
|
+ self.push_handler.push_on_call_end(state_data.saas_id, state_data.flow_id, state_data.agent_num, agent_scene, ServiceDirect.MANUAL_CALL.service_direct, '0')
|
|
self.push_handler.push_on_agent_work_report(state_data.saas_id, state_data.flow_id, state_data.agent_num, '', agent_scene, WorkStatus.AGENT_HANG_REPROCESSING)
|
|
self.push_handler.push_on_agent_work_report(state_data.saas_id, state_data.flow_id, state_data.agent_num, '', agent_scene, WorkStatus.AGENT_HANG_REPROCESSING)
|
|
self.push_handler.push_on_agent_work_report(state_data.saas_id, state_data.flow_id, state_data.agent_num, '', agent_scene, WorkStatus.AGENT_HANG_IDLE)
|
|
self.push_handler.push_on_agent_work_report(state_data.saas_id, state_data.flow_id, state_data.agent_num, '', agent_scene, WorkStatus.AGENT_HANG_IDLE)
|
|
|
|
|
|
@@ -66,7 +66,7 @@ class AgentEventService:
|
|
self.agent_monitor_service.update_idle(agent_monitor)
|
|
self.agent_monitor_service.update_idle(agent_monitor)
|
|
|
|
|
|
if AgentServiceState.DIALING.code == agent_monitor.service_state:
|
|
if AgentServiceState.DIALING.code == agent_monitor.service_state:
|
|
- self.push_handler.push_on_call_end(state_data.saas_id, state_data.flow_id, agent_scene, ServiceDirect.MANUAL_CALL.service_direct, '0')
|
|
|
|
|
|
+ self.push_handler.push_on_call_end(state_data.saas_id, state_data.flow_id, state_data.agent_num, agent_scene, ServiceDirect.MANUAL_CALL.service_direct, '0')
|
|
self.push_handler.push_on_agent_work_report(state_data.saas_id, state_data.flow_id, state_data.agent_num, '', agent_scene, WorkStatus.AGENT_HANG_REPROCESSING)
|
|
self.push_handler.push_on_agent_work_report(state_data.saas_id, state_data.flow_id, state_data.agent_num, '', agent_scene, WorkStatus.AGENT_HANG_REPROCESSING)
|
|
|
|
|
|
self.push_handler.push_on_agent_work_report(state_data.saas_id, state_data.flow_id, state_data.agent_num, '', agent_scene, WorkStatus.AGENT_HANG_IDLE)
|
|
self.push_handler.push_on_agent_work_report(state_data.saas_id, state_data.flow_id, state_data.agent_num, '', agent_scene, WorkStatus.AGENT_HANG_IDLE)
|
|
@@ -135,7 +135,7 @@ class AgentEventService:
|
|
|
|
|
|
self.agent_monitor_service.update_processing(agent_monitor)
|
|
self.agent_monitor_service.update_processing(agent_monitor)
|
|
self.reprocessing_idle(AgentDelayStateData(saas_id, flow_id, agent_num, AgentServiceState.REPROCESSING, AgentScene.MANUAL))
|
|
self.reprocessing_idle(AgentDelayStateData(saas_id, flow_id, agent_num, AgentServiceState.REPROCESSING, AgentScene.MANUAL))
|
|
- self.push_handler.push_on_call_end(saas_id, flow_id, AgentScene.MANUAL, ServiceDirect.MANUAL_CALL.service_direct, '0')
|
|
|
|
|
|
+ self.push_handler.push_on_call_end(saas_id, flow_id, agent_num, AgentScene.MANUAL, ServiceDirect.MANUAL_CALL.service_direct, '0')
|
|
self.push_handler.push_on_agent_work_report(saas_id, flow_id, agent_num, call_id, AgentScene.MANUAL, WorkStatus.AGENT_HANG_REPROCESSING)
|
|
self.push_handler.push_on_agent_work_report(saas_id, flow_id, agent_num, call_id, AgentScene.MANUAL, WorkStatus.AGENT_HANG_REPROCESSING)
|
|
self.push_handler.push_on_agent_report(saas_id, agent_num, AgentScene.MANUAL, AgentServiceState.REPROCESSING)
|
|
self.push_handler.push_on_agent_report(saas_id, agent_num, AgentScene.MANUAL, AgentServiceState.REPROCESSING)
|
|
|
|
|