Version 7.2 259 Mediant 1000B Gateway & E-SBC
User's Manual 15. Services
Routing Index Dest Phone Prefix Destination IP Cost Group
3 201 x.x.x.x 0
4 201 x.x.x.x "B"
The device calculates the optimal route in the following index order: 3, 1, 2, and then
4, due to the following logic:
• Index 1 - Cost Group "A" has the lowest connection cost and minute cost
• Index 2 - Cost Group "B" takes precedence over Index 4 entry based on the first-
matched method rule
• Index 3 - no Cost Group is assigned, but as the 'Default Call Cost' parameter is
configured to Lowest Cost, it is selected as the cheapest route
• Index 4 - Cost Group "B" is only second-matched rule (Index 1 is the first)
Example 3: This example shows how the cost of a call is calculated if the call spans
over multiple time bands:
Assume a Cost Group, "CG Local" is configured with two time bands, as shown below:
Cost Group Time Band Start Time End Time
Connection
Cost
Minute Cost
CG Local
TB1 16:00 17:00 2 1
TB2 17:00 18:00 7 2
Assume that the call duration is 10 minutes, occurring between 16:55 and 17:05. In
other words, the first 5 minutes occurs in time band "TB1" and the next 5 minutes
occurs in "TB2", as shown below:
Figure 15-39: LCR using Multiple Time Bands (Example)
The device calculates the call using the time band in which the call was initially
established, regardless of whether the call spans over additional time bands:
Total call cost = "TB1" Connection Cost + ("TB1" Minute Cost x call duration) = 2 + 1
x 10 min = 12
15.4.2 Configuring LCR
To configure LCR, perform the following main steps:
1. Enable LCR - see Configuring a Gateway Routing Policy Rule on page 489 (for
Gateway) and Configuring SBC Routing Policy Rules on page 670 (for SBC).
2. Configure Cost Groups - see ''Configuring Cost Groups'' on page 260.
3. Configure Time Bands for a Cost Group - see ''Configuring Time Bands for Cost
Groups'' on page 261.