mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 16:18:44 +05:00
@@ -32,7 +32,7 @@ import (
|
||||
type ActionTrigger struct {
|
||||
Id string // for visual identification
|
||||
ThresholdType string //*min_counter, *max_counter, *min_balance, *max_balance
|
||||
// stats: *min_asr, *max_asr, *min_acd, *max_acd, *min_tcd, *max_tcd, *min_acc, *max_acc, *min_tcc, *max_tcc
|
||||
// stats: *min_asr, *max_asr, *min_acd, *max_acd, *min_tcd, *max_tcd, *min_acc, *max_acc, *min_tcc, *max_tcc, *min_ddc, *max_ddc
|
||||
ThresholdValue float64
|
||||
Recurrent bool // reset eexcuted flag each run
|
||||
MinSleep time.Duration // Minimum duration between two executions in case of recurrent triggers
|
||||
|
||||
@@ -48,6 +48,8 @@ var METRIC_TRIGGER_MAP = map[string]string{
|
||||
"*max_acc": ACC,
|
||||
"*min_tcc": TCC,
|
||||
"*max_tcc": TCC,
|
||||
"*min_ddc": DDC,
|
||||
"*max_ddc": DDC,
|
||||
}
|
||||
|
||||
// Simplified cdr structure containing only the necessary info
|
||||
|
||||
Reference in New Issue
Block a user