Skip to content

Instantly share code, notes, and snippets.

@eloycoto
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eloycoto/9867c7b3aecc6dc6ca65 to your computer and use it in GitHub Desktop.
Save eloycoto/9867c7b3aecc6dc6ca65 to your computer and use it in GitHub Desktop.
#Tenant Account Direction ActionPlanTag ActionTriggersTag
acalustra eloy *out PACKAGE_10 STANDARD_TRIGGERS
#Tag ActionsTag TimingTag Weight
PACKAGE_10 TOPUP_RST_10 ALWAYS 10
#ActionsTag Action BalanceType Direction Units ExpiryTime DestinationTag RatingSubject BalanceWeight SharedGroup ExtraParameters Weight
TOPUP_RST_10 *topup_reset *monetary *out 10 *unlimited *any 10 10
#Tag BalanceTag Direction ThresholdType ThresholdValue Recurrent MinSleep BalanceDestinationTag BalanceWeight BalanceExpiryTime BalanceRatingSubject BalanceSharedGroup StatsMinQueuedItems ActionsTag Weight
STANDARD_TRIGGERS *monetary *out *min_balance 2 false 0 LOG_WARNING 10
STANDARD_TRIGGERS *monetary *out *max_counter 5 false 0 FS_USERS LOG_WARNING 10
STANDARD_TRIGGERS *monetary *out *max_balance 20 false 0 LOG_WARNING 10
STANDARD_TRIGGERS *monetary *out *max_balance 100 false 0 DISABLE_AND_LOG 10
CDRST1_WARN *min_asr 45 true 1m 3 LOG_WARNING 10
CDRST1_WARN *min_acd 10 true 1m 5 LOG_WARNING 10
CDRST1_WARN *max_acc 10 true 1m 5 LOG_WARNING 10
CDRST1001_WARN *min_asr 65 true 1m 3 LOG_WARNING 10
CDRST1001_WARN *min_acd 10 true 1m 5 LOG_WARNING 10
CDRST1001_WARN *max_acc 5 true 1m 5 LOG_WARNING 10
CDRST3_WARN *min_acd 60 false 1m 5 LOG_WARNING 10
#Id QueueLength TimeWindow Metric SetupInterval TOR CdrHost CdrSource ReqType Direction Tenant Category Account Subject DestinationPrefix UsageInterval MediationRunIds RatedAccount RatedSubject CostInterval Triggers
172.20.10.156 ➜ tf_testA ~/cgrates/bin/cgr-loader --verbose=True --flushdb=True
2014/12/18 08:54:41 ActionPlan: Could not load the action for tag: TOPUP_RST_10
#Direction Tenant Category Account Subject RunId RunFilter ReqTypeField DirectionField TenantField TorField AccountField SubjectField DestinationField SetupTimeField AnswerTimeField UsageField
#Tag DestinationsTag RatesTag RoundingMethod RoundingDecimals
DR_ESP_MOBILE DST_ESP_MOBILE RT_ESP_10 *up 4
DR_ESP_NATIONAL DST_ESP_NATIONAL RT_ESP_10 *up 4
#Tag Prefix
DST_ESP_MOBILE 00346
DST_ESP_NATIONAL 00349
#Tag ConnectFee Rate RateUnit RateIncrement GroupIntervalStart
RT_ESP_10 0.2 0.1 60s 60s 0s
#Tag DestinationRatesTag TimingTag Weight
RP_PREMIUM_CUSTOMER DR_ESP_MOBILE ALWAYS 10
RP_PREMIUM_CUSTOMER DR_ESP_NATIONAL ALWAYS 10
#Direction Tenant Category Subject ActivationTime RatingPlanId RatesFallbackSubject
*out acalustra call *any 2014-01-14T00:00:00Z RP_PREMIUM_CUSTOMER
#Id Account Strategy RatingSubject
SHARED_A *any *highest
#Tag Years Months MonthDays WeekDays Time
ALWAYS *any *any *any *any 00:00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment