DavidLiu hai 4 meses
pai
achega
ccfebd5f14
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/callcenter/agent.py

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

@@ -170,7 +170,7 @@ class AgentEventService:
         called = (device_info.caller if is_agent else device_info.called) if device_info else None
         human_service_id = '00000000000000000'
 
-        if CHANNEL_ANSWER == event_name:
+        if CHANNEL_ORIGINATE == event_name:
             self.logger.info('bot_event_channel, event_name=%s, call_id=%s, is_agent=%s, agent_num=%s, call_info=%s', event_name, call_id, is_agent, agent_num, call_info)
 
         agent = self.data_handle_server.get_agent(saas_id, agent_num)