|
|
@ -75,7 +75,8 @@ namespace CoreAgent.ProtocolClient.BuildProtocolParser |
|
|
|
// 设置PLMN - 修复逻辑错误
|
|
|
|
if (!string.IsNullOrEmpty(mccValue) && !string.IsNullOrEmpty(mncValue)) |
|
|
|
{ |
|
|
|
log.SIP.Plmn = $"{mccValue}{mncValue}"; |
|
|
|
string mnc = (int.Parse(mncValue) < 100) ? int.Parse(mncValue).ToString("D2") : mncValue; |
|
|
|
log.SIP.Plmn = $"{mccValue}{mnc}"; |
|
|
|
} |
|
|
|
|
|
|
|
// 设置IMSI - 使用正确的属性
|
|
|
|