Updated tests for dispatchers and registrarc

This commit is contained in:
Trial97
2021-12-22 16:56:13 +02:00
committed by Dan Christian Bogos
parent b9a97ba9d2
commit 5953eec22a
25 changed files with 158 additions and 183 deletions

View File

@@ -1,10 +1,3 @@
#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
RT_GENERIC_1,0,1,1,1,0
#Tenant,ID,FilterIDs,Weights,MinCost,MaxCost,MaxCostStrategy,RateID,RateFilterIDs,RateActivationStart,RateWeights,RateBlocker,RateIntervalStart,RateFixedFee,RateRecurrentFee,RateUnit,RateIncrement
cgrates.org,RP_SPECIAL_1002,,;0,0.1,0.6,*free,RT_WEEK,,"* * * * *",;0,false,0s,,0.12,1m,1m
cgrates.org,RP_RETAIL1,,;0,0.1,0.6,*free,RT_WEEK,,"* * * * *",;0,false,0s,,0.12,1m,1m
1 #Id #Tenant ConnectFee ID Rate FilterIDs Weights MinCost GroupIntervalStart MaxCost MaxCostStrategy RateID RateFilterIDs RateActivationStart RateWeights RateBlocker RateIntervalStart RateFixedFee RateRecurrentFee RateUnit RateIncrement
2 RT_10CNT cgrates.org 0.2 RP_SPECIAL_1002 0.1 ;0 0.1 0s 0.6 *free RT_WEEK * * * * * ;0 false 0s 0.12 60s 1m 60s 1m
3 RT_10CNT cgrates.org 0 RP_RETAIL1 0.05 ;0 0.1 60s 0.6 *free RT_WEEK * * * * * ;0 false 0s 0.12 60s 1m 1s 1m
RT_20CNT 0.4 0.2 0s 60s 60s
RT_20CNT 0 0.1 60s 60s 1s
RT_40CNT 0.8 0.4 0s 60s 30s
RT_40CNT 0 0.2 60s 60s 10s
RT_1CNT 0 0.01 0s 60s 60s
RT_1CNT_PER_SEC 0 0.01 0s 1s 1s
RT_GENERIC_1 0 1 0 1 1

View File

@@ -0,0 +1,10 @@
#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
RT_GENERIC_1,0,1,1,1,0