|
@@ -35,7 +35,8 @@ class CallService:
|
|
|
caller=agent.agent_number, called=request.called, direction=Direction.INBOUND.code,
|
|
|
caller_display=request.caller_display, called_display=request.called_display,
|
|
|
call_type=request.call_type.code, call_time=now, follow_data=request.follow_data,
|
|
|
- uuid1=request.uuid1, uuid2=request.uuid2, saas_id=saasId)
|
|
|
+ uuid1=request.uuid1, uuid2=request.uuid2, saas_id=saasId, device_list=[],device_info_map = {},
|
|
|
+ process_data = {}, next_commands=[], call_details=[])
|
|
|
device_info = DeviceInfo(cti_flow_id=request.cti_flow_id, device_id=device_id, call_time=now, call_id=call_id, device_type=DeviceType.AGENT.code,
|
|
|
agent_key=agent.agent_number, caller_display=route_gateway.name, cdr_type=CdrType.INBOUND.code)
|
|
|
call_info.device_list.append(device_id)
|