feat: SMF的CDR数据WS推送

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

No files matched your search

+1 -5
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)
}