Dun.Jason 1 year ago
parent
commit
01753b3772
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/Hotline.Api/Controllers/IPPbxController.cs

+ 2 - 0
src/Hotline.Api/Controllers/IPPbxController.cs

@@ -507,6 +507,8 @@ namespace Hotline.Api.Controllers
                     throw UserFriendlyException.SameMessage("通话记录已经关联工单");
 
                 order.CallId = dto.CallId;
+                order.FromPhone = trRecord.CPN;
+                order.TransferPhone = trRecord.Gateway;
                 await _orderRepository.UpdateAsync(order, HttpContext.RequestAborted);
                 trRecord.CallOrderType = ECallOrderType.Order;
                 trRecord.ExternalId = order.Id;