|
@@ -34,7 +34,7 @@ class CallService:
|
|
|
agent = self.cache.get_agent_info(request.saas_id, request.agent_id)
|
|
|
route_gateway = self.cache.get_route_gateway(request.saas_id)
|
|
|
call_info = CallInfo(cti_flow_id=request.cti_flow_id, call_id=call_id, agent_key=agent.agent_number, sip_server=agent.sip_server,
|
|
|
- caller=agent.agent_number, called=request.called, direction=Direction.OUTBOUND.code,
|
|
|
+ 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, call_time=now, follow_data=request.follow_data,
|
|
|
uuid1=request.uuid1, uuid2=request.uuid2, saas_id=saasId,
|