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