add: cdr api package

This commit is contained in:
2024-01-19 15:18:26 +08:00
parent eaa857c5d1
commit ea64a6aa3f
3 changed files with 64 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ import (
// "log"
"ems.agt/features/aaaa"
"ems.agt/features/cdr"
"ems.agt/features/cm"
"ems.agt/features/dbrest"
"ems.agt/features/file"
@@ -299,6 +300,9 @@ func init() {
Register("GET", ue.UriNSSFSubscriptions, ue.GetSubscriptionsFromNSSF, nil)
Register("GET", ue.CustomUriNSSFSubscriptions, ue.GetSubscriptionsFromNSSF, nil)
Register("POST", cdr.UriCDREvent, cdr.PostCDREventFromNF, nil)
Register("POST", cdr.CustomUriCDREvent, cdr.PostCDREventFromNF, nil)
// 进程网络
Register("GET", psnet.UriWs, psnet.ProcessWs, nil)
Register("POST", psnet.UriStop, psnet.StopProcess, nil)