|
@@ -93,7 +93,7 @@ class CallService:
|
|
call_info.device_info_map[device_id] = device_info
|
|
call_info.device_info_map[device_id] = device_info
|
|
call_info.next_commands.append(NextCommand(device_info.device_id, NextType.NEXT_TRANSFER_CALL.code, call_info.device_list[0]))
|
|
call_info.next_commands.append(NextCommand(device_info.device_id, NextType.NEXT_TRANSFER_CALL.code, call_info.device_list[0]))
|
|
call_info.agent_key = agent_number
|
|
call_info.agent_key = agent_number
|
|
- print('transfer, agent_number=%s, call_info=%s'% (agent_number, call_info), flush=True)
|
|
|
|
|
|
+ print('transfer, agent_number=%s, device_id=%s, call_info=%s'% (agent_number, device_id, call_info), flush=True)
|
|
# agent.sip_server
|
|
# agent.sip_server
|
|
self.cache.add_call_info(call_info)
|
|
self.cache.add_call_info(call_info)
|
|
self.cache.add_agent_info(agent=agent, call_id=call_id, device_id=device_id)
|
|
self.cache.add_agent_info(agent=agent, call_id=call_id, device_id=device_id)
|