Files
cgrates/data/tariffplans/fs_germany_prep1

CGRateS - FSGermanyPrep1

Scenario:

  • Create the necessary timings (always, peak, offpeak, asap).

  • Configure 3 different destinations: GERMANY, GERMANY_MOBILE and FS_USERS.

  • Calls to landline and mobile numbers in Germany will be charged time based (structured in peak and offpeak profiles). Calls to landline during peak times are charged using different rate slots: first minute charged as a whole at one rate, next minutes charged per second at another rate.

  • Calls to FreeSWITCH users will be free and time independent.

  • This rating profile will be valid for any rating subject.

  • Create 5 prepaid accounts (equivalent of 5 FreeSWITCH default test users - 1001, 1002, 1003, 1004, 1005).

  • Add to each of the accounts a monetary balance of 10 units.

  • For each balance created, attach 3 triggers to control the balance: log on balance=2, log on balance=20, log on 15 mins talked towards FS_USERS destination.