Updated ErS

This commit is contained in:
Trial97
2019-10-04 11:02:41 +03:00
committed by Dan Christian Bogos
parent 82771490a2
commit cc00a80f51
4 changed files with 47 additions and 29 deletions

View File

@@ -707,9 +707,10 @@ func main() {
attrS.GetIntenternalChan(), cdrS.GetIntenternalChan(), internalDispatcherSChan, exitChan)
srvManager.AddServices(attrS, chrS, tS, stS, reS, supS, schS, rals,
rals.GetResponder(), rals.GetAPIv1(), rals.GetAPIv2(), cdrS, smg)
rals.GetResponder(), rals.GetAPIv1(), rals.GetAPIv2(), cdrS, smg,
services.NewEventReaderService(cfg, filterSChan, smg.GetIntenternalChan(), internalDispatcherSChan, exitChan),
)
/*
services.NewEventReaderService(),
services.NewDNSAgent(),
services.NewFreeswitchAgent(),
services.NewKamailioAgent(),
@@ -719,9 +720,6 @@ func main() {
services.NewHTTPAgent(), // no reload
*/
/*
internalSMGChan := smg.GetIntenternalChan()
*/
srvManager.StartServices()
// Start FilterS