Difference between revisions of "Make Retail Tariff from Wholesale Tariff explained"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 8: Line 8:
Imagine we have Wholesale Tariff with such rates for USA:
Imagine we have Wholesale Tariff with such rates for USA:


Prefix 1, rate 0.01
* Prefix 1, rate 0.01
Prefix 12, rate 0.02
* Prefix 12, rate 0.02
Prefix 123, rate 0.03
* Prefix 123, rate 0.03


And we have Destination Group USA with such Destinations in this Destination Group (1;12;123)
And we have Destination Group USA with such Destinations in this Destination Group (1;12;123)

Revision as of 12:55, 7 May 2009

Retail Tariff from Wholesale Tariff is done by following algorithm:

1. Highest Rate in Wholesale Tariff for Destinations in Destination Group (DG) is selected
2. This rate is modified by adding some value or percent to it

Example

Imagine we have Wholesale Tariff with such rates for USA:

  • Prefix 1, rate 0.01
  • Prefix 12, rate 0.02
  • Prefix 123, rate 0.03

And we have Destination Group USA with such Destinations in this Destination Group (1;12;123)

Now if we want to create Retail Tariff adding 0.005 to Wholesale tariff, we will have price for USA Destination Group = 0.035

E.g. Highest rate for Destinations is selected and modified.