|
@@ -31,7 +31,7 @@ namespace CallCenter.Application.Handlers
|
|
|
{
|
|
|
model.CallStatus = ECallStatus.Answered;
|
|
|
model.ToNo = notification.TelNo;
|
|
|
- model.OutSeaTime = DateTime.Now;
|
|
|
+ model.ConnSeaTime = DateTime.Now;
|
|
|
await _callRepository.UpdateAsync(model, cancellationToken);
|
|
|
var detail = new CallDetail()
|
|
|
{
|
|
@@ -50,7 +50,7 @@ namespace CallCenter.Application.Handlers
|
|
|
var workModel = _userCacheManager.GetWorkByTel(notification.TelNo);
|
|
|
if (workModel != null)
|
|
|
{
|
|
|
- await _realtimeService.AnsweredAsync(workModel.UserId, new AnseredDto() { From = notification.Visitor.From, Id = model.Id, To = notification.TelNo }, cancellationToken);
|
|
|
+ await _realtimeService.AnsweredAsync(workModel.UserId, new AnseredDto() { ConversationId= notification.Visitor.Id , From = notification.Visitor.From, Id = model.Id, To = notification.TelNo }, cancellationToken);
|
|
|
}
|
|
|
}
|
|
|
}
|