774056846 hai 4 meses
pai
achega
ef4bc57389
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

@@ -548,7 +548,7 @@ class AgentStateService:
 
     def assign_agent(self, saas_id, service_id, called=None, ivr_id=None, task_id=None, cbp=None):
         choose_phone_num = ''
-        self.logger.info("assignAgent %s %s %s"% (saas_id, service_id, called), flush=True)
+        print("assignAgent %s %s %s"% (saas_id, service_id, called), flush=True)
         idle_agents = self.idle_agents(saas_id, service_id)
         if len(idle_agents) <= 0:
             return choose_phone_num