CHAPTER 16 Services
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:
1. "Local Calls"
2. "International Calls"
The Cost Groups are assigned to routing rules for local and international calls:
Routing Index
1
2
■
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)
■
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
Dest Phone Prefix
2000
00
2
6
Dest Phone Prefix
201
201
201
201
Mediant 800 Gateway & E-SBC | User's Manual
Connection Cost
2
6
Destination IP
x.x.x.x
x.x.x.x
Connection Cost
Destination IP
x.x.x.x
x.x.x.x
x.x.x.x
x.x.x.x
- 253 -
Minute Cost
1
3
Cost Group ID
1 "Local Calls"
2 "International Calls"
Minute Cost
1
3
Cost Group
"A'
"B"
0
"B"