|
@@ -77,7 +77,7 @@ class AgentEventService:
|
|
|
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.agent_actionlog_service.insert_service_state(agent_monitor, AgentServiceState.IDLE, AgentLogState.MANUAL_HANG_UP)
|
|
|
|
|
|
-
|
|
|
+ @with_app_context
|
|
|
def agent_event_channel(self, event, call_info: CallInfo, device_info: DeviceInfo):
|
|
|
event_name = EslEventUtil.getEventName(event)
|
|
|
saas_id = call_info.saas_id if call_info else None
|