mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Tutorial TP - Renamed *Tag into *Id so we do not create confusion with using both naming
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#Tenant,Account,Direction,ActionPlanTag,ActionTriggersTag,AllowNegative,Disabled
|
||||
#Tenant,Account,Direction,ActionPlanId,ActionTriggersId,AllowNegative,Disabled
|
||||
cgrates.org,1001,*out,PACKAGE_1001,STANDARD_TRIGGERS,,
|
||||
cgrates.org,1002,*out,PACKAGE_10,STANDARD_TRIGGERS,,
|
||||
cgrates.org,1003,*out,PACKAGE_10,STANDARD_TRIGGERS,,
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#Tag,ActionsTag,TimingTag,Weight
|
||||
#Id,ActionsId,TimingId,Weight
|
||||
PACKAGE_10,TOPUP_RST_10,*asap,10
|
||||
PACKAGE_10_SHARED_A_5,TOPUP_RST_5,*asap,10
|
||||
PACKAGE_10_SHARED_A_5,TOPUP_RST_SHARED_5,*asap,10
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#Tag[0],UniqueId[1],ThresholdType[2],ThresholdValue[3],Recurrent[4],MinSleep[5],BalanceTag[6],BalanceType[7],BalanceDirection[8],BalanceCategory[9],BalanceDestinationTag[10],BalanceRatingSubject[11],BalanceSharedGroup[12],BalanceExpiryTime[13],BalanceTimingTags[14],BalanceWeight[15],StatsMinQueuedItems[16],ActionsTag[17],Weight[18]
|
||||
#Tag[0],UniqueId[1],ThresholdType[2],ThresholdValue[3],Recurrent[4],MinSleep[5],BalanceTag[6],BalanceType[7],BalanceDirection[8],BalanceCategory[9],BalanceDestinationId[10],BalanceRatingSubject[11],BalanceSharedGroup[12],BalanceExpiryTime[13],BalanceTimingIds[14],BalanceWeight[15],StatsMinQueuedItems[16],ActionsId[17],Weight[18]
|
||||
STANDARD_TRIGGERS,,*min_balance,2,false,0,,*monetary,*out,,,,,,,,,LOG_WARNING,10
|
||||
STANDARD_TRIGGERS,,*max_counter,5,false,0,,*monetary,*out,,FS_USERS,,,,,,,LOG_WARNING,10
|
||||
STANDARD_TRIGGERS,,*max_balance,20,false,0,,*monetary,*out,,,,,,,,,LOG_WARNING,10
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#ActionsTag[0],Action[1],ExtraParameters[2],BalanceTag[3],BalanceType[4],Direction[5],Category[6],DestinationTag[7],RatingSubject[8],SharedGroup[9],ExpiryTime[10],TimingTags[11],Units[12],BalanceWeight[13],BalanceDisabled[14],Weight[15]
|
||||
#ActionsId[0],Action[1],ExtraParameters[2],BalanceId[3],BalanceType[4],Direction[5],Category[6],DestinationId[7],RatingSubject[8],SharedGroup[9],ExpiryTime[10],TimingIds[11],Units[12],BalanceWeight[13],BalanceDisabled[14],Weight[15]
|
||||
TOPUP_RST_10,*topup_reset,,,*monetary,*out,,*any,,,*unlimited,,10,10,false,10
|
||||
TOPUP_RST_5,*topup_reset,,,*monetary,*out,,*any,,,*unlimited,,5,20,false,10
|
||||
TOPUP_RST_5,*topup_reset,,,*voice,*out,,DST_1002,SPECIAL_1002,,*unlimited,,90,20,false,10
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#Id[0],QueueLength[1],TimeWindow[2],SaveInerval[3],Metric[4],SetupInterval[5],TOR[6],CdrHost[7],CdrSource[8],ReqType[9],Direction[10],Tenant[11],Category[12],Account[13],Subject[14],DestinationPrefix[15],PddInterval[16],UsageInterval[17],Supplier[18],DisconnectCause[19],MediationRunIds[20],RatedAccount[21],RatedSubject[22],CostInterval[23],Triggers[24]
|
||||
#Id[0],QueueLength[1],TimeWindow[2],SaveInerval[3],Metric[4],SetupInterval[5],TOR[6],CdrHost[7],CdrSource[8],ReqType[9],Direction[10],Tenant[11],Category[12],Account[13],Subject[14],DestinationIds[15],PddInterval[16],UsageInterval[17],Supplier[18],DisconnectCause[19],RunIds[20],RatedAccount[21],RatedSubject[22],CostInterval[23],Triggers[24]
|
||||
CDRST1,10,0,10s,ASR,,,,,,,cgrates.org,,,,,,,,,*default,,,,CDRST1_WARN
|
||||
CDRST1,,,,ACD,,,,,,,,,,,,,,,,,,,,
|
||||
CDRST1,,,,ACC,,,,,,,,,,,,,,,,,,,,
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#Tag,DestinationsTag,RatesTag,RoundingMethod,RoundingDecimals,MaxCost,MaxCostStrategy
|
||||
#Id,DestinationId,RatesTag,RoundingMethod,RoundingDecimals,MaxCost,MaxCostStrategy
|
||||
DR_1002_20CNT,DST_1002,RT_20CNT,*up,4,0,
|
||||
DR_1002_10CNT,DST_1002,RT_10CNT,*up,4,0,
|
||||
DR_1003_20CNT,DST_1003,RT_40CNT,*up,4,0,
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#Tag,Prefix
|
||||
#Id,Prefix
|
||||
DST_1002,1002
|
||||
DST_1003,1003
|
||||
DST_1007,1007
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#Tag,ConnectFee,Rate,RateUnit,RateIncrement,GroupIntervalStart
|
||||
#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
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#Tag,DestinationRatesTag,TimingTag,Weight
|
||||
#Id,DestinationRatesId,TimingTag,Weight
|
||||
RP_RETAIL1,DR_FS_40CNT,PEAK,10
|
||||
RP_RETAIL1,DR_FS_10CNT,OFFPEAK_MORNING,10
|
||||
RP_RETAIL1,DR_FS_10CNT,OFFPEAK_EVENING,10
|
||||
|
||||
|
Reference in New Issue
Block a user