feat: SMF的CDR数据WS推送

This commit is contained in:
TsMask
2024-06-07 19:46:26 +08:00
parent e6ae018f44
commit b0a21dc61f
3 changed files with 9 additions and 9 deletions

View File

@@ -279,11 +279,7 @@ func PostCDREventFromSMF(w http.ResponseWriter, r *http.Request) {
}
// 推送到ws订阅组
// if v, ok := cdrEvent.CDR["recordType"]; ok {
// if v == "MOC" || v == "MTSM" {
// wsService.NewWSSendImpl.ByGroupID(wsService.GROUP_IMS_CDR, cdrEvent)
// }
// }
wsService.NewWSSendImpl.ByGroupID(wsService.GROUP_SMF_CDR, cdrEvent)
services.ResponseStatusOK204NoContent(w)
}