Outbound Site-Code Dialing Example

Outbound Site-Code Dialing Example
To illustrate an outbound site code dialing call flow, consider the topology presented in
Figure 7-27 and its corresponding configuration in Example 7-32.
Chapter 7: Configuring Advanced Dial Plans 415
IP WAN
PSTN
V
R1
10.10.0.1
Site Code: 801
408 555-2001
Phone1-1
(2001)
San Jose
Site Code: 802
312 555-2001
Phone2-1
(2001)
Austin
R3
V
1
2
Figure 7-27 Outbound Site-Code Dialing Topology Example
Example 7-32 Outbound Site-Code Dialing Configuration Example
R3(config)#voice translation-rule 1
R3(cfg-translation-rule)#rule 1 /^2/ /8022/
R3(cfg-translation-rule)#exit
R3(config)#voice translation-profile intersite-out
R3(cfg-translation-profile)#translate calling 1
R3(cfg-translation-profile)#exit
R3(config)#dial-peer voice 8010 voip
R3(config-dial-peer)#destination-pattern 8012...
R3(config-dial-peer)#session-target ipv4:10.10.0.1
R3(config-dial-peer)#translation-profile outgoing intersite-out
R3(config-dial-peer)#exit
R3(config)#voice translation-rule 3
R3(cfg-translation-rule)#rule 1 /^8012/ /14085552/
R3(cfg-translation-rule)#exit
R3(config)#voice translation-profile 801PSTN
R3(cfg-translation-profile)#translate called 3
R3(cfg-translation-profile)#exit
R3(config)#dial-peer voice 8011 pots
R3(config-dial-peer)#destination-pattern 8012...
R3(config-dial-peer)#preference 1
R3(config-dial-peer)#port 0/0/0:23
R3(config-dial-peer)#translation-profile outgoing 801PSTN
Following are the specific steps that are involved in this example:
1. Phone2-1 in Austin dials 801-2001 (that is, it places a call to San Jose Phone1-1). The
incoming called number, or DNIS, is 801-2001 and the calling number, or ANI, is
2001. The called number matches two dial peers: 8010 and 8011. Dial peer 8011 is
matched because it has the best preference, and the translation-profile outgoing
intersite-out command is applied because this is an outbound call. Thus, the call is
routed to San Jose with DNIS 8012001 and ANI 8022001.
2. If the WAN fails, the call will be routed using dial-peer 8011 with preference 1 configured.
The translation-profile 801 PSTN is used, which modifies the DNIS to
14085552001 (that is, the call can be routed by the PSTN to San Jose). Note that the
ANI is modified using the global voice translation profiles configured on the voice
port, which are used for all PSTN calls.
416 Authorized Self-Study Guide Cisco Voice over IP (CVOICE)
Note In addition to the digit manipulation used for site-code dialing, global voice translation
profiles configured on the voice port are used.