|
@@ -50,7 +50,6 @@ class CallService:
|
|
|
conference=None, agent_name=None, from_agent=None, caller=None, called=None, display=None, called_location=None, caller_location=None, ring_start_time=None, ring_end_time=None, answer_time=None, bridge_time=None, end_time=None, talk_time=None, sip_protocol=None, channel_name=None, hangup_cause=None, ring_cause=None, sip_status=None, record=None, record_time=None, record_start_time=None, state=None, apparent_number=None,
|
|
|
)
|
|
|
call_info.device_list.append(device_id)
|
|
|
- self.logger.info("liuwei::debugger:1111::call_id=%s, device_id=%s"%(call_id, device_id))
|
|
|
call_info.next_commands.append(NextCommand(device_id, NextType.NEXT_CALL_OTHER.code))
|
|
|
call_info.device_info_map = {device_id: device_info}
|
|
|
self.cache.add_call_info(call_info)
|
|
@@ -109,7 +108,6 @@ class CallService:
|
|
|
call_time=now, cdr_type=CdrType.TRANSFER.code, device_type=DeviceType.AGENT.code,
|
|
|
cti_flow_id=None, agent_key=agent_number, agent_name=None, from_agent=None, called_location=None, caller_location=None, ring_start_time=None, ring_end_time=None, answer_time=None, bridge_time=None, end_time=None, talk_time=None, sip_protocol=None, channel_name=None, hangup_cause=None, ring_cause=None, sip_status=None, record=None, record_time=None, record_start_time=None, state=None, apparent_number=None, caller_display=None)
|
|
|
call_info.device_list.append(device_id)
|
|
|
- self.logger.info("liuwei::debugger:2222::call_id=%s, device_id=%s" % (call_id, device_id))
|
|
|
|
|
|
# call_info.caller = agent_number
|
|
|
call_info.device_info_map[device_id] = device_info
|