Refactoring filters

This commit is contained in:
TeoV
2017-10-12 11:09:02 +03:00
committed by Dan Christian Bogos
parent 68ca42c4c0
commit 12262fb11f
12 changed files with 158 additions and 125 deletions

View File

@@ -1,4 +1,4 @@
#Tenant[0],ID[1],FilterType[2],FilterFieldName[3],FilterFieldValues[4],ActivationInterval[5]
#Tenant[0],ID[1],FilterType[2],FilterFieldName[3],FilterFieldValues[4]
cgrates.org,FLTR_1,*string,Account,1001;1002
cgrates.org,FLTR_1,*string_prefix,Destination,10;20
cgrates.org,FLTR_1,*rsr_fields,,Subject(~^1.*1$);Destination(1002)
1 #Tenant[0],ID[1],FilterType[2],FilterFieldName[3],FilterFieldValues[4],ActivationInterval[5] #Tenant[0] ID[1] FilterType[2] FilterFieldName[3] FilterFieldValues[4]
2 cgrates.org,FLTR_1,*string,Account,1001;1002 cgrates.org FLTR_1 *string Account 1001;1002
3 cgrates.org,FLTR_1,*string_prefix,Destination,10;20 cgrates.org FLTR_1 *string_prefix Destination 10;20
4 cgrates.org,FLTR_1,*rsr_fields,,Subject(~^1.*1$);Destination(1002) cgrates.org FLTR_1 *rsr_fields Subject(~^1.*1$);Destination(1002)