Davidliu 1 місяць тому
батько
коміт
fb32607b4e
1 змінених файлів з 4 додано та 4 видалено
  1. 4 4
      src/core/callcenter/agent.py

+ 4 - 4
src/core/callcenter/agent.py

@@ -195,13 +195,13 @@ class AgentEventService:
             self.logger.info('bot_event_channel, event_name=%s, call_id=%s, device_id=%s, is_agent=%s, agent_num=%s, hangup_dir=%s, hangup_count=%s, answer_count=%s', event_name, call_id, device_id, is_agent, agent_num, call_info.hangup_dir, call_info.hangup_count, call_info.answer_count)
             agent = self.data_handle_server.get_agent(saas_id, agent_num)
             if not agent:
-                # self.logger.warn("bot event service channel agent is null %s %s %s %s %s", saas_id, event_name, caller, called,
-                #                  json.dumps(event.serialize('json')))
+                self.logger.warn("bot event service channel agent is null %s %s %s %s %s %s", saas_id, event_name, call_id, caller, called,
+                                 json.dumps(event.serialize('json')))
                 return
             agent_monitor = self.data_handle_server.get_agent_monitor(saas_id, agent_num)
             if not agent_monitor:
-                # self.logger.warn("bot event service channel agentMonitor is null %s %s %s %s %s", saas_id, event_name, caller,
-                #                  called, json.dumps(event.serialize('json')))
+                self.logger.warn("bot event service channel agentMonitor is null %s %s %s %s %s %s", saas_id, event_name, call_id, caller,
+                                 called, json.dumps(event.serialize('json')))
                 return
 
             # 信道发起事件,触发完成发起(或桥)&& 坐席侧