diff --git a/engine/account.go b/engine/account.go index 4ed40469e..055c4ee25 100644 --- a/engine/account.go +++ b/engine/account.go @@ -37,7 +37,7 @@ const ( CREDIT = "*monetary" SMS = "*sms" DATA = "*data" - MINUTES = "*minutes" + MINUTES = "*call" // action trigger threshold types TRIGGER_MIN_COUNTER = "*min_counter" TRIGGER_MAX_COUNTER = "*max_counter" diff --git a/engine/loader_csv_test.go b/engine/loader_csv_test.go index 0ffbd09a9..3b9ed2082 100644 --- a/engine/loader_csv_test.go +++ b/engine/loader_csv_test.go @@ -134,10 +134,10 @@ SG3,*any,*lowest, actions = ` MINI,*topup_reset,*monetary,*out,10,*unlimited,,,10,,,10 -MINI,*topup,*minutes,*out,100,*unlimited,NAT,test,10,,,10 +MINI,*topup,*call,*out,100,*unlimited,NAT,test,10,,,10 SHARED,*topup,*monetary,*out,100,*unlimited,,,10,SG1,,10 TOPUP10_AC,*topup_reset,*monetary,*out,1,*unlimited,*any,,10,,,10 -TOPUP10_AC1,*topup_reset,*minutes,*out,40,*unlimited,DST_UK_Mobile_BIG5,discounted_minutes,10,,,10 +TOPUP10_AC1,*topup_reset,*call,*out,40,*unlimited,DST_UK_Mobile_BIG5,discounted_minutes,10,,,10 SE0,*topup_reset,*monetary,*out,0,*unlimited,,,10,SG2,,10 SE10,*topup_reset,*monetary,*out,10,*unlimited,,,5,SG2,,10 SE10,*topup,*monetary,*out,10,*unlimited,,,10,,,10 @@ -154,8 +154,8 @@ TOPUP_SHARED10_AT,SE10,ASAP,10 TOPUP_EMPTY_AT,EE0,ASAP,10 ` actionTriggers = ` -STANDARD_TRIGGER,*minutes,*out,*min_counter,10,GERMANY_O2,SOME_1,10 -STANDARD_TRIGGER,*minutes,*out,*max_balance,200,GERMANY,SOME_2,10 +STANDARD_TRIGGER,*call,*out,*min_counter,10,GERMANY_O2,SOME_1,10 +STANDARD_TRIGGER,*call,*out,*max_balance,200,GERMANY,SOME_2,10 STANDARD_TRIGGERS,*monetary,*out,*min_balance,2,,LOG_WARNING,10 STANDARD_TRIGGERS,*monetary,*out,*max_balance,20,,LOG_WARNING,10 STANDARD_TRIGGERS,*monetary,*out,*max_counter,5,FS_USERS,LOG_WARNING,10