774056846 4 months ago
parent
commit
1a830ce1fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/callcenter/acd.py

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

@@ -38,7 +38,7 @@ class AcdService:
         self.cache.add_call_info(call_info)
         self.cache.add_call_info(call_info)
         # 1. hold住并且播放等待音
         # 1. hold住并且播放等待音
         if self.call_service.hold(call_info, device_id):
         if self.call_service.hold(call_info, device_id):
-            self.client.bot_agent.self.hangup(user_part)
+            self.client.bot_agent.hangup(user_part)
         self.logger.info('debugger::transfer_to_agent, 1111111 ')
         self.logger.info('debugger::transfer_to_agent, 1111111 ')
         # 获得空闲坐席
         # 获得空闲坐席
         agent_number = self.agent_service.assign(AgentActionRequest(saas_id=saasId, service_id=service_id))
         agent_number = self.agent_service.assign(AgentActionRequest(saas_id=saasId, service_id=service_id))