|
|
@ -38,7 +38,7 @@ namespace CoreAgent.ProtocolClient.ProtocolEngineCore |
|
|
|
var result = new List<TransferProtocolLog>(); |
|
|
|
var tmsiMatches =new List<TmsiMatchResult>(); |
|
|
|
var srTmsiMappings = new List<SrTmsiMapping>(); |
|
|
|
if (_config.Name == "RAN") |
|
|
|
if (_config.Model == "RAN") |
|
|
|
{ |
|
|
|
tmsiMatches = _context.UeIdentifier.GenerateTmsiMatches(); |
|
|
|
srTmsiMappings = _context.UeIdentifier.GenerateSrTmsiMappings(tmsiMatches); |
|
|
@ -166,7 +166,7 @@ namespace CoreAgent.ProtocolClient.ProtocolEngineCore |
|
|
|
MessageDetailJson = JsonConvert.SerializeObject(log.Data) |
|
|
|
}; |
|
|
|
detail.Timestamp = TimeStampHelper.ConvertToFullTimestamp(log.Timestamp); |
|
|
|
if (_config.Name == "RAN") |
|
|
|
if (_config.Model == "RAN") |
|
|
|
{ |
|
|
|
// 获取IMSI信息
|
|
|
|
detail.IMSI = GetImsiFromUeList(log.UeId, tmsiMatches, srTmsiMappings); |
|
|
@ -174,7 +174,7 @@ namespace CoreAgent.ProtocolClient.ProtocolEngineCore |
|
|
|
// 获取PLMN信息
|
|
|
|
detail.PLMN = GetPlmnFromPlmnToUeIdMapping(log.UeId, srTmsiMappings); |
|
|
|
} |
|
|
|
if (_config.Name == "IMS") |
|
|
|
if (_config.Model == "IMS") |
|
|
|
{ |
|
|
|
detail.IMSI = log.SIP.IMSI; |
|
|
|
detail.PLMN = log.SIP.Plmn; |
|
|
|