mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Merge branch 'master' of https://github.com/cgrates/cgrates
This commit is contained in:
@@ -95,7 +95,7 @@ func (sq *StatsQueue) AppendCDR(cdr *utils.StoredCdr) {
|
||||
}
|
||||
}
|
||||
if strings.HasPrefix(at.ThresholdType, "*max_") {
|
||||
if value, ok := stats[METRIC_TRIGGER_MAP[at.ThresholdType]] {
|
||||
if value, ok := stats[METRIC_TRIGGER_MAP[at.ThresholdType]]; ok {
|
||||
if value >= at.ThresholdValue {
|
||||
at.Execute(nil, sq)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user