DavidLiu vor 4 Monaten
Ursprung
Commit
da37c65475
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/core/callcenter/agent.py

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

@@ -170,7 +170,6 @@ class AgentEventService:
         called = (device_info.caller if is_agent else device_info.called) if device_info else None
         human_service_id = '00000000000000000'
 
-        self.logger.info('bot_event_channel, event_name=%s, call_id=%s, is_agent=%s', event_name, call_id, is_agent)
         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,
@@ -184,6 +183,7 @@ class AgentEventService:
 
         # 信道发起事件,触发完成发起(或桥)&& 坐席侧
         if CHANNEL_ORIGINATE == event_name and is_agent:
+            self.logger.info('bot_event_channel, event_name=%s, call_id=%s, is_agent=%s, agent_num=%s', event_name, call_id, is_agent, agent_num)
             self.push_handler.push_on_call_ring(saas_id, flow_id, agent_num, AgentScene.ROBOT, call_id, ServiceDirect.ROBOT_CALL.service_direct, called, caller, human_service_id)
             self.push_handler.push_on_agent_work_report(saas_id, flow_id, agent_num, call_id, AgentScene.ROBOT, WorkStatus.AGENT_RINGING)