Basic Routing
1. Create partitions. Typically a partition is created for each call type for instance 911, local, long distance and international routing will use individual partitions. Remember that a partition is a group of directory numbers with similar accessibility.
2. Create calling search spaces. Calling search spaces determine the partitions that calling devices, Cisco IP phones and gateways can reach when attempting to complete a call.
3. Create gateways. Gateways are used to route off net calls that are not accessible on call manager. Gateways are typically either and MGCP or H.323.
Gateway things to remember:
- Don’t forget to set the significant digits field in the call routing information — inbound call section
- The calling search space also needs to be set in the call routing information section.
4. Configure the IP phones or the correct parameters. Some of these parameters are the correct device pool, the correct calling search space, route partition and external phone number mask. The phone number mask is set in the device phone, line number section.
5. Configure the route group. The route group will point to the proper Gateway.
6. Configure the route list. The route list must point to the proper route group
7. Configure route patterns. Route patterns are used to match dialed digits frequently items such as 911, local and long-distance calls as well as international calls. Here are some common examples:
9.911 – an access code of 9, a dot to separate access codes and 911.
9.1[2-9]XX[2-9]XXXXXX – long distance calls
9.[2-9]XXXXXX – local calls
Dial-peer example
HQ phone (5001) —- UCM —- HQ RTR — PSTN WAN — PSTN phone (911)
UCM to HQ RTR is h.323, HQ RTR to PSTN is PRI
Incoming VOIP to HQ RTR
dial-peer voice 2 voip
voice-class codec 1
incoming called-number .
no vad
Outgoing to PSTN WAN
dial-peer voice 911 pots
destination-pattern 911
port 0/0/0:23
forward-digits 3
Incoming PSTN WAN
dial-peer voice 1 pots
incoming called-number .
direct-inward-dial
Outgoing from HQ RTR
dial-peer voice 5000 voip
destination-pattern 2123945…
voice-class codec 1
voice-class h323 1
session target ipv4:10.10.210.11
incoming called-number .
dtmf-relay h245-alphanumeric
no vad
Routing notes
- The display IE delivery check box is used to set the calling name (alerting name that the directory number assigned to the phone in UCM).
- Use calling number mask ensures that the external number mask configured on the directory number calling phone is passed to the router. Without checking this checkbox, the calling number (ANI) would be 4 digits in length.
UCM route pattern wildcards
Wildcard | Pattern |
X | Matches a single digit |
@ | All NANP routes |
! | One or more digits |
. | Terminates the access code |
# | Terminates the inter digit timeout |
[xyz] | Set of matching digits [458] matches either 4,5, or 8 |
[x-y] | Range of digits |
[^x-y] | Exclusion range |
Local route groups
Forced Authorization Codes (FAC)
1. Create the code and level from Call Routing, Forced Authorization Codes
2. Apply the FAC under the Route Pattern
Client Matter Codes (CMC)
1. Create the code from Call Routing, Client Matter Code
2. Apply the CMC under the Route Pattern
Route Pattern Call Blocking
1. Create a new partition for the pattern to be blocked
2. Add the partition to the Calling Search Space
3. Add a new route pattern. Under the Route Option, select Block This Pattern
Time Based Call Routing
1. Create a Time Period from Call Routing, Class of Control
2. Create a Time Schedule from Call Routing, Class of Control
3. Apply the Time Schedule to the Partition
Note – a route list can also be used.