Add usage opt in config for routes subsystem

This commit is contained in:
ionutboangiu
2021-10-06 16:24:49 +03:00
committed by Dan Christian Bogos
parent e104c2d297
commit f8063c99d2
8 changed files with 71 additions and 8 deletions

View File

@@ -2137,7 +2137,7 @@ var CGROptionsSet = NewStringSet([]string{OptsRatesRateProfileIDs, OptsRatesStar
OptsStirPublicKeyPath, OptsStirPrivateKeyPath, OptsAPIKey, OptsRouteID, OptsContext, OptsAttributesAttributeIDs,
OptsAttributesProcessRuns, OptsAttributesProfileRuns, OptsRoutesLimit, OptsRoutesOffset, OptsSesChargeable,
RemoteHostOpt, CacheOpt, OptsThresholdsThresholdIDs, OptsRoutesProfileCount, OptsDispatchersProfilesCount,
OptsAttributeS, OptsSesAttributeSDerivedReply, OptsSesBlockerError,
OptsAttributeS, OptsSesAttributeSDerivedReply, OptsSesBlockerError, OptsRoutesUsage,
OptsCDRs, OptsSesCDRsDerivedReply, OptsChargerS, OptsResourceS, OptsSesResourceSAuthorize,
OptsSesResourceSAlocate, OptsSesResourceSRelease, OptsSesResourceSDerivedReply, OptsRouteS,
OptsSesRouteSDerivedReply, OptsSesRouteSIgnoreErrors, OptsSesRouteSMaxCost, OptsStatS,
@@ -2238,6 +2238,7 @@ const (
OptsRoutesOffset = "*rouOffset"
OptsRoutesIgnoreErrors = "*rouIgnoreErrors"
OptsRoutesMaxCost = "*rouMaxCost"
OptsRoutesUsage = "*rouUsage"
// Stats
OptsStatsStatIDs = "*statIDs"