Sie sind auf Seite 1von 16

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 Call Leg 2 Call Leg 3 Call Leg 4


(POTS dial peer) (VoIP dial peer) (VoIP dial peer) (POTS dial peer)

© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-2


End-to-End Calls

Source Destination
R1 R2

POTS Packet POTS


Network
Originating Terminating
Gateway Gateway

Call Leg 1 Call Leg 2 Call Leg 3 Call Leg 4


(POTS Dial (Voice Network (Voice Network (POTS Dial
Peer) Dial Peer) Dial Peer) 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

Packet
VoIP
Network

© 2008 Cisco Systems, Inc. All rights reserved. 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 IP WAN 1/0/0

1/0/1
R2: 10.1.1.2 3112
1/0/0
2222 1/1/0 2/1/0
1/1/0
PSTN
3113

© 2008 Cisco Systems, Inc. All rights reserved. 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
Extension 7777 is calling 8888 R2(config-dial-peer)# port 1/0/0

R1 R2
1/0/0
IP Cloud

Extension 7777 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

1/0/0 3111

R1: 10.1.1.1 R2: 10.1.1.2


1/0/1 3112
1/0/0

2222 1/1/0 2/1/0


1/1/0 3113

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.
 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.
string  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
T string. Using this control character enables the router to wait until all digits are
received before routing the call.

© 2008 Cisco Systems, Inc. All rights reserved. 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 1/1/0
IP Cloud

Extension 7777 R1 R2 Extension 888

dial-peer voice 1 pots dial-peer voice 3 pots


destination 7777 destination 8888
port 1/0/0 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

Das könnte Ihnen auch gefallen