diff --git a/data/tariffplans/oldaccvsnew/ActionPlans.csv b/data/tariffplans/oldaccvsnew/ActionPlans.csv deleted file mode 100644 index fbc02a47d..000000000 --- a/data/tariffplans/oldaccvsnew/ActionPlans.csv +++ /dev/null @@ -1,3 +0,0 @@ -#Id,ActionsId,Weight -AP_PACKAGE_10,ACT_TOPUP_RST_10,10 -AP_PACKAGE_11,ACT_TOPUP_RST_11,10 \ No newline at end of file diff --git a/data/tariffplans/oldaccvsnew/Actions.csv b/data/tariffplans/oldaccvsnew/Actions.csv deleted file mode 100644 index 1c52d0231..000000000 --- a/data/tariffplans/oldaccvsnew/Actions.csv +++ /dev/null @@ -1,4 +0,0 @@ -#ActionsId[0],Action[1],ExtraParameters[2],Filter[3],BalanceId[4],BalanceType[5],Categories[6],DestinationIds[7],RatingSubject[8],SharedGroup[9],ExpiryTime[10],Units[11],BalanceWeight[12],BalanceBlocker[13],BalanceDisabled[14],Weight[15] -ACT_TOPUP_RST_10,*topup_reset,,,test,*voice,,*any,,,*unlimited,,3600000000000,10,false,false,10 -ACT_TOPUP_RST_11,*topup_reset,,,,*voice,,*any,RP_ANY,,*unlimited,,3600000000000,10,false,false,10 -ACT_TOPUP_RST_11,*topup_reset,,,,*monetary,,*any,,,*unlimited,,100,10,false,false,10 diff --git a/data/tariffplans/oldaccvsnew/RatingPlans.csv b/data/tariffplans/oldaccvsnew/RatingPlans.csv deleted file mode 100644 index b6dac7720..000000000 --- a/data/tariffplans/oldaccvsnew/RatingPlans.csv +++ /dev/null @@ -1,2 +0,0 @@ -#Id,DestinationRatesId,Weight -RP_ANY,DR_ANY,10 \ No newline at end of file diff --git a/data/tariffplans/oldtutorial/ActionPlans.csv b/data/tariffplans/oldtutorial/ActionPlans.csv deleted file mode 100644 index 82bbf3301..000000000 --- a/data/tariffplans/oldtutorial/ActionPlans.csv +++ /dev/null @@ -1,9 +0,0 @@ -#Id,ActionsId,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 -USE_SHARED_A,SHARED_A_0,*asap,10 -PACKAGE_1001,TOPUP_RST_5,*asap,10 -PACKAGE_1001,TOPUP_RST_SHARED_5,*asap,10 -PACKAGE_1001,TOPUP_120_DST1003,*asap,10 -PACKAGE_1001,TOPUP_RST_DATA_100,*asap,10 diff --git a/data/tariffplans/oldtutorial/ActionTriggers.csv b/data/tariffplans/oldtutorial/ActionTriggers.csv deleted file mode 100644 index 5cfc66062..000000000 --- a/data/tariffplans/oldtutorial/ActionTriggers.csv +++ /dev/null @@ -1,6 +0,0 @@ -#Tag[0],UniqueId[1],ThresholdType[2],ThresholdValue[3],Recurrent[4],MinSleep[5],ExpiryTime[6],ActivationTime[7],BalanceTag[8],BalanceType[9],BalanceCategories[10],BalanceDestinationIds[11],BalanceRatingSubject[12],BalanceSharedGroup[13],BalanceExpiryTime[14],BalanceWeight[15],BalanceBlocker[16],BalanceDisabled[17],ActionsId[18],Weight[19] -STANDARD_TRIGGERS,,*min_balance,2,false,0,,,,*monetary,,,,,,,,,,LOG_WARNING,10 -STANDARD_TRIGGERS,,*max_event_counter,5,false,0,,,,*monetary,,FS_USERS,,,,,,,,LOG_WARNING,10 -STANDARD_TRIGGERS,,*max_balance,20,false,0,,,,*monetary,,,,,,,,,,LOG_WARNING,10 -STANDARD_TRIGGERS,,*max_balance,100,false,0,,,,*monetary,,,,,,,,,,DISABLE_AND_LOG,10 - diff --git a/data/tariffplans/oldtutorial/Actions.csv b/data/tariffplans/oldtutorial/Actions.csv deleted file mode 100644 index e7a5996d0..000000000 --- a/data/tariffplans/oldtutorial/Actions.csv +++ /dev/null @@ -1,12 +0,0 @@ -#ActionsId[0],Action[1],ExtraParameters[2],Filter[3],BalanceId[4],BalanceType[5],Categories[6],DestinationIds[7],RatingSubject[8],SharedGroup[9],ExpiryTime[10],Units[11],BalanceWeight[12],BalanceBlocker[13],BalanceDisabled[14],Weight[15] -TOPUP_RST_10,*topup_reset,,,,*monetary,,*any,,,*unlimited,,10,10,false,false,10 -TOPUP_RST_5,*topup_reset,,,,*monetary,,*any,,,*unlimited,,5,20,false,false,10 -TOPUP_RST_5,*topup_reset,,,,*voice,,DST_1002,SPECIAL_1002,,*unlimited,,90s,20,false,false,10 -TOPUP_120_DST1003,*topup_reset,,,,*voice,,DST_1003,,,*unlimited,,120s,20,false,false,10 -TOPUP_RST_SHARED_5,*topup,,,,*monetary,,*any,,SHARED_A,*unlimited,,5,10,false,false,10 -SHARED_A_0,*topup_reset,,,,*monetary,,*any,,SHARED_A,*unlimited,,0,10,false,false,10 -TOPUP_RST_DATA_100,*topup_reset,,,,*data,,*any,,,*unlimited,,102400,10,false,false,10 -LOG_WARNING,*log,,,,,,,,,,,,,false,false,10 -DISABLE_AND_LOG,*log,,,,,,,,,,,,,false,false,10 -DISABLE_AND_LOG,*disable_account,,,,,,,,,,,,,false,false,10 -TOPUP_100SMS_DE_MOBILE,*topup,,,,*sms,,DST_DE_MOBILE,,,,,100,10,false,false,10 diff --git a/data/tariffplans/oldtutorial/RatingPlans.csv b/data/tariffplans/oldtutorial/RatingPlans.csv deleted file mode 100644 index f183faf3e..000000000 --- a/data/tariffplans/oldtutorial/RatingPlans.csv +++ /dev/null @@ -1,21 +0,0 @@ -#Id,DestinationRatesId,Weight -RP_RETAIL1,DR_FS_40CNT,10 -RP_RETAIL1,DR_FS_10CNT,10 -RP_RETAIL1,DR_FS_10CNT,10 -RP_RETAIL1,DR_FS_10CNT,10 -RP_RETAIL1,DR_1007_MAXCOST_DISC,10 -RP_RETAIL2,DR_1002_20CNT,10 -RP_RETAIL2,DR_1003_20CNT,10 -RP_RETAIL2,DR_FS_40CNT,10 -RP_RETAIL2,DR_1002_10CNT,10 -RP_RETAIL2,DR_1002_10CNT,10 -RP_RETAIL2,DR_1002_10CNT,10 -RP_RETAIL2,DR_1003_10CNT,10 -RP_RETAIL2,DR_1003_10CNT,10 -RP_RETAIL2,DR_1003_10CNT,10 -RP_RETAIL2,DR_FS_10CNT,10 -RP_RETAIL2,DR_FS_10CNT,10 -RP_RETAIL2,DR_FS_10CNT,10 -RP_RETAIL2,DR_1007_MAXCOST_FREE,10 -RP_SPECIAL_1002,DR_SPECIAL_1002,10 -RP_GENERIC,DR_GENERIC,10 \ No newline at end of file diff --git a/data/tariffplans/precache/ActionPlans.csv b/data/tariffplans/precache/ActionPlans.csv deleted file mode 100644 index e1883da35..000000000 --- a/data/tariffplans/precache/ActionPlans.csv +++ /dev/null @@ -1,9 +0,0 @@ -#Id,ActionsId,Weight -PACKAGE_10,TOPUP_RST_10,10 -PACKAGE_10_SHARED_A_5,TOPUP_RST_5,10 -PACKAGE_10_SHARED_A_5,TOPUP_RST_SHARED_5,10 -USE_SHARED_A,SHARED_A_0,10 -PACKAGE_1001,TOPUP_RST_5,10 -PACKAGE_1001,TOPUP_RST_SHARED_5,10 -PACKAGE_1001,TOPUP_120_DST1003,10 -PACKAGE_1001,TOPUP_RST_DATA_100,10 diff --git a/data/tariffplans/precache/ActionTriggers.csv b/data/tariffplans/precache/ActionTriggers.csv deleted file mode 100644 index 5cfc66062..000000000 --- a/data/tariffplans/precache/ActionTriggers.csv +++ /dev/null @@ -1,6 +0,0 @@ -#Tag[0],UniqueId[1],ThresholdType[2],ThresholdValue[3],Recurrent[4],MinSleep[5],ExpiryTime[6],ActivationTime[7],BalanceTag[8],BalanceType[9],BalanceCategories[10],BalanceDestinationIds[11],BalanceRatingSubject[12],BalanceSharedGroup[13],BalanceExpiryTime[14],BalanceWeight[15],BalanceBlocker[16],BalanceDisabled[17],ActionsId[18],Weight[19] -STANDARD_TRIGGERS,,*min_balance,2,false,0,,,,*monetary,,,,,,,,,,LOG_WARNING,10 -STANDARD_TRIGGERS,,*max_event_counter,5,false,0,,,,*monetary,,FS_USERS,,,,,,,,LOG_WARNING,10 -STANDARD_TRIGGERS,,*max_balance,20,false,0,,,,*monetary,,,,,,,,,,LOG_WARNING,10 -STANDARD_TRIGGERS,,*max_balance,100,false,0,,,,*monetary,,,,,,,,,,DISABLE_AND_LOG,10 - diff --git a/data/tariffplans/precache/Actions.csv b/data/tariffplans/precache/Actions.csv deleted file mode 100644 index e7a5996d0..000000000 --- a/data/tariffplans/precache/Actions.csv +++ /dev/null @@ -1,12 +0,0 @@ -#ActionsId[0],Action[1],ExtraParameters[2],Filter[3],BalanceId[4],BalanceType[5],Categories[6],DestinationIds[7],RatingSubject[8],SharedGroup[9],ExpiryTime[10],Units[11],BalanceWeight[12],BalanceBlocker[13],BalanceDisabled[14],Weight[15] -TOPUP_RST_10,*topup_reset,,,,*monetary,,*any,,,*unlimited,,10,10,false,false,10 -TOPUP_RST_5,*topup_reset,,,,*monetary,,*any,,,*unlimited,,5,20,false,false,10 -TOPUP_RST_5,*topup_reset,,,,*voice,,DST_1002,SPECIAL_1002,,*unlimited,,90s,20,false,false,10 -TOPUP_120_DST1003,*topup_reset,,,,*voice,,DST_1003,,,*unlimited,,120s,20,false,false,10 -TOPUP_RST_SHARED_5,*topup,,,,*monetary,,*any,,SHARED_A,*unlimited,,5,10,false,false,10 -SHARED_A_0,*topup_reset,,,,*monetary,,*any,,SHARED_A,*unlimited,,0,10,false,false,10 -TOPUP_RST_DATA_100,*topup_reset,,,,*data,,*any,,,*unlimited,,102400,10,false,false,10 -LOG_WARNING,*log,,,,,,,,,,,,,false,false,10 -DISABLE_AND_LOG,*log,,,,,,,,,,,,,false,false,10 -DISABLE_AND_LOG,*disable_account,,,,,,,,,,,,,false,false,10 -TOPUP_100SMS_DE_MOBILE,*topup,,,,*sms,,DST_DE_MOBILE,,,,,100,10,false,false,10 diff --git a/data/tariffplans/precache/RatingPlans.csv b/data/tariffplans/precache/RatingPlans.csv deleted file mode 100644 index f183faf3e..000000000 --- a/data/tariffplans/precache/RatingPlans.csv +++ /dev/null @@ -1,21 +0,0 @@ -#Id,DestinationRatesId,Weight -RP_RETAIL1,DR_FS_40CNT,10 -RP_RETAIL1,DR_FS_10CNT,10 -RP_RETAIL1,DR_FS_10CNT,10 -RP_RETAIL1,DR_FS_10CNT,10 -RP_RETAIL1,DR_1007_MAXCOST_DISC,10 -RP_RETAIL2,DR_1002_20CNT,10 -RP_RETAIL2,DR_1003_20CNT,10 -RP_RETAIL2,DR_FS_40CNT,10 -RP_RETAIL2,DR_1002_10CNT,10 -RP_RETAIL2,DR_1002_10CNT,10 -RP_RETAIL2,DR_1002_10CNT,10 -RP_RETAIL2,DR_1003_10CNT,10 -RP_RETAIL2,DR_1003_10CNT,10 -RP_RETAIL2,DR_1003_10CNT,10 -RP_RETAIL2,DR_FS_10CNT,10 -RP_RETAIL2,DR_FS_10CNT,10 -RP_RETAIL2,DR_FS_10CNT,10 -RP_RETAIL2,DR_1007_MAXCOST_FREE,10 -RP_SPECIAL_1002,DR_SPECIAL_1002,10 -RP_GENERIC,DR_GENERIC,10 \ No newline at end of file diff --git a/data/tariffplans/testData/RatingPlans.csv b/data/tariffplans/testData/RatingPlans.csv deleted file mode 100644 index 4b1094166..000000000 --- a/data/tariffplans/testData/RatingPlans.csv +++ /dev/null @@ -1,2 +0,0 @@ -#ID,DestinationRatesID,Weight -RP_DATA,DR_ANY_10000_1,10 diff --git a/data/tariffplans/testit/ActionPlans.csv b/data/tariffplans/testit/ActionPlans.csv deleted file mode 100644 index 51fa0592c..000000000 --- a/data/tariffplans/testit/ActionPlans.csv +++ /dev/null @@ -1,3 +0,0 @@ -#Id,ActionsId,Weight -PACKAGE_1001,TOPUP_RST_MONETARY_10,10 -PACKAGE_1002,TOPUP_RST_DATA_100,10 diff --git a/data/tariffplans/testit/Actions.csv b/data/tariffplans/testit/Actions.csv deleted file mode 100644 index 520b2c15c..000000000 --- a/data/tariffplans/testit/Actions.csv +++ /dev/null @@ -1,4 +0,0 @@ -#ActionsId[0],Action[1],ExtraParameters[2],Filter[3],BalanceId[4],BalanceType[5],Categories[6],DestinationIds[7],RatingSubject[8],SharedGroup[9],ExpiryTime[10],Units[11],BalanceWeight[12],BalanceBlocker[13],BalanceDisabled[14],Weight[15] -TOPUP_RST_MONETARY_10,*topup_reset,,,,*monetary,,*any,,,*unlimited,,10,10,false,false,10 -TOPUP_MONETARY_10,*topup,,,,*monetary,,*any,,,*unlimited,,10,10,false,false,10 -TOPUP_RST_DATA_100,*topup_reset,,,,*data,,*any,,,*monthly,,4096,10,false,false,10 diff --git a/data/tariffplans/testit/RatingPlans.csv b/data/tariffplans/testit/RatingPlans.csv deleted file mode 100644 index d235c1dd1..000000000 --- a/data/tariffplans/testit/RatingPlans.csv +++ /dev/null @@ -1,12 +0,0 @@ -#Id,DestinationRatesId,Weight -RP_TESTIT1,DR_ANY_1CNT,10 -RP_SPECIAL_1002,DR_SPECIAL_1002,10 -RP_RETAIL1,DR_FS_40CNT,10 -RP_ANY2CNT,DR_ANY_2CNT,10 -RP_ANY1CNT,DR_ANY_1CNT,10 -RP_TEST,DR_TEST_1,10 -RP_MOBILE,DR_MOBILE_1CNT,10 -RP_LOCAL,DR_LOCAL_2CNT,10 -RP_FREE,DR_FREE,10 -RP_ANY2CNT_SEC,DR_ANY_2CNT_SEC,10 -RP_ANY1CNT_SEC,DR_ANY_1CNT_SEC,10 \ No newline at end of file diff --git a/data/tariffplans/testtp/ActionPlans.csv b/data/tariffplans/testtp/ActionPlans.csv deleted file mode 100644 index 9bfc87bc0..000000000 --- a/data/tariffplans/testtp/ActionPlans.csv +++ /dev/null @@ -1,11 +0,0 @@ -#Tag,ActionsTag,Weight -PREPAID_10,PREPAID_10,10 -PREPAID_10,BONUS_3,10 -TEST_EXE,TOPUP_EXE,10 -TEST_DATA_r,TOPUP_DATA_r,10 -TEST_VOICE,TOPUP_VOICE,10 -TEST_NEG,TOPUP_NEG,10 -TEST_RPC,RPC,10 -TEST_RPC,RPC_DEST,10 -TEST_RPC,RPC_CDRSTATS,10 -TEST_DID,DID,10 diff --git a/data/tariffplans/testtp/ActionTriggers.csv b/data/tariffplans/testtp/ActionTriggers.csv deleted file mode 100644 index 16269f619..000000000 --- a/data/tariffplans/testtp/ActionTriggers.csv +++ /dev/null @@ -1,5 +0,0 @@ -#Tag[0],UniqueId[1],ThresholdType[2],ThresholdValue[3],Recurrent[4],MinSleep[5],ExpiryTime[6],ActivationTime[7],BalanceTag[8],BalanceType[9],BalanceCategories[10],BalanceDestinationIds[11],BalanceRatingSubject[12],BalanceSharedGroup[13],BalanceExpiryTime[14],BalanceWeight[15],BalanceBlocker[16],BalanceDisabled[17],ActionsId[18],Weight[19] -STANDARD_TRIGGERS,,*min_balance,2,false,0,,,,*monetary,,,,,,,,,,LOG_BALANCE,10 -STANDARD_TRIGGERS,,*max_balance,20,false,0,,,,*monetary,,,,,,,,,,LOG_BALANCE,10 -STANDARD_TRIGGERS,,*max_event_counter,15,false,0,,,,*monetary,,FS_USERS,,,,,,,,LOG_BALANCE,10 -STANDARD_TRIGGERS,,*max_balance_counter,1,false,0,,,,*monetary,,,,,,,,,,LOG_BALANCE,10 diff --git a/data/tariffplans/testtp/Actions.csv b/data/tariffplans/testtp/Actions.csv deleted file mode 100644 index 02c83b903..000000000 --- a/data/tariffplans/testtp/Actions.csv +++ /dev/null @@ -1,16 +0,0 @@ -#ActionsId[0],Action[1],ExtraParameters[2],Filter[3],BalanceId[4],BalanceType[5],Categories[6],DestinationIds[7],RatingSubject[8],SharedGroup[9],ExpiryTime[10],Units[11],BalanceWeight[12],BalanceBlocker[13],BalanceDisabled[14],Weight[15] -PREPAID_10,*topup,,,,*monetary,,*any,,,*unlimited,10,10,false,false,20 -BONUS_3,*topup,,,,*monetary,,*any,,,*unlimited,3,10,false,false,10 -LOG_BALANCE,*log,,,,,,,,,,,,false,false,10 -CDRST_WARN_HTTP,*http_post,http://localhost:8080,,,,,,,,,,,false,false,10 -CDRST_LOG,*log,,,,,,,,,,,,,false,false,10 -TOPUP_EXE,*topup,,,,*monetary,,*any,,,*unlimited,5,10,false,false,10 -TOPUP_DATA_r,*topup,,,,*monetary,,DATA_DEST,,,*unlimited,5000000,10,false,false,10 -TOPUP_DATA_r,*topup,,,,*data,,DATA_DEST,datar,,*unlimited,50000000000,10,false,false,10 -TOPUP_VOICE,*topup,,,,*voice,,GERMANY_MOBILE,,,*unlimited,50000,10,false,false,10 -TOPUP_NEG,*topup,,,,*voice,,GERMANY;!GERMANY_MOBILE,*zero1m,,*unlimited,100,10,false,false,10 -RPC,*cgr_rpc,"{""Address"": ""localhost:2013"",""Transport"":""*gob"",""Method"":""APIerSv2.SetAccount"",""Attempts"":1,""Async"" :false,""Params"":{""Account"":""rpc"",""Tenant"":""cgrates.org""}}",,,,,,,,,,,,, -DID,*debit,,,,*monetary,,*any,,,*unlimited,"{""Method"":""*incremental"",""Params"":{""Units"":1, ""Interval"":""month"",""Increment"":""day""}}",10.0,,,10.0 -DID,*cdrlog,"{""action"":""^DID"",""prev_balance"":""BalanceValue""}",,,*monetary,,*any,,,*unlimited,,,10.0,,10.0 -RPC_DEST,*cgr_rpc,"{""Address"": ""localhost:2013"",""Transport"":""*gob"",""Method"":""APIerSv2.SetDestination"",""Attempts"":1,""Async"" :false,""Params"":{""Id"":""<<.Account.GetID>>"",""Prefixes"":[""1"",""2"",""3""]}}",,,,,,,,,,,,, -RPC_CDRSTATS,*cgr_rpc,"{""Address"": ""localhost:2013"",""Transport"":""*gob"",""Method"":""CDRStatsV1.AddQueue"",""Attempts"":1,""Async"" :false,""Params"":{""Id"":""qtest""}}",,,,,,,,,,,,, diff --git a/data/tariffplans/tp1cnt/RatingPlans.csv b/data/tariffplans/tp1cnt/RatingPlans.csv deleted file mode 100644 index 8769d57b8..000000000 --- a/data/tariffplans/tp1cnt/RatingPlans.csv +++ /dev/null @@ -1,2 +0,0 @@ -#ID,DestinationRatesID,Weight -RP_1CNT,DR_1CNT,0 diff --git a/data/tariffplans/tp_destination_with_any/Actions.csv b/data/tariffplans/tp_destination_with_any/Actions.csv deleted file mode 100644 index 822752cc0..000000000 --- a/data/tariffplans/tp_destination_with_any/Actions.csv +++ /dev/null @@ -1,3 +0,0 @@ -#ActionsId[0],Action[1],ExtraParameters[2],Filter[3],BalanceId[4],BalanceType[5],Categories[6],DestinationIds[7],RatingSubject[8],SharedGroup[9],ExpiryTime[10],Units[11],BalanceWeight[12],BalanceBlocker[13],BalanceDisabled[14],Weight[15] -ACT_TOPUP_RST_10,*topup_reset,,,,*monetary,,*any,,,*unlimited,,10,10,false,false,10 -ACT_LOG_WARNING,*log,,,,,,,,,,,,,false,false,10 \ No newline at end of file diff --git a/data/tariffplans/tp_destination_with_any/RatingPlans.csv b/data/tariffplans/tp_destination_with_any/RatingPlans.csv deleted file mode 100644 index 8810cd1b6..000000000 --- a/data/tariffplans/tp_destination_with_any/RatingPlans.csv +++ /dev/null @@ -1,3 +0,0 @@ -#Id,DestinationRatesId,Weight -RP_1001,DR_1002_1CNT,20 -RP_1001,DR_ANY,10 diff --git a/data/tariffplans/tut_sip_redirect/ActionPlans.csv b/data/tariffplans/tut_sip_redirect/ActionPlans.csv deleted file mode 100644 index a55e23b86..000000000 --- a/data/tariffplans/tut_sip_redirect/ActionPlans.csv +++ /dev/null @@ -1,2 +0,0 @@ -#Id,ActionsId,Weight -AP_PACKAGE_10,ACT_TOPUP_RST_10,10 \ No newline at end of file diff --git a/data/tariffplans/tut_sip_redirect/Actions.csv b/data/tariffplans/tut_sip_redirect/Actions.csv deleted file mode 100644 index 6938dd534..000000000 --- a/data/tariffplans/tut_sip_redirect/Actions.csv +++ /dev/null @@ -1,2 +0,0 @@ -#ActionsId[0],Action[1],ExtraParameters[2],Filter[3],BalanceId[4],BalanceType[5],Categories[6],DestinationIds[7],RatingSubject[8],SharedGroup[9],ExpiryTime[10],Units[11],BalanceWeight[12],BalanceBlocker[13],BalanceDisabled[14],Weight[15] -ACT_TOPUP_RST_10,*topup_reset,,,test,*voice,,*any,,,*unlimited,,30s,10,false,false,10 \ No newline at end of file diff --git a/data/tariffplans/tut_sip_redirect/RatingPlans.csv b/data/tariffplans/tut_sip_redirect/RatingPlans.csv deleted file mode 100644 index 79f9e0fd3..000000000 --- a/data/tariffplans/tut_sip_redirect/RatingPlans.csv +++ /dev/null @@ -1,4 +0,0 @@ -#Id,DestinationRatesId,Weight -RP_20CNT,DR_20CNT,10 -RP_10CNT,DR_10CNT,10 -RP_1CNT,DR_1CNT,10 \ No newline at end of file diff --git a/data/tariffplans/tutorial/ActionPlans.csv b/data/tariffplans/tutorial/ActionPlans.csv deleted file mode 100644 index a55e23b86..000000000 --- a/data/tariffplans/tutorial/ActionPlans.csv +++ /dev/null @@ -1,2 +0,0 @@ -#Id,ActionsId,Weight -AP_PACKAGE_10,ACT_TOPUP_RST_10,10 \ No newline at end of file diff --git a/data/tariffplans/tutorial/Actions.csv b/data/tariffplans/tutorial/Actions.csv deleted file mode 100644 index ab7264f7b..000000000 --- a/data/tariffplans/tutorial/Actions.csv +++ /dev/null @@ -1,3 +0,0 @@ -#ActionsId[0],Action[1],ExtraParameters[2],Filter[3],BalanceId[4],BalanceType[5],Categories[6],DestinationIds[7],RatingSubject[8],SharedGroup[9],ExpiryTime[10],Units[11],BalanceWeight[12],BalanceBlocker[13],BalanceDisabled[14],Weight[15] -ACT_TOPUP_RST_10,*topup_reset,,,test,*monetary,,*any,,,*unlimited,,10,10,false,false,10 -ACT_LOG_WARNING,*log,,,,,,,,,,,,,false,false,10 \ No newline at end of file diff --git a/data/tariffplans/tutorial/RatingPlans.csv b/data/tariffplans/tutorial/RatingPlans.csv deleted file mode 100644 index 3c7f95f10..000000000 --- a/data/tariffplans/tutorial/RatingPlans.csv +++ /dev/null @@ -1,8 +0,0 @@ -#Id,DestinationRatesId,Weight -RP_1001,DR_1002_20CNT,10 -RP_1001,DR_1003_MAXCOST_DISC,10 -RP_1002,DR_1001_20CNT,10 -RP_1002_LOW,DR_1001_10CNT,10 -RP_1003,DR_1001_10CNT,10 -RP_SMS,DR_SMS,0 -RP_MMS,DR_MMS,0 \ No newline at end of file diff --git a/data/tariffplans/tutorial2/ActionPlans.csv b/data/tariffplans/tutorial2/ActionPlans.csv deleted file mode 100644 index 5cd264e41..000000000 --- a/data/tariffplans/tutorial2/ActionPlans.csv +++ /dev/null @@ -1,7 +0,0 @@ -#Id,ActionsId,Weight -STANDARD_PLAN,TOPUP_RST_MONETARY_10,10 -STANDARD_PLAN,TOPUP_RST_5M_VOICE,10 -STANDARD_PLAN,TOPUP_RST_10M_VOICE,10 -STANDARD_PLAN,TOPUP_RST_100_SMS,10 -STANDARD_PLAN,TOPUP_RST_1024_DATA,10 -STANDARD_PLAN,TOPUP_RST_1024_DATA,10 \ No newline at end of file diff --git a/data/tariffplans/tutorial2/ActionTriggers.csv b/data/tariffplans/tutorial2/ActionTriggers.csv deleted file mode 100644 index f83fd8873..000000000 --- a/data/tariffplans/tutorial2/ActionTriggers.csv +++ /dev/null @@ -1,7 +0,0 @@ -#ID[0],UniqueID[1],ThresholdType[2],ThresholdValue[3],Recurrent[4],MinSleep[5],ExpiryTime[6],ActivationTime[7],BalanceTag[8],BalanceType[9],BalanceCategories[10],BalanceDestinationIDs[11],BalanceRatingSubject[12],BalanceSharedGroup[13],BalanceExpiryTime[14],BalanceWeight[15],BalanceBlocker[16],BalanceDisabled[17],ActionsID[18],Weight[19] - -# STANDARD_TRIGGERS *min_balance will call the action when the monetary balance will go bellow 2 units -STANDARD_TRIGGERS,,*min_balance,2,,,,,,*monetary,,,,,,,,,,TOPUP_BONUS_10SMS,10 - -# STANDARD_TRIGGERS *max_balance will call action when the monetary balance will go above 100 units -STANDARD_TRIGGERS,,*max_balance,100,,,,,,*monetary,,,,,,,,,,DISABLE_ACCOUNT,10 \ No newline at end of file diff --git a/data/tariffplans/tutorial2/Actions.csv b/data/tariffplans/tutorial2/Actions.csv deleted file mode 100644 index cde83a60b..000000000 --- a/data/tariffplans/tutorial2/Actions.csv +++ /dev/null @@ -1,28 +0,0 @@ -#ActionsId[0],Action[1],ExtraParameters[2],Filter[3],BalanceId[4],BalanceType[5],Categories[6],DestinationIds[7],RatingSubject[8],SharedGroup[9],ExpiryTime[10],Units[11],BalanceWeight[12],BalanceBlocker[13],BalanceDisabled[14],Weight[15] - -# TOPUP_RST_MONETARY_10 resets the <*default> <*monetary> balance to 10 units -TOPUP_RST_MONETARY_10,*topup_reset,,,*default,*monetary,,,,,,,10,10,,,10 - -# TOPUP_RST_10M_VOICE resets the special *voice balance valid to destination with special rates to 10m -TOPUP_RST_10M_VOICE,*topup_reset,,,PER_CALL,*voice,,DST_10,RPF_SPECIAL_BLC,,,,10m,10,,,10 - -# TOPUP_RST_5M_VOICE resets *voice balance with 0 costs rounded up to minute to 5m and priority 20 -TOPUP_RST_5M_VOICE,*topup_reset,,,FREE_MINS,*voice,,,*zero1m,,,,5m,20,,,10 - -# TOPUP_RST_100_SMS resets the *sms balance to 100 units and priority 20 in balance chain -TOPUP_RST_100_SMS,*topup_reset,,,FREE_SMSes,*sms,,,,,,,100,20,,,10 - -# TOPUP_BONUS_10SMS adds 10 units to balance valid on DST_50 destination and priority 30 in balance chain -TOPUP_BONUS_10SMS,*topup,,,BONUS_SMSes,*sms,,DST_50,,,,,10,30,,,10 - -# TOPUP_RST_1024_DATA resets the *data balance to 1024 units with priority 20 in the balance chain -TOPUP_RST_1024_DATA,*topup_reset,,,FREE_DATA,*data,,,,,,,1024,20,,,10 - -# LOG_WARNING will log to syslog the account attached to it -LOG_WARNING,*log,,,,,,,,,,,,,,,10 - -# DISABLE_ACCOUNT will set the Disabled Flag on the account called -DISABLE_ACCOUNT,*disable_account,,,,,,,,,,,,,,,10 - -# WARN_HTTP_ASYNC will call url asynchronously with the account provided as JSON body -WARN_HTTP_ASYNC,*http_post_async,http://$path/$to/$warn,,,,,,,,,,,,false,false,10 \ No newline at end of file diff --git a/data/tariffplans/tutorial2/RatingPlans.csv b/data/tariffplans/tutorial2/RatingPlans.csv deleted file mode 100644 index 771bc8dc8..000000000 --- a/data/tariffplans/tutorial2/RatingPlans.csv +++ /dev/null @@ -1,15 +0,0 @@ -#ID,DestinationRatesID,Weight -RP_STANDARD,DR_10_120C,10 -RP_STANDARD,DR_10_60C,10 -RP_STANDARD,DR_10_60C,10 -RP_STANDARD,DR_10_60C,10 -RP_STANDARD,DR_2030_120C,10 -RP_STANDARD,DR_20_60C,20 -RP_STANDARD,DR_VOICEMAIL_FREE,10 -RP_1001,DR_1002_60C,10 -RP_SPECIAL_BLC,DR_ANY_10C_CN,10 -RP_DATA,DR_ANY_1024_1,10 -RP_SMS,DR_1002_10C1,10 -RP_SMS,DR_10_20C1,10 -RP_1CNT,DR_1CNT,0 -RP_10CNT,DR_10CNT,0 \ No newline at end of file diff --git a/data/tariffplans/tutroutes/Actions.csv b/data/tariffplans/tutroutes/Actions.csv index 3d78ab1a7..eb27ef135 100644 --- a/data/tariffplans/tutroutes/Actions.csv +++ b/data/tariffplans/tutroutes/Actions.csv @@ -1,4 +1,4 @@ #ActionsId[0],Action[1],ExtraParameters[2],Filter[3],BalanceId[4],BalanceType[5],Categories[6],DestinationIds[7],RatingSubject[8],SharedGroup[9],ExpiryTime[10],Units[11],BalanceWeight[12],BalanceBlocker[13],BalanceDisabled[14],Weight[15] # TOPUP_RST_MONETARY_10 resets the <*default> <*monetary> balance to 10 units -TOPUP_RST_MONETARY_10,*topup_reset,,,*default,*monetary,,,,,,,10,10,,,10 \ No newline at end of file +TOPUP_RST_MONETARY_10,*topup_reset,,,*default,*monetary,,,,,,10,10,,,10 \ No newline at end of file diff --git a/data/tutorial_tests/asterisk_ari/asterisk/etc/asterisk/modules.conf b/data/tutorial_tests/asterisk_ari/asterisk/etc/asterisk/modules.conf index 56dd5b10d..38df4bcac 100755 --- a/data/tutorial_tests/asterisk_ari/asterisk/etc/asterisk/modules.conf +++ b/data/tutorial_tests/asterisk_ari/asterisk/etc/asterisk/modules.conf @@ -110,6 +110,7 @@ load = res_sorcery_astdb.so load = res_sorcery_config.so load = res_sorcery_memory.so load = res_sorcery_realtime.so +load = res_timing_timerfd.so ;ARI load => app_stasis.so