diff --git a/data/tutorials/fs_json/README.md b/data/tutorials/fs_json/README.md index b3355dd50..ba2e4c988 100644 --- a/data/tutorials/fs_json/README.md +++ b/data/tutorials/fs_json/README.md @@ -6,13 +6,13 @@ Scenario: - FreeSWITCH with *vanilla* configuration, replacing *mod_cdr_csv* with *mod_json_cdr*. - - Modified following users (with configs in *etc/freeswitch/directory/default*): 1001-prepaid, 1002-postpaid, 1003-pseudoprepaid, 1004-rated. + - Modified following users (with configs in *etc/freeswitch/directory/default*): 1001-prepaid, 1002-postpaid, 1003-pseudoprepaid, 1004-rated, 1006-prepaid, 1007-prepaid. - Have added inside default dialplan CGR own extensions just before routing towards users (*etc/freeswitch/dialplan/default.xml*). - FreeSWITCH configured to generate default *http-json* CDRs. - **CGRateS** with following components: - CGR-SM started as prepaid controller, with debits taking place at 5s intervals. - - CGR-Mediator compoenent attaching costs to the raw CDRs from FreeSWITCH_ inside CGR StorDB. + - CGR-Mediator component attaching costs to the raw CDRs from FreeSWITCH_ inside CGR StorDB. - CGR-CDRE exporting mediated CDRs from CGR StorDB (export path: */tmp*). - CGR-History component keeping the archive of the rates modifications (path browsable with git client at */tmp/cgr_history*). diff --git a/data/tutorials/fs_json/cgrates/tariffplans/README.md b/data/tutorials/fs_json/cgrates/tariffplans/README.md index 3b4102574..4955c736b 100644 --- a/data/tutorials/fs_json/cgrates/tariffplans/README.md +++ b/data/tutorials/fs_json/cgrates/tariffplans/README.md @@ -14,7 +14,11 @@ Scenario: - Will charge by default *RT_40CNT* for all FreeSWITCH_ destinations during peak times (Monday-Friday 08:00-19:00) and *RT_10CNT* during offpeatimes (rest). - Account 1001 will receive a special *deal* for 1002 and 1003 destinations during peak times with *RT_20CNT*, otherwise same as default rating. -- Create 4 accounts (equivalent of 2 FreeSWITCH default test users - 1001, 1002, 1003, 1004). -- 1001, 1002, 1003, 1004 will receive 10units of *\*monetary* balance. +- Create 5 accounts (equivalent of FreeSWITCH default test users - 1001, 1002, 1003, 1004, 1007). +- 1002, 1003, 1004 will receive 10units of *monetary balance. +- 1001 will receive 5 units of general *monetary and 5 units of shared balance in the shared group *SHARED_A*. +- 1007 will receive 0 units of shared balance in the shared group *SHARED_A*. +- Define the shared balance *SHARED_A* with debit policy *highest. + - For each balance created, attach 3 triggers to control the balance: log on balance=2, log on balance=20, log on 5 mins talked towards 10xx destination.