Understanding Dial Peers
Configuring Voice Ports
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-1
Dial Peers and Call Legs Source
Destination Packet Network
Call Leg 1 (POTS dial peer)
© 2008 Cisco Systems, Inc. All rights reserved.
Call Leg 2 (VoIP dial peer)
Call Leg 3 (VoIP dial peer)
Call Leg 4 (POTS dial peer)
CVOICE v6.0—2-2
End-to-End Calls Source
R1
R2 Packet Network
POTS Originating Gateway
Destination POTS
Terminating Gateway
Call Leg 1 (POTS Dial Peer)
Call Leg 2 (Voice Network Dial Peer)
Call Leg 3 (Voice Network Dial Peer)
Call Leg 4 (POTS Dial Peer)
R1 Inbound
R2 Outbound
R2 Inbound
R2 Outbound
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-3
Types of Dial Peers A dial peer is an addressable call endpoint. Dial peers establish logical connections, called call legs, to complete an end-to-end call. Cisco voice-enabled routers support two types of dial peers: – POTS dial peers: Define the characteristics of a traditional telephony network connection – VoIP dial peers: Define the characteristics of a packet network connection
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-4
Dial Peer Voice-Enabled Router Telephony Device POTS Voice-Enabled Router
VoIP
© 2008 Cisco Systems, Inc. All rights reserved.
Packet Network
CVOICE v6.0—2-5
POTS Dial Peers Dial Peer 1
Voice Port 1/0/0
Router 1
Extention 7777 Configuration for Dial Peer 1 on Router 1: Router# configure terminal Router(config)# dial-peer voice 1 pots Router(config-dialpeer)# destination-pattern 7777 Router(config-dialpeer)# port 1/0/0 Router(config-Dialpeer)# end
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-6
Configuring POTS Dial Peers Practice
3111 R1: 10.1.1.1
1/0/0
IP WAN
1/0/1 R2: 10.1.1.2
3112
1/0/0 2222
1/1/0
2/1/0
PSTN
© 2008 Cisco Systems, Inc. All rights reserved.
1/1/0 3113
CVOICE v6.0—2-7
VoIP Dial Peers R2(config)# dial-peer voice 2 pots R2(config-dial-peer)# destination pattern 8… R2(config-dial-peer)# forward-digits all R2(config-dial-peer)# port 1/0/0
Extension 7777 is calling 8888 R1
R2 IP Cloud
Extension 7777
1/0/0 L0: 10.18.0.1
PBX
Extension 8888
R1(config)# dial-peer voice 2 voip R1 (config-dial-peer)# destination pattern 8… R1(config-dial-peer)# session target ipv4:10.18.0.1
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-8
Configuring VoIP Dial Peers Practice
R1: 10.1.1.1
1/0/0
3111
1/0/1
3112
1/1/0
3113
R2: 10.1.1.2
1/0/0 2222
1/1/0
2/1/0
PSTN
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-9
Common Destination-Pattern Options +
(Optional) Character indicating an E.164 standard number. Series of digits that specify a pattern for the E.164 or private dialing plan telephone number. Valid entries are the digits 0 through 9, the letters A through D, and the following special characters: The asterisk (*) and pound sign (#) that appear on standard touch-tone dial pads. Comma (,), which inserts a pause between digits.
string
T © 2008 Cisco Systems, Inc. All rights reserved.
Period (.), which matches any entered digit (this character is used as a wildcard).
Percent sign (%), which indicates that the preceding digit occurred zero or more times; similar to the wildcard usage.
Plus sign (+), which indicates that the preceding digit occurred one or more times.
Circumflex (^), which indicates a match to the beginning of the string.
Dollar sign ($), which matches the null string at the end of the input string.
Backslash symbol (\), which is followed by a single character, and matches that character. Can be used with a single character with no other significance (matching that character).
Question mark (?), which indicates that the preceding digit occurred either zero times or one time.
Brackets ([ ]) indicate a range.
Parentheses (( )), which indicate a pattern.
(Optional) Control character indicating that the value is a variable-length dial string. Using this control character enables the router to wait until all digits are received before routing the call. CVOICE v6.0—2-10
Matching Inbound Dial Peers Configurable parameters used for matching inbound dial peers: incoming called-number: Defines the called number or DNIS string answer-address: Defines the originating calling number or ANI string destination-pattern: Uses the calling number (originating or ANI string) to match the incoming call leg to an inbound dial peer Port: Attempts to match the configured dial-peer port to the voice port that is associated with the incoming call (POTS dial peers only)
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-11
Default Dial Peer 0 Dial Peer 2
Dial Peer 1
10.18.0.1 1/0/0
Extension 7777
1/1/0
IP Cloud R1
dial-peer voice 1 pots destination 7777 port 1/0/0
R2
Extension 888
dial-peer voice 3 pots destination 8888 port 1/1/0
Dial-peer voice 2 voip destination-pattern 8888 session target ipv4:10.18.0.1 When extension 7777 calls extension 8888, there is no dial peer on router 2 with destination pattern 7777 to match the incoming call leg. Router 2 matches the default dial peer 0. © 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-12
Matching Outbound Dial Peers
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-13
Summary Dial peers are used to identify call source and destination endpoints and to define the characteristics that are applied to each call leg in the call connection. A voice call consists of two call legs per voice router. A dial peer is an addressable call endpoint. POTS dial peers retain the characteristics of a traditional telephony network connection. Voice-network dial peers are components on an IP network.
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-14
Summary (Cont.) When a matching inbound dial peer is not found, the router resorts to the default dial peer. The destination pattern associates a telephone number with a given dial peer. When you are determining how inbound dial peers are matched on a router, it is important to note whether the inbound call leg is matched to a POTS or VoIP dial peer. Outbound dial-peer matching is completed on a digit-by-digit basis.
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-15
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-16