dss 2 жил өмнө
parent
commit
bee2a3f4ff

+ 1 - 1
src/CallCenter.Application/Handlers/FlowControl/CdrNotificationHandler.cs

@@ -66,7 +66,7 @@ namespace CallCenter.Application.Handlers
 
                 await _callRecordRepository.AddAsync(model,cancellationToken);
 
-                var ishave = await _callDetailRepository.AnyAsync(x => x.EventName == "ALERT" && x.OMCallId == notification.CallId && x.FromNo == notification.CDPN && x.ToNo == notification.CDPN);
+                var ishave = await _callDetailRepository.AnyAsync(x => x.EventName == "ALERT" && x.OMCallId == notification.CallId && x.FromNo == notification.CPN && x.ToNo == notification.CDPN);
 
                 if (ishave)
                 {