DavidLiu 4 hónapja
szülő
commit
d1b15199c1
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/core/callcenter/call.py

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

@@ -89,7 +89,7 @@ class CallService:
     def transfer(self, call_info: CallInfo, agent_number, service_id):
         caller = call_info.called
         call_id = call_info.call_id
-        agent = self.cache.get_agent_info(call_info.saas_id, call_info.agent_key)
+        agent = self.cache.get_agent_info(call_info.saas_id, agent_number)
         device_id = 'T' + str(self.snowflake.next_id())
         # now = lambda: int(round(time.time() * 1000))
         now = datetime.utcnow().timestamp()