|
@@ -445,7 +445,7 @@ class CallInfo(BaseApi):
|
|
|
call_time=None, call_type=None, direction=None, answer_flag=None, wait_time=None, answer_count=0,
|
|
|
hangup_dir=None, sdk_hangup=0, hangup_code=None, answer_time=None, end_time=None, talk_time=None,
|
|
|
first_queue_time=None, queue_start_time=None, queue_end_time=None, overflow_count=0,
|
|
|
- uuid1=None, uuid2=None, cdr_notify_url=None, queue_level=None, transfer_agent=None, device_list=[],
|
|
|
+ uuid1=None, uuid2=None, cdr_notify_url=None, queue_level=None, transfer_agent=None, user_no_answer_end_call=False, device_list=[],
|
|
|
device_info_map: Dict[str, Any] = {}, follow_data: Dict[str, Any] = {},
|
|
|
process_data: Dict[str, Any] = {}, next_commands=[], call_details=[]):
|
|
|
self.core_uuid = core_uuid # 通话唯一标识
|
|
@@ -492,6 +492,7 @@ class CallInfo(BaseApi):
|
|
|
self.cdr_notify_url = cdr_notify_url # 话单通知地址
|
|
|
self.queue_level = queue_level # 排队等级,默认是进队列时间
|
|
|
self.transfer_agent = transfer_agent #是否转人工
|
|
|
+ self.user_no_answer_end_call = user_no_answer_end_call #用户未接听挂机
|
|
|
self.device_list = device_list # 当前通话的设备
|
|
|
self.device_info_map = device_info_map
|
|
|
self.follow_data = follow_data # 呼叫随路数据(作为落单数据)
|
|
@@ -525,6 +526,7 @@ class CallInfo(BaseApi):
|
|
|
queue_end_time=data.get('queue_end_time'), overflow_count=data.get('overflow_count'),
|
|
|
uuid1=data.get('uuid1'), uuid2=data.get('uuid2'), cdr_notify_url=data.get('cdr_notify_url'),
|
|
|
queue_level=data.get('queue_level'), transfer_agent=data.get('transfer_agent'),
|
|
|
+ user_no_answer_end_call=data.get('user_no_answer_end_call'),
|
|
|
device_list=data.get('device_list', []),device_info_map=device_info_map,
|
|
|
follow_data=follow_data, process_data=process_data,
|
|
|
next_commands=next_commands, call_details=call_details)
|
|
@@ -578,6 +580,7 @@ class CallInfo(BaseApi):
|
|
|
"cdr_notify_url": self.cdr_notify_url,
|
|
|
"queue_level": self.queue_level,
|
|
|
"transfer_agent": self.transfer_agent,
|
|
|
+ "user_no_answer_end_call": self.user_no_answer_end_call,
|
|
|
"device_list": [x for x in self.device_list],
|
|
|
"device_info_map": {key: vars(value) for key, value in self.device_info_map.items()},
|
|
|
"follow_data": {key: vars(value) for key, value in self.follow_data.items()},
|