View
14
Download
1
Category
Preview:
Citation preview
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
1/135
1 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Voice Dial Plans, Configuring VoiceInterfaces and Dial Peers
Cisco Networking Academy Program
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
2/135
2 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Call Establishment Principles
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
3/135
3 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Dial-Peer Call Legs
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
4/135
4 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
End-to-End Calls
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
5/135
5 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Configuring Dial Peers
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
6/135
6 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Understanding Dial Peers
A dial peer is an addressable call endpoint.
Dial peers establish logical connections, called calllegs, to complete an end-to-end call.
Cisco voice-enabled routers support two typesof dial peers:
POTS dial peers: Connect to a traditionaltelephony network
VoIP dial peers: Connect over a packet network
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
7/1357 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Dial Peer
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
8/1358 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
POTS Dial Peers
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
9/1359 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Practice Item 1:POTS Dial-Peer Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
10/13510 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
VoIP Dial Peers
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
11/13511 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Practice Item 2:VoIP Dial-Peer Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
12/13512 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Common Destination-Pattern Options
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
13/13513 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Default Dial Peer 0
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
14/13514 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
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 thevoice port associated with the incoming call (POTS dial
peers only)
Configurable parameters used for matching inbounddial peers:
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
15/13515 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Practice Item 3:Matching Inbound Dial Peers
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
16/13516 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Matching Outbound Dial Peers
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
17/13517 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Hunt-Group Commands
preferencedial-peer command
Specifies which dial peers in a hunt group will be used first
Options are 0 through 9 with 0 being most preferred
huntstopdial-peer commandStops dial-peer hunting on the dial peer if it is not matched
dial-peer huntglobal command
Specifies the global hunt-selection order for all huntgroups
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
18/13518 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Hunt-Group Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
19/13519 2005 Cisco Systems, Inc. All rights reserved.Cisco PublicIP Telephony
Practice Item 4:Configuring Hunt Groups
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
20/13520 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Digit Consumption and Forwarding
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
21/13521 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Digit Collection
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
22/13522 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Digit Manipulation Commands
prefix
Dial-peer command
Adds digits to the front of the dial string before it is forwarded tothe telephony interface
forward-digits
Dial-peer command
Controls the number of digits forwarded to the telephony interface
num-exp
Global command
Expands an extension into a full telephone number or replacesone number with another
translation-rule
Global and dial-peer command
Digit translation rules used to manipulate the calling number digits,or ANI, or the called number digits, or DNIS, for a voice call
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
23/13523 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Practice Item 5:Digit Manipulation
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
24/13524 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Special-Purpose Connections
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
25/13525 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Special-PurposeConnection Commands
connection plar
Associates a voice port directly with a dial peer
connection plar-opx
Extends a PBX connection to a remote location
connection trunk
Emulates a permanent trunk connection to a PBX
connection tie-lineEmulates a temporary tie-line trunk to a PBX
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
26/13526 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
PLAR Connection
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
27/135
27 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
PLAR-OPX Connection
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
28/135
28 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Trunk Connection
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
29/135
29 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Tie-Line Connection
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
30/135
30 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Building a Scalable Numbering Plan
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
31/135
31 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Dial plans contain specific dialing patterns for a user who
wants to reach a particular telephone number.
Dial Plans
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
32/135
32 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Need for a Scalable Numbering Plan
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
33/135
33 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Attributes of a Scalable Numbering Plan
Logic distribution
Hierarchical design
Simplicity in provisioning
Reduction in postdial delay
Availability and fault tolerance
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
34/135
34 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Hierarchical Numbering Plans
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
35/135
35 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Challenges Associated with Integration
Varying number lengths
Specialized services
Voice mail
Necessity of prefixes or area codes
International dialing consideration
I t ti I t l d P bli
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
36/135
36 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Integrating Internal and PublicNumbering Plans
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
37/135
37 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Number Normalization
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
38/135
38 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Configuring Voice Ports
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
39/135
39 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Local Calls
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
40/135
40 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
On-Net Calls
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
41/135
41 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Off-Net Calls
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
42/135
42 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
PLAR
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
43/135
43 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
PBX-to-PBX Calls
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
44/135
44 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Cisco CallManager-to-Cisco CallManager
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
45/135
45 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
On-Net to Off-Net Call
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
46/135
46 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
FXS Voice Port Configuration
signal
cptone
description
ring frequency
ring cadence
disconnect-ack
busyout
station id name
station id number
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
47/135
47 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
FXS Voice Port Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
48/135
48 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
FXO Voice Port Configuration
signal
ring number
dial-type
description
supervisory disconnect
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
49/135
49 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
FXO Voice Port Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
50/135
50 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
E&M Voice Port Configuration
signal
operation
type
auto-cut-through
description
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
51/135
51 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
E&M Voice Port Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
52/135
52 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Timers and Timing Configuration
timeouts initial
timeouts interdigit
timeouts ringing
timing digit
timing interdigit
timing hookflash-in/hookflash-out
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
53/135
53 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Timers and Timing Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
54/135
54 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Basic T1/E1 Controller Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
55/135
55 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
T1/E1 Digital-Voice Configuration
Create digital voice ports with the ds0-groupcommand
ds0-group-no
t imeslot- l ist
signal- type
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
56/135
56 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Digital-Voice Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
57/135
57 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
ISDN Configuration
Global configuration
isdn switch-type
T1/E1 controller configuration
pri-group
D channel configuration
isdn incoming-voice configuration
QSIG configurationQSIG signaling
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
58/135
58 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
ISDN Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
59/135
59 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
CCS Options
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
60/135
60 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Verifying and Troubleshooting Voice Ports
1. Check for dial tone (FXS only).
2. Check for DTMF tones (FXS only).
3. Use show voice portto check configuration.
4. Use show voice portto ensure port is enabled.
5. Be sure PBX configuration is compatible withvoice port.
6. Check physical installation of hardware.
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
61/135
61 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Commands to Verify Voice Ports
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
62/135
62 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Test Commands
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
63/135
63 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
ISDN Commands
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
64/135
64 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Adjusting Voice Quality
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
65/135
65 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Factors That Affect Voice Quality
Transmit and receive power levels
Input gain
Output attenuation
The following factors affect voice quality:
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
66/135
66 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Calculating Decibel Levels
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
67/135
67 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Configuring Voice Port Voice-Quality Tuning
input-gain
output-attenuation
impedance
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
68/135
68 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Configuration Examples
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
69/135
69 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Echo Cancellation
Echo cancellation is configured at the voice portlevel.
Echo cancellation is enabled by default.
Echo cancellation coverage adjusts the size of theecho canceller.
Nonlinear echo cancellation shuts off any signal ifnear-end speech is detected.
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
70/135
70 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Analog and Digital Voice Interfaces
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
71/135
71 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Local-Loop Connections
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
72/135
72 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Analog Voice Interface: FXS
Connects directly to analog phones or faxes
Used to provision local service
Provides power, call progress tones, and dial tone
Foreign exchange station interface
FXS
FXS
FXS
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
73/135
73 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Analog Voice Interface: FXO
PSTN
FXO FXO
Connects directly to office equipment
Used to make and receive calls from the PSTN
Can be used to connect through the PSTN to another site
Answer inbound calls arriving
Foreign exchange office interface
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
74/135
74 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Analog Voice Interface: E&M
E&M E&MTie Line
E&M
MOH
E&M interface
Connects two sites together with a leased connection
Allows for the use of non PSTN numbers
Used to create tie-lines
Commonly used to connect to external Music on Hold sources
E&M interface
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
75/135
75 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Channel Associated Signaling Systems
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
76/135
76 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Channel Associated Signaling Systems: T1
CAS T1
PSTN
Up to 24 Channels for voice
Each channel is a DS0
8000 samples per second
1 byte per sample
Partial T1 may be available
Signaling travels in-band
CAS T1s have the following characteristics
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
77/135
77 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Channel Associated Signaling Systems: E1
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
78/135
78 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Channel Associated Signaling Systems: E1
CAS E1
PSTN
Up to 30 Channels for voice
Each channel is a DS0
8000 samples per second
1 byte per sample
Partial E1 my be available
Signaling is carried out of band
CAS E1s have the following characteristics
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
79/135
79 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Common-Channel Signaling
ISDN PRI/BRI
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
80/135
80 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
ISDN PRI/BRI
PRI/BRI
PRI 23B+D
BRI 2B +D
Carrier
Carrier
Allows for a multiple services through one connection
Well adapted for voice
64kbps channels
Q.931 on the D channel
Supports standards based functions
Supports proprietary implementations
International Utilization
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
81/135
81 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Configuring Analog and Digital Voice
Interfaces
FXS V i P t C fi ti
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
82/135
82 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
FXS Voice Port Configuration
signal
cptone
description
ring frequency
ring cadence
disconnect-ack
busyout
station id name
station id number
FXS V i P t C fi ti
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
83/135
83 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
FXS Voice Port Configuration
CMERouter(config)#voice-port 1/0/0
CMERouter(config-voiceport)#signal loop-start
CMERouter(config-voiceport)#cptone GB
CMERouter(config-voiceport)#ring cadence pattern01
CMERouter(config)#voice-port 1/0/1
CMERouter(config-voiceport)#signal loop-start
CMERouter(config-voiceport)#cptone GB
CMERouter(config-voiceport)#ring cadence pattern02
FXS Port
1/0/0
FXS Port1/0/1
FXO V i P t C fi ti
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
84/135
84 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
FXO Voice Port Configuration
signal
ring number
dial-type
description
supervisory disconnect
FXO V i P t C fi ti
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
85/135
85 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
FXO Voice Port Configuration
CMERouter(config)#voice-port 1/1/0
CMERouter(config-voiceport)#signal ground-start
CMERouter(config-voiceport)#ring number 3CMERouter(config-voiceport)#dial-type dtmf
CMERouter(config-voiceport)#description Connection_to_PSTN
FX0 Port1/1/0
PSTN
E&M V i P t C fi ti
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
86/135
86 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
E&M Voice Port Configuration
signal
operation
type
auto-cut-through
description
FXS V i P t C fi ti
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
87/135
87 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
FXS Voice Port Configuration
CMERouter(config)#voice-port 1/1/0
CMERouter(config-voiceport)#signal immediate
CMERouter(config-voiceport)#auto-cut-through
CMERouter(config-voiceport)#operation 4-wireCMERouter(config-voiceport)#type 1
CMERouter(config-voiceport)#description MoH_Device
E&M Port1/1/0
MOH
BRI Reference Points
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
88/135
88 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
BRI Reference Points
ISDN Configuration Tasks
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
89/135
89 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
ISDN Configuration Tasks
PSTNISDN PRI or BRI
Select the ISDN switch type either globally or on aninterface
The interface setting will override the global setting Configure the interface or controller settings
ISDN BRI Configuration Commands
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
90/135
90 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
ISDN BRI Configuration Commands
isdn switch-type switch-typeCMERouter(config)#
Sets the ISDN switch type globally
isdn switch-type switch-typeCMERouter(config-if)#
Sets the ISDN switch type on an interface (overrides
the global setting if it exists)
interface BRImod/port
CMERouter(config)#
Defines a SPID if assigned by the carrier (found in
North America)
ISDN BRI Configuration Commands
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
91/135
91 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
ISDN BRI Configuration Commands
isdn spid1 spid-number [ldn]
CMERouter(config-int)#
Defines SPID 1 if assigned by the carrier (found in
North America)
isdn spid2 spid-number [ldn]
CMERouter(config-int)#
Defines SPID 2 if assigned by the carrier (found inNorth America)
ISDN Configuration Tasks
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
92/135
92 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
ISDN Configuration Tasks
ISDNBRI 0/1
CMERouter(config)#isdn switch-type basic-5ess
CMERouter(config)#interface bri 0/1
CMERouter(config-int)#isdn spid1 20655512340001CMERouter(config-int)#isdn spid2 20655512340002
Timers and Timing Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
93/135
93 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Timers and Timing Configuration
timeouts initial
timeouts interdigit
timeouts ringing
timing digit
timing interdigit
timing hookflash-in/hookflash-out
FXS Voice Port Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
94/135
94 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
FXS Voice Port Configuration
CMERouter(config)#voice-port 1/0/0CMERouter(config-voiceport)#signal loop-start
CMERouter(config-voiceport)#cptone GB
CMERouter(config-voiceport)#ring cadence pattern01
CMERouter(config-voiceport)#timeouts initial 15
CMERouter(config-voiceport)#timeouts interdigit 15
CMERouter(config-voiceport)#timeouts ringing 120
CMERouter(config-voiceport)#timing hookflash-in 500
FXS Port1/0/0
Basic T1/E1 Controller Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
95/135
95 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Basic T1/E1 Controller Configuration
Basic T1/E1 Controller Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
96/135
96 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
linecode {ami | b8zs}CMERouter(config-control)#
Configures the linecode for a T1 line
linecode {ami | hdb3}
CMERouter(config-control)#
Configures the linecode for a E1 line
Basic T1/E1 Controller Configuration
Basic T1/E1 Controller Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
97/135
97 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
framing {sf | esf}CMERouter(config-control)#
Configures the framing for a T1 line
framing {crc4 | no-crc4 | australia}
CMERouter(config-control)#
Configures the framing for a E1 line
Basic T1/E1 Controller Configuration
Basic T1/E1 Controller Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
98/135
98 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
ds0-group ds0-group-notimeslots timeslot-listtype{e&m-delay-dial | e&m-fgd | e&m-immediate-start |e&m-wink-start | ext-sig | fgd-eana | fxo-ground-start | fxo-loop-start | fxs-ground-start | fxs-
loop-start}
CMERouter(config-control)#
Creates the voice ports of the T1 or E1 and the
signaling that is used
Basic T1/E1 Controller Configuration
clock source {line | internal}CMERouter(config-control)#
Sets the source of the clocking
Basic T1/E1 Controller Configuration
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
99/135
99 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Basic T1/E1 Controller Configuration
CMERouter(config)#controller T1 1/0
CMERouter(config-controller)#linecode b8zs
CMERouter(config-controller)#framing esf
CMERouter(config-controller)#ds0-group 1 timeslots 1-24 type fxo-groundstart
CMERouter(config-controller)#clock source line
CMERouter(config)#controller E1 1/0
CMERouter(config-controller)#linecode hdb3
CMERouter(config-controller)#framing crc4
CMERouter(config-controller)#ds0-group 1 timeslots 1-15 type e&m-wink-start
CMERouter(config-controller)#clock source line
T1 1/0PSTN
PRI Reference Points
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
100/135
100 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
PRI Reference Points
ISDN PRI Configuration Commands
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
101/135
101 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
ISDN PRI Configuration Commands
isdn switch-type switch-typeCMERouter(config)#
Sets the ISDN switch type globally
isdn switch-type switch-typeCMERouter(config-controller)#
Sets the ISDN switch type on an interface (overrides
the global setting if it exists)
controller {t1 | e1} {slot/port | unit-number}
CMERouter(config)#
Defines a SPID if assigned by the carrier (found in
North America)
ISDN PRI Configuration Commands
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
102/135
102 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
ISDN PRI Configuration Commands
pri-group timeslots range
CMERouter(config-controller)#
Sets the PRI group with a range of timeslots
interface serial slot/port:timeslot
CMERouter(config-int)#
Sets the PRI D channel
ISDN Configuration Tasks
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
103/135
103 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
ISDN Configuration Tasks
ISDNPRI 0/1
CMERouter(config)#isdn switch-type primary-niCMERouter(config)#controller t1 0/1
CMERouter(config-controller)#pri-group timeslots 1-24
CMERouter(config-controller)#framing esf
CMERouter(config-controller)#linecode b8zs
CMERouter(config-controller)#clock source line
CMERouter(config)#interface serial:23
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
104/135
104 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Dial Peers
What is a Dial Peer?
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
105/135
105 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
What is a Dial Peer?
A dial peer is an addressable call endpoint.
Dial peers establish logical connections, called calllegs, to complete an end-to-end call.
Cisco voice-enabled routers support two types ofdial peers:
POTS dial peers: Connect to a traditional telephonynetwork
VoIP dial peers: Connect over a packet network
Dial Peer
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
106/135
106 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Dial Peer
POTS Dial Peers
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
107/135
107 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
POTS Dial Peers
VoIP Dial Peers
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
108/135
108 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
VoIP Dial Peers
Destination-Pattern Options
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
109/135
109 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Destination Pattern Options
Default Dial Peer 0
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
110/135
110 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Default Dial Peer 0
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
111/135
111 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Call Setup and Digit Manipulation
End-to-End Calls
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
112/135
112 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
End to End Calls
Matching Inbound Dial Peers
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
113/135
113 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
g
incoming called-numberDefines the called number or dialed number identification service(DNIS) string
answer-addressDefines the originating calling number or automatic numberidentification (ANI) string
destination-patternUses the calling number (originating or ANI string) to match the
incoming call leg to an inbound dial peer
portAttempts to match the configured dial-peer port to the voice-portassociated with the incoming call (POTS dial peers only)
Configurable parameters used for matchinginbound dial peers:
Matching Outbound Dial Peers
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
114/135
114 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
atc g Outbou d a ee s
Digit Consumption and Forwarding
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
115/135
115 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
g p g
Digit Collection
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
116/135
116 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
g
Digit Manipulation Commands
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
117/135
117 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
g p
prefixDial-peer command
Adds digits to the front of the dial string before it is forwarded to thetelephony interface
forward-digits
Dial-peer commandControls the number of digits forwarded to the telephony interface
number expansion table
Global command (num-exp)
Expands an extension into a full telephone number or replaces onenumber with another
digit translation
Global and dial-peer command
Digit translation rules are used to manipulate the calling number, or ANI,or the called number, or DNIS, digits for a voice call
PLAR Connection
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
118/135
118 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
119/135
119 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Class of Restriction
Class of Restriction (COR)
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
120/135
120 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Class of Restriction (COR)
Provides a way to deny certain calls based upon the incomingand outgoing settings on dial-peers or ephone-dns
Each dial-peer or ephone-dn can have one incoming COR andone outgoing COR
Can be used to control access to dialable destinations thatare internal to the enterprise or external to the enterprise
Incoming COR list indicates the capacity of the dial peer toinitiate certain classes of calls.
Outgoing COR list indicates the capacity required for anincoming dial peer to deliver a call via this outgoing dial peer
Class of Restriction
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
121/135
121 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Incoming COR Outgoing COR
or or
The incoming COR is like having one or more keys
The lack of an incoming COR is like having amaster key that can unlock all locks
The outgoing COR is like a lock or locks
The lack of an outgoing COR is like having no lock
Class of Restriction
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
122/135
122 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
COR List on Incoming
dial-peer or ephone-dn
COR List onOutgoing dial-peer or
ephone-dn
Result Reason
No COR No COR Call Succeeds COR not applied
No COROutgoing COR
appliedCall Succeeds
The no (null) incomingCOR condition has thehighest COR priority
Incoming COR applied No COR Call SucceedsThe incoming COR list isa superset of the no (null)
outgoing COR list
Incoming COR appliedis a superset ofoutgoing COR
Outgoing COR
appliedCall Succeeds
The incoming COR list isa superset of theoutgoing COR list
Incoming COR appliednot a superset of
outgoing COR
Outgoing CORapplied
Call cannot becompleted
The incoming COR list isNOT a superset of the
outgoing COR list
Steps to Configure Class of Restriction
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
123/135
123 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Step 1Configure the Class of Restriction names
Step 2Configure the Class of Restriction lists andmembers
Step 3Assign the COR list to the dial peers
Step 4 - Assign the COR to the ephone-dns
Steps to Configure Class of Restriction
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
124/135
124 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
dial-peer cor customCMERouter(config)#
Enters COR config mode where classes of
restrictions are specified
name class-name
CMERouter(config-dp-cor)#
Used to specify a class of restriction
Step 1Configure the Class of Restriction names
Steps to Configure Class of Restriction
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
125/135
125 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
dial-peer cor list list-nameCMERouter(config)#
Provides a name for a list of restrictions
member class-name
CMERouter(config-dp-corlist)#
Adds a COR class to this list of restrictions
Step 2Configure the Class of Restriction lists and
members
Steps to Configure Class of Restriction
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
126/135
126 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
dial-peer voice number{pots | voip}CMERouter(config)#
Defines a dial-peer and enters dial-peer config mode
corlist {incoming | outgoing} list-name
CMERouter(config-dial-peer)#
Specifies a COR list to be used when the dial-peer is
either the incoming or outgoing dial-peer
Step 3Assign the COR list to the dial peers
Steps to Configure Class of Restriction
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
127/135
127 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
ephone-dn tagCMERouter(config)#
Defines an ephone-dn and enters ephone-dn mode
cor {incoming | outgoing} list-name
CMERouter(config-ephone-dn)#
Specifies a COR list to be used when the ephone-dn
is used as either the incoming or outgoing part of a
call
Step 4Assign the COR list to the ephone-dns
Class of Restriction (COR)
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
128/135
128 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Ephone-dn 1Employee
Ext 1000
Ephone-dn 2Executive
Ext 2000
dial-peer cor custom
name 1xxx
name 2xxx
dial-peer cor list Executive
member 1xxx
member 2xxx
dial-peer cor list Employee
member 1xxx
ephone-dn 1
number 1000
cor incoming Employeeephone-dn 2
number 2000
cor outgoing Executives
The executive can call the employee but the
employee cannot call the executive The incoming COR Employee is not a superset
of the Executive, so the call will not succeed
Class of RestrictionCase Study
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
129/135
129 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Class of Restriction Case StudyXYZ company
The XYZ company wishes to prevent toll fraud by restricting thedestinations on the PSTN that IP phones and analog phonesattached to FXS port can call.
There should be no restrictions internally; everyone internal shouldbe able to call anyone else internal
All phones MUST be able to call 911 Within the XYZ company there are Lobby phones, Employee phones,
Sales, and Executive phones
The Lobby phone should be able to call only 911 on the PSTN
The Employee phones should be able to call 911 and local calls onthe PSTN
The Sales phones should be able to call 911, local calls, anddomestic long distance on the PSTN
The executives should be able to call 911, local call, domestic longdistance, and international on the PSTN
No one should be able to call 900 numbers
Class of RestrictionCase Study
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
130/135
130 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
dial-peer cor custom
name 911
name local
name long_distancename international
name 900
911
local
long_distance
international
900
Step 1 - Define the classes of restriction
Class of RestrictionCase Study
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
131/135
131 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
dial-peer cor list call911
member 911
dial-peer cor list callLocal
member local
dial-peer cor list callLD
member long_distance
dial-peer cor list callIntmember international
dial-peer cor list call900
member 900
dial-peer cor list Lobby
member 911
dial-peer cor list Employee
member 911
member local
dial-peer cor list Sales
member 911member local
member long_distance
dial-peer cor list Executive
member 911
member local
member long_distance
member international
Step 2Define the COR lists and members
Class of RestrictionCase Study
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
132/135
132 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
dial-peer voice 1 pots
destination-pattern 911
port 1/0/0
corlist outgoing call911
dial-peer voice 2 pots
destination-pattern 1[2-9]..[2-9]......
port 1/0/0
corlist outgoing callLD
dial-peer voice 3 pots
destination-pattern [2-9]......
port 1/0/0
corlist outgoing callLocal
dial-peer voice 5 pots
destination-pattern 1011T
port 1/0/0corlist outgoing callInt
dial-peer voice 6 pots
destination-pattern 1900.......
port 1/0/0
corlist outgoing call900
Dial-peer 1COR out call911
Dial-peer 2COR out callLD
Dial-peer 3COR out callLocal
Dial-peer 4COR out callInt
Dial-peer 5COR out call900
Step 3Assign the COR to
the PSTN dial-peers
Class of RestrictionCase Study
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
133/135
133 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
ephone-dn 1
number 1001
cor incoming Lobby
ephone-dn 2
number 1002
cor incoming Employee
ephone-dn 3
number 1003
cor incoming Sales
ephone-dn 4
number 1004
cor incoming Executive
Ephone-dn 1COR in Lobby
Ext 1001
Ephone-dn 2COR in Employee
Ext 1002
Ephone-dn 3COR in Sales
Ext 1003
Ephone-dn 4COR in Executive
Ext 1004
Step 4Assign the COR to the ephone-dns
Class of RestrictionCase Study
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
134/135
134 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Ephone-dn 1COR in Lobby
Ext 1001
Ephone-dn 2
COR in EmployeeExt 1002
Ephone-dn 3COR in Sales
Ext 1003
Ephone-dn 4COR in Executive
Ext 1004
Results:
The Lobby ephone-dn can only call911 on the PSTN
The Employee ephone-dn can call911 and local calls on the PSTN
The Sales ephone-dn can call 911,local calls, and long distance on thePSTN
The Executive ephone-dn can call911, local calls, long distance, and
international on the PSTN
No one can call 900 numbers
5/21/2018 4.Voice Dial Plan Configuring Voice Interfaces Dial Peers
135/135
Recommended