feat: CDR接收SGWC并推送

This commit is contained in:
TsMask
2024-12-19 11:07:27 +08:00
parent 885104dc75
commit 1621ec8511
2 changed files with 4 additions and 0 deletions

View File

@@ -68,6 +68,8 @@ func PostCDREventFrom(w http.ResponseWriter, r *http.Request) {
wsService.NewWSSend.ByGroupID(wsService.GROUP_SMF_CDR+neInfo.NeId, cdrEvent)
case "SMSC":
wsService.NewWSSend.ByGroupID(wsService.GROUP_SMSC_CDR+neInfo.NeId, cdrEvent)
case "SGWC":
wsService.NewWSSend.ByGroupID(wsService.GROUP_SGWC_CDR+neInfo.NeId, cdrEvent)
}
}

View File

@@ -28,6 +28,8 @@ const (
GROUP_SMF_CDR = "1006_"
// 组号-SMSC_CDR会话事件 1007_neId
GROUP_SMSC_CDR = "1007_"
// 组号-SGWC_CDR会话事件 1008_neId
GROUP_SGWC_CDR = "1008_"
// 组号-AMF_UE会话事件
GROUP_AMF_UE = "1010"
// 组号-MME_UE会话事件 1011_neId