mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 16:48:45 +05:00
New folder (tutorial2) for call test
This commit is contained in:
committed by
Dan Christian Bogos
parent
4a7a00e967
commit
aa0da215ae
3
data/tariffplans/tutorial2/AccountActions.csv
Normal file
3
data/tariffplans/tutorial2/AccountActions.csv
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tenant,Account,ActionPlanId,ActionTriggersId,AllowNegative,Disabled
|
||||
cgrates.org,1001,PACKAGE_10,,,
|
||||
cgrates.org,1002,PACKAGE_10,,,
|
||||
|
2
data/tariffplans/tutorial2/ActionPlans.csv
Normal file
2
data/tariffplans/tutorial2/ActionPlans.csv
Normal file
@@ -0,0 +1,2 @@
|
||||
#Id,ActionsId,TimingId,Weight
|
||||
PACKAGE_10,TOPUP_RST_10,*asap,10
|
||||
|
3
data/tariffplans/tutorial2/Actions.csv
Normal file
3
data/tariffplans/tutorial2/Actions.csv
Normal file
@@ -0,0 +1,3 @@
|
||||
#ActionsId[0],Action[1],ExtraParameters[2],Filter[3],BalanceId[4],BalanceType[5],Directions[6],Categories[7],DestinationIds[8],RatingSubject[9],SharedGroup[10],ExpiryTime[11],TimingIds[12],Units[13],BalanceWeight[14],BalanceBlocker[15],BalanceDisabled[16],Weight[17]
|
||||
TOPUP_RST_10,*topup_reset,,,,*monetary,*out,,*any,,,*unlimited,,10,10,false,false,10
|
||||
LOG_WARNING,*log,,,,,,,,,,,,,,false,false,10
|
||||
|
3
data/tariffplans/tutorial2/Attributes.csv
Normal file
3
data/tariffplans/tutorial2/Attributes.csv
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tenant,ID,Contexts,FilterIDs,ActivationInterval,FieldName,Initial,Substitute,Append,Weight
|
||||
cgrates.org,ATTR_1,*sessions;*cdrs,*string:Account:1007,2014-01-14T00:00:00Z,Account,*any,1001,false,10
|
||||
cgrates.org,ATTR_1,,,,Subject,*any,1001,true,
|
||||
|
5
data/tariffplans/tutorial2/DestinationRates.csv
Normal file
5
data/tariffplans/tutorial2/DestinationRates.csv
Normal file
@@ -0,0 +1,5 @@
|
||||
#Id,DestinationId,RatesTag,RoundingMethod,RoundingDecimals,MaxCost,MaxCostStrategy
|
||||
DR_1001_10CNT,DST_1001,RT_10CNT,*up,4,0,
|
||||
DR_1002_20CNT,DST_1002,RT_20CNT,*up,4,0,
|
||||
DR_1003_MAXCOST_DISC,DST_1003,RT_1CNT_PER_SEC,*up,4,0.12,*disconnect
|
||||
|
||||
|
5
data/tariffplans/tutorial2/Destinations.csv
Normal file
5
data/tariffplans/tutorial2/Destinations.csv
Normal file
@@ -0,0 +1,5 @@
|
||||
#Id,Prefix
|
||||
DST_1002,1002
|
||||
DST_1001,1001
|
||||
DST_FS,10
|
||||
DST_1003,1003
|
||||
|
11
data/tariffplans/tutorial2/Filters.csv
Normal file
11
data/tariffplans/tutorial2/Filters.csv
Normal file
@@ -0,0 +1,11 @@
|
||||
#Tenant[0],ID[1],FilterType[2],FilterFieldName[3],FilterFieldValues[4],ActivationInterval[5]
|
||||
cgrates.org,FLTR_1,*string,Account,1001;1002,2014-07-29T15:00:00Z
|
||||
cgrates.org,FLTR_1,*prefix,Destination,10;20,
|
||||
cgrates.org,FLTR_1,*rsr,,Subject(~^1.*1$);Destination(1002),
|
||||
cgrates.org,FLTR_DST_FS,*destinations,Destination,DST_FS,2014-07-29T15:00:00Z
|
||||
cgrates.org,FLTR_RES_GR3,*string,Account,1003,2014-07-29T15:00:00Z
|
||||
cgrates.org,FLTR_ACNT_1001_1002,*string,Account,1001;1002,2014-07-29T15:00:00Z
|
||||
cgrates.org,FLTR_ACNT_1001_1002,*string,RunID,*default,
|
||||
cgrates.org,FLTR_ACNT_1001,*string,Account,1001,2014-07-29T15:00:00Z
|
||||
cgrates.org,FLTR_ACNT_1002,*string,Account,1002,2014-07-29T15:00:00Z
|
||||
|
||||
|
9
data/tariffplans/tutorial2/Rates.csv
Normal file
9
data/tariffplans/tutorial2/Rates.csv
Normal file
@@ -0,0 +1,9 @@
|
||||
#Id,ConnectFee,Rate,RateUnit,RateIncrement,GroupIntervalStart
|
||||
RT_10CNT,0.2,0.1,60s,60s,0s
|
||||
RT_10CNT,0,0.05,60s,1s,60s
|
||||
RT_20CNT,0.4,0.2,60s,60s,0s
|
||||
RT_20CNT,0,0.1,60s,1s,60s
|
||||
RT_40CNT,0.8,0.4,60s,30s,0s
|
||||
RT_40CNT,0,0.2,60s,10s,60s
|
||||
RT_1CNT,0,0.01,60s,60s,0s
|
||||
RT_1CNT_PER_SEC,0,0.01,1s,1s,0s
|
||||
|
4
data/tariffplans/tutorial2/RatingPlans.csv
Normal file
4
data/tariffplans/tutorial2/RatingPlans.csv
Normal file
@@ -0,0 +1,4 @@
|
||||
#Id,DestinationRatesId,TimingTag,Weight
|
||||
RP_1001,DR_1002_20CNT,ALWAYS,10
|
||||
RP_1001,DR_1003_MAXCOST_DISC,ALWAYS,10
|
||||
RP_1002,DR_1001_10CNT,ALWAYS,10
|
||||
|
3
data/tariffplans/tutorial2/RatingProfiles.csv
Normal file
3
data/tariffplans/tutorial2/RatingProfiles.csv
Normal file
@@ -0,0 +1,3 @@
|
||||
#Direction,Tenant,Category,Subject,ActivationTime,RatingPlanId,RatesFallbackSubject,CdrStatQueueIds
|
||||
*out,cgrates.org,call,1001,2014-01-14T00:00:00Z,RP_1001,,
|
||||
*out,cgrates.org,call,1002,2014-01-14T00:00:00Z,RP_1002,,
|
||||
|
3
data/tariffplans/tutorial2/Resources.csv
Normal file
3
data/tariffplans/tutorial2/Resources.csv
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tenant[0],Id[1],FilterIDs[2],ActivationInterval[3],TTL[4],Limit[5],AllocationMessage[6],Blocker[7],Stored[8],Weight[9],ThresholdIDs[10]
|
||||
cgrates.org,ResGroup1,FLTR_1,2014-07-29T15:00:00Z,1s,7,,false,false,20,
|
||||
cgrates.org,ResGroup2,FLTR_DST_FS,2014-07-29T15:00:00Z,3600s,8,SPECIAL_1003,false,true,10,
|
||||
|
2
data/tariffplans/tutorial2/Stats.csv
Normal file
2
data/tariffplans/tutorial2/Stats.csv
Normal file
@@ -0,0 +1,2 @@
|
||||
#Tenant[0],Id[1],FilterIDs[2],ActivationInterval[3],QueueLength[4],TTL[5],Metrics[6],MetricParams[7],Blocker[8],Stored[9],Weight[10],MinItems[11],ThresholdIDs[12]
|
||||
cgrates.org,Stats2,FLTR_ACNT_1001_1002,2014-07-29T15:00:00Z,100,1s,*tcc;*tcd,,false,true,30,0,
|
||||
|
5
data/tariffplans/tutorial2/Suppliers.csv
Normal file
5
data/tariffplans/tutorial2/Suppliers.csv
Normal file
@@ -0,0 +1,5 @@
|
||||
#Tenant,ID,FilterIDs,ActivationInterval,Sorting,SortingParamameters,SupplierID,SupplierFilterIDs,SupplierAccountIDs,SupplierRatingPlanIDs,SupplierResourceIDs,SupplierStatIDs,SupplierWeight,SupplierBlocker,SupplierParameters,Weight
|
||||
cgrates.org,SPL_LEASTCOST_2,,2017-11-27T00:00:00Z,*weight,,supplier1,,,RP_1001,,,10,,,10
|
||||
cgrates.org,SPL_LEASTCOST_1,FLTR_1,2017-11-27T00:00:00Z,*least_cost,,supplier1,,,RP_1002,,,10,false,,10
|
||||
cgrates.org,SPL_LEASTCOST_1,,,,,supplier2,,,RP_1001,,,20,,,
|
||||
cgrates.org,SPL_LEASTCOST_1,,,,,supplier3,,,RP_1002,,,15,,,
|
||||
|
4
data/tariffplans/tutorial2/Thresholds.csv
Normal file
4
data/tariffplans/tutorial2/Thresholds.csv
Normal file
@@ -0,0 +1,4 @@
|
||||
#Tenant[0],Id[1],FilterIDs[2],ActivationInterval[3],Recurrent[4],MinHits[5],MinSleep[6],Blocker[7],Weight[8],ActionIDs[9],Async[10]
|
||||
cgrates.org,THD_ACNT_1001,FLTR_ACNT_1001,2014-07-29T15:00:00Z,false,1,1s,false,10,LOG_WARNING,false
|
||||
cgrates.org,THD_ACNT_1002,FLTR_ACNT_1002,2014-07-29T15:00:00Z,true,1,1s,false,10,LOG_WARNING,false
|
||||
|
||||
|
2
data/tariffplans/tutorial2/Timings.csv
Normal file
2
data/tariffplans/tutorial2/Timings.csv
Normal file
@@ -0,0 +1,2 @@
|
||||
#Tag,Years,Months,MonthDays,WeekDays,Time
|
||||
ALWAYS,*any,*any,*any,*any,00:00:00
|
||||
|
Reference in New Issue
Block a user