mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 23:28:44 +05:00
Added *apiban filter
This commit is contained in:
committed by
Dan Christian Bogos
parent
8bb549a024
commit
0bc0b58a69
@@ -53,7 +53,7 @@ var (
|
||||
CacheDispatcherRoutes, CacheDispatcherLoads, CacheDiameterMessages, CacheRPCResponses,
|
||||
CacheClosedSessions, CacheCDRIDs, CacheLoadIDs, CacheRPCConnections, CacheRatingProfilesTmp,
|
||||
CacheUCH, CacheSTIR, CacheEventCharges, CacheRateProfiles, CacheRateProfilesFilterIndexes,
|
||||
CacheRateFilterIndexes, CacheReverseFilterIndexes,
|
||||
CacheRateFilterIndexes, CacheReverseFilterIndexes, MetaAPIBan,
|
||||
// only internalDB
|
||||
CacheVersions, CacheAccounts,
|
||||
CacheTBLTPTimings, CacheTBLTPDestinations, CacheTBLTPRates, CacheTBLTPDestinationRates,
|
||||
@@ -98,6 +98,7 @@ var (
|
||||
CacheAccounts: ACCOUNT_PREFIX,
|
||||
CacheRateFilterIndexes: RateFilterIndexPrfx,
|
||||
CacheReverseFilterIndexes: FilterIndexPrfx,
|
||||
MetaAPIBan: MetaAPIBan, // special case as it is not in a DB
|
||||
}
|
||||
CachePrefixToInstance map[string]string // will be built on init
|
||||
CacheIndexesToPrefix = map[string]string{ // used by match index to get all the ids when index selects is disabled and for compute indexes
|
||||
@@ -261,6 +262,7 @@ const (
|
||||
ROUNDING_DOWN = "*down"
|
||||
ANY = "*any"
|
||||
MetaAll = "*all"
|
||||
MetaSingle = "*single"
|
||||
ZERO = "*zero"
|
||||
ASAP = "*asap"
|
||||
COMMENT_CHAR = '#'
|
||||
@@ -1085,6 +1087,7 @@ const (
|
||||
MetaResources = "*resources"
|
||||
MetaEqual = "*eq"
|
||||
MetaIPNet = "*ipnet"
|
||||
MetaAPIBan = "*apiban"
|
||||
|
||||
MetaNotString = "*notstring"
|
||||
MetaNotPrefix = "*notprefix"
|
||||
@@ -1098,6 +1101,7 @@ const (
|
||||
MetaNotResources = "*notresources"
|
||||
MetaNotEqual = "*noteq"
|
||||
MetaNotIPNet = "*notipnet"
|
||||
MetaNotAPIBan = "*notapiban"
|
||||
|
||||
MetaEC = "*ec"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user