|
@@ -85,12 +85,13 @@ class AgentEventService:
|
|
|
|
|
|
agent = self.data_handle_server.get_agent(saas_id, agent_num)
|
|
|
if not agent:
|
|
|
- self.logger.warn("event service channel agent is null %s %s %s %s %s", saas_id, event_name, caller, called, event.serialize('json'))
|
|
|
+ self.logger.warn("event service channel agent is null %s %s %s %s %s", saas_id, event_name, caller, called, json.loads(event.serialize('json')))
|
|
|
return
|
|
|
agent_monitor = self.data_handle_server.get_agent_monitor(saas_id, agent_num)
|
|
|
if not agent_monitor:
|
|
|
- self.logger.warn("event service channel agentMonitor is null %s %s %s %s %s", saas_id, event_name, caller, called, event.serialize('json'))
|
|
|
+ self.logger.warn("event service channel agentMonitor is null %s %s %s %s %s", saas_id, event_name, caller, called, json.loads(event.serialize('json')))
|
|
|
return
|
|
|
+
|
|
|
# 信道发起事件,触发完成发起(或桥)&& 坐席侧
|
|
|
if CHANNEL_ORIGINATE == event_name and is_agent:
|
|
|
self.push_handler.push_on_agent_work_report(saas_id, flow_id, agent_num, call_id, AgentScene.MANUAL, WorkStatus.AGENT_RINGING)
|