|
@@ -524,12 +524,12 @@ class OutboundClient:
|
|
|
elif caller_number in whitelist:
|
|
|
# 检查白名单
|
|
|
self.build_call_info(call_id, device_id, new_device_id, destination=None, **kwargs)
|
|
|
- self.server.agent.acd_service.transfer_to_agent(call_id, device_id)
|
|
|
+ self.server.agent.acd_service.transfer_to_agent(call_id, new_device_id)
|
|
|
self.server.dataHandleServer.create_record(call_id, caller_number, 0, service_category=None, destination=None)
|
|
|
else:
|
|
|
# 传统服务
|
|
|
self.build_call_info(call_id, device_id, new_device_id, destination=None, **kwargs)
|
|
|
- self.server.agent.acd_service.transfer_to_agent(call_id, device_id)
|
|
|
+ self.server.agent.acd_service.transfer_to_agent(call_id, new_device_id)
|
|
|
self.server.dataHandleServer.create_record(call_id, caller_number, 2, service_category=None, destination=None)
|
|
|
|
|
|
# # 检查白名单
|