cvoice 6.0 s02 l03
TRANSCRIPT
-
8/14/2019 CVOICE 6.0 S02 L03
1/16
2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.02-1
Configuring Voice Ports
Understanding DialPeers
-
8/14/2019 CVOICE 6.0 S02 L03
2/16
2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.02-2
Dial Peers and Call Legs
PacketNetwork
Call Leg 1(POTS dial peer)
Call Leg 4(POTS dial peer)
Call Leg 2(VoIP dial peer)
Call Leg 3(VoIP dial peer)
Source Destination
-
8/14/2019 CVOICE 6.0 S02 L03
3/16
2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.02-3
End-to-End Calls
Source DestinationR1 R2
OriginatingGateway
TerminatingGateway
Call Leg 1(POTS Dial
Peer)
R1 Inbound
Call Leg 4(POTS Dial
Peer)
R2 Outbound
Call Leg 2(Voice Network
Dial Peer)
R2 Outbound
Call Leg 3(Voice Network
Dial Peer)
R2 Inbound
POTS PacketNetwork
POTS
-
8/14/2019 CVOICE 6.0 S02 L03
4/16
2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.02-4
Types of Dial Peers
A dial peer is an addressable call endpoint.
Dial peers establish logical connections, called call legs, tocomplete 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 networkconnection
-
8/14/2019 CVOICE 6.0 S02 L03
5/16
2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.02-5
Dial Peer
VoIP
Telephony
Device
Voice-EnabledRouter
Voice-EnabledRouter
PacketNetwork
POTS
-
8/14/2019 CVOICE 6.0 S02 L03
6/16
2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.02-6
POTS Dial Peers
Dial Peer 1
Extention 7777
Router 1
Voice Port1/0/0
Configuration for Dial Peer 1 on Router 1:
Router# configure terminalRouter(config)# dial-peer voice 1 potsRouter(config-dialpeer)# destination-pattern 7777Router(config-dialpeer)# port 1/0/0Router(config-Dialpeer)# end
-
8/14/2019 CVOICE 6.0 S02 L03
7/16 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.02-7
Configuring POTS Dial Peers Practice
R1: 10.1.1.1
R2: 10.1.1.2
IP WAN
PSTN
2222
3111
3112
3113
1/0/0
1/0/0
1/0/1
1/1/01/1/0 2/1/0
-
8/14/2019 CVOICE 6.0 S02 L03
8/16 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.02-8
VoIP Dial Peers
IP Cloud
Extension 7777 Extension 8888
R1 R2
L0: 10.18.0.1
R1(config)# dial-peer voice 2 voipR1 (config-dial-peer)# destination pattern 8R1(config-dial-peer)# session target ipv4:10.18.0.1
R2(config)# dial-peer voice 2 potsR2(config-dial-peer)# destination pattern 8R2(config-dial-peer)# forward-digits allR2(config-dial-peer)# port 1/0/0
1/0/0
PBX
Extension 7777 is calling 8888
-
8/14/2019 CVOICE 6.0 S02 L03
9/16 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.02-9
Configuring VoIP Dial Peers Practice
PSTN
R1: 10.1.1.1
2222
1/0/0
1/0/1
1/1/0 2/1/0
R2: 10.1.1.2
1/0/0
1/1/0
3112
3111
3113
-
8/14/2019 CVOICE 6.0 S02 L03
10/16 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.02-10
Common Destination-Pattern Options
(Optional) Control character indicating that the value is a variable-length dialstring. Using this control character enables the router to wait until all digits are
received before routing the call.
T
Series of digits that specify a pattern for the E.164 or private dialing plantelephone number. Valid entries are the digits 0 through 9, the lettersA through D, and the following special characters:
The asterisk (*) and pound sign (#) that appear on standard touch-tone dialpads.
Comma (,), which inserts a pause between digits.
Period (.), which matches any entered digit (this character is used as awildcard).
Percent sign (%), which indicates that the preceding digit occurred zero ormore times; similar to the wildcard usage.
Plus sign (+), which indicates that the preceding digit occurred one or moretimes.
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 othersignificance (matching that character).
Question mark (?), which indicates that the preceding digit occurred eitherzero times or one time.
Brackets ([ ]) indicate a range.
Parentheses (( )), which indicate a pattern.
string
(Optional) Character indicating an E.164 standard number.+
-
8/14/2019 CVOICE 6.0 S02 L03
11/16 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.02-11
Matching Inbound Dial Peers
Configurable parameters used for matching inbound dialpeers:
incoming called-number: Defines the called number or DNISstring
answer-address: Defines the originating calling number or ANIstring
destination-pattern: Uses the calling number (originating or ANIstring) to match the incoming call leg to an inbound dial peer
Port: Attempts to match the configured dial-peer port to the voiceport that is associated with the incoming call (POTS dial peersonly)
-
8/14/2019 CVOICE 6.0 S02 L03
12/16 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.02-12
Default Dial Peer 0
IP Cloud
Extension 7777 Extension 888
10.18.0.1
dial-peer voice 1 potsdestination 7777port 1/0/0
Dial-peer voice 2 voip
destination-pattern 8888session target ipv4:10.18.0.1
1/0/0
Dial Peer 1 Dial Peer 2
dial-peer voice 3 potsdestination 8888port 1/1/0
1/1/0
When extension 7777 calls extension 8888, there is no dial peer on router 2with destination pattern 7777 to match the incoming call leg. Router 2 matchesthe default dial peer 0.
R1 R2
-
8/14/2019 CVOICE 6.0 S02 L03
13/16 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.02-13
Matching Outbound Dial Peers
-
8/14/2019 CVOICE 6.0 S02 L03
14/16 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.02-14
Summary
Dial peers are used to identify call source and destinationendpoints and to define the characteristics that are applied toeach 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 traditionaltelephony network connection.
Voice-network dial peers are components on an IP network.
-
8/14/2019 CVOICE 6.0 S02 L03
15/16 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.02-15
Summary (Cont.)
When a matching inbound dial peer is not found, the routerresorts to the default dial peer.
The destination pattern associates a telephone number with agiven dial peer.
When you are determining how inbound dial peers are matchedon a router, it is important to note whether the inbound call leg ismatched to a POTS or VoIP dial peer.
Outbound dial-peer matching is completed on a digit-by-digitbasis.
-
8/14/2019 CVOICE 6.0 S02 L03
16/16