|
@@ -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
|