mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 18:46:24 +05:00
RequestFilter.passCDRStats
This commit is contained in:
@@ -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
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user