If four matching routing rules are located in the routing table and each one is assigned a
different Cost Group as listed in the table above, then the rule assigned Cost Group "D" is
selected. Note that for one minute, Cost Groups "A" and "D" are identical, but due to the
average call duration, Cost Group "D" is cheaper. Therefore, average call duration is an
important factor in determining the cheapest routing role.
Below are a few examples of how you can implement LCR:
Example 1: This example uses two different Cost Groups for routing local calls and
international calls:
Two Cost Groups are configured as shown below:
Cost Group
1. "Local Calls"
2. "International Calls"
The Cost Groups are assigned to routing rules for local and international calls:
Routing Index
1
2000
2
00
Example 2: This example shows how the device determines the cheapest routing rule
in the Tel-to-IP Routing table:
The 'Default Call Cost' parameter in the Routing Policy rule is configured to Lowest
Cost, meaning that if the device locates other matching routing rules (with Cost
Groups assigned), the routing rule without a Cost Group is considered the lowest cost
route.
•
The following Cost Groups are configured:
Cost Group
1. "A"
2. "B"
•
The Cost Groups are assigned to routing rules:
Routing Index
1
2
3
4
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)
User's Manual
Connection Cost
2
6
Dest Phone Prefix
Connection Cost
2
6
Dest Phone Prefix
201
201
201
201
1
3
Destination IP
x.x.x.x
x.x.x.x
1
3
Destination IP
x.x.x.x
x.x.x.x
x.x.x.x
x.x.x.x
266
Mediant 4000 SBC
Minute Cost
Cost Group ID
1 "Local Calls"
2 "International Calls"
Minute Cost
Cost Group
"A'
"B"
0
"B"
Document #: LTRT-40203