From 1a45d49917f510ddc9812e21cfb9d628dfefd63f Mon Sep 17 00:00:00 2001 From: DanB Date: Thu, 14 Jul 2016 21:13:04 +0200 Subject: [PATCH] RequestFilter.passCDRStats --- engine/reqfilter.go | 2 -- engine/reqfilter_test.go | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/reqfilter.go b/engine/reqfilter.go index 7a0173b61..1d52e56f5 100644 --- a/engine/reqfilter.go +++ b/engine/reqfilter.go @@ -165,7 +165,6 @@ func (fltr *RequestFilter) passRSRFields(req interface{}, extraFieldsLabel strin return false, nil } -/* func (fltr *RequestFilter) passCDRStats(req interface{}, extraFieldsLabel string) (bool, error) { for _, threshold := range fltr.cdrStatSThresholds { statValues := make(map[string]float64) @@ -183,4 +182,3 @@ func (fltr *RequestFilter) passCDRStats(req interface{}, extraFieldsLabel string } return false, nil } -*/ diff --git a/engine/reqfilter_test.go b/engine/reqfilter_test.go index 04a01662f..20b09341e 100644 --- a/engine/reqfilter_test.go +++ b/engine/reqfilter_test.go @@ -124,6 +124,7 @@ func TestPassDestinations(t *testing.T) { } } +/* func TestPassCDRStats(t *testing.T) { cd := &CallDescriptor{Direction: "*out", Category: "call", Tenant: "cgrates.org", Subject: "dan", Destination: "+4986517174963", TimeStart: time.Date(2013, time.October, 7, 14, 50, 0, 0, time.UTC), TimeEnd: time.Date(2013, time.October, 7, 14, 52, 12, 0, time.UTC), @@ -153,3 +154,4 @@ func TestPassCDRStats(t *testing.T) { t.Error("Not passing") } } +*/