voice dial plans, configuring voice interfaces and dial peers · voice dial plans, configuring...

135
Voice Dial Plans, Configuring Voice Interfaces and Dial Peers 1 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public IP Telephony Cisco Networking Academy Program

Upload: others

Post on 11-Jun-2020

14 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Voice Dial Plans, Configuring Voice Interfaces and Dial Peers

1© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Cisco Networking Academy Program

Page 2: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Call Establishment Principles

2© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 3: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Dial-Peer Call Legs

3© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 4: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

End-to-End Calls

4© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 5: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Configuring Dial Peers

5© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 6: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Understanding 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

6© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Cisco voice-enabled routers support two types of dial peers:

POTS dial peers: Connect to a traditional telephony network

VoIP dial peers: Connect over a packet network

Page 7: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Dial Peer

7© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 8: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

POTS Dial Peers

8© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 9: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Practice Item 1: POTS Dial-Peer Configuration

9© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 10: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

VoIP Dial Peers

10© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 11: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Practice Item 2:VoIP Dial-Peer Configuration

11© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 12: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Common Destination-Pattern Options

12© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 13: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Default Dial Peer 0

13© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 14: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Matching Inbound Dial Peers

• incoming called-number

Defines the called number or DNIS string

• answer-address

Configurable parameters used for matching inbound dial peers:

14© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• 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 associated with the incoming call (POTS dial peers only)

Page 15: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Practice Item 3:Matching Inbound Dial Peers

15© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 16: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Matching Outbound Dial Peers

16© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 17: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Hunt-Group Commands

• preference—dial-peer command

Specifies which dial peers in a hunt group will be used first

Options are 0 through 9 with 0 being most preferred

• huntstop—dial-peer command

17© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• huntstop—dial-peer command

Stops dial-peer hunting on the dial peer if it is not matched

• dial-peer hunt—global command

Specifies the global hunt-selection order for all hunt groups

Page 18: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Hunt-Group Configuration

18© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 19: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Practice Item 4:Configuring Hunt Groups

19© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 20: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Digit Consumption and Forwarding

20© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 21: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Digit Collection

21© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 22: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Digit Manipulation Commands

• prefix

Dial-peer command

Adds digits to the front of the dial string before it is forwarded to the telephony interface

• forward-digits

Dial-peer command

22© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

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 replaces one 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

Page 23: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Practice Item 5:Digit Manipulation

23© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 24: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Special-Purpose Connections

24© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 25: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Special-Purpose Connection Commands

• connection plar

Associates a voice port directly with a dial peer

• connection plar-opx

Extends a PBX connection to a remote location

25© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Extends a PBX connection to a remote location

• connection trunk

Emulates a permanent trunk connection to a PBX

• connection tie-line

Emulates a temporary tie-line trunk to a PBX

Page 26: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

PLAR Connection

26© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 27: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

PLAR-OPX Connection

27© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 28: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Trunk Connection

28© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 29: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Tie-Line Connection

29© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 30: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Building a Scalable Numbering Plan

30© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 31: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Dial Plans

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.

Page 32: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Need for a Scalable Numbering Plan

32© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 33: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Attributes of a Scalable Numbering Plan

• Logic distribution

• Hierarchical design

• Simplicity in provisioning

• Reduction in postdial delay

33© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Reduction in postdial delay

• Availability and fault tolerance

Page 34: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Hierarchical Numbering Plans

34© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 35: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Challenges Associated with Integration

• Varying number lengths

• Specialized services

• Voice mail

• Necessity of prefixes or area codes

35© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Necessity of prefixes or area codes

• International dialing consideration

Page 36: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Integrating Internal and PublicNumbering Plans

36© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 37: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Number Normalization

37© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 38: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Configuring Voice Ports

38© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 39: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Local Calls

39© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 40: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

On-Net Calls

40© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 41: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Off-Net Calls

41© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 42: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

PLAR

42© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 43: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

PBX-to-PBX Calls

43© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 44: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Cisco CallManager-to-Cisco CallManager

44© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 45: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

On-Net to Off-Net Call

45© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 46: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

FXS Voice Port Configuration

• signal

• cptone

• description

• ring frequency

46© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• ring frequency

• ring cadence

• disconnect-ack

• busyout

• station id name

• station id number

Page 47: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

FXS Voice Port Configuration

47© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 48: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

FXO Voice Port Configuration

• signal

• ring number

• dial-type

• description

48© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• description

• supervisory disconnect

Page 49: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

FXO Voice Port Configuration

49© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 50: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

E&M Voice Port Configuration

• signal

• operation

• type

• auto-cut-through

50© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• auto-cut-through

• description

Page 51: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

E&M Voice Port Configuration

51© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 52: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Timers and Timing Configuration

• timeouts initial

• timeouts interdigit

• timeouts ringing

• timing digit

52© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• timing digit

• timing interdigit

• timing hookflash-in/hookflash-out

Page 53: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Timers and Timing Configuration

53© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 54: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Basic T1/E1 Controller Configuration

54© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 55: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

T1/E1 Digital-Voice Configuration

• Create digital voice ports with the ds0-groupcommand

ds0-group-no

timeslot-list

signal-type

55© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

signal-type

Page 56: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Digital-Voice Configuration

56© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 57: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

ISDN Configuration

• Global configuration

isdn switch-type

• T1/E1 controller configuration

pri-group

57© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

pri-group

• D channel configuration

isdn incoming-voice configuration

• QSIG configuration

QSIG signaling

Page 58: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

ISDN Configuration

58© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 59: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

CCS Options

59© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 60: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Verifying and Troubleshooting Voice Ports

1. Check for dial tone (FXS only).

2. Check for DTMF tones (FXS only).

3. Use show voice port to check configuration.

4. Use show voice port to ensure port is enabled.

60© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

4. Use show voice port to ensure port is enabled.

5. Be sure PBX configuration is compatible with voice port.

6. Check physical installation of hardware.

Page 61: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Commands to Verify Voice Ports

61© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 62: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Test Commands

62© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 63: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

ISDN Commands

63© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 64: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Adjusting Voice Quality

64© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 65: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Factors That Affect Voice Quality

• Transmit and receive power levels

• Input gain

• Output attenuation

The following factors affect voice quality:

65© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Output attenuation

Page 66: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Calculating Decibel Levels

66© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 67: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Configuring Voice Port Voice-Quality Tuning

67© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• input-gain

• output-attenuation

• impedance

Page 68: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Configuration Examples

68© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 69: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Echo Cancellation

• Echo cancellation is configured at the voice port level.

• Echo cancellation is enabled by default.

• Echo cancellation coverage adjusts the size of the

69© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Echo cancellation coverage adjusts the size of the echo canceller.

• Nonlinear echo cancellation shuts off any signal if near-end speech is detected.

Page 70: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Analog and Digital Voice Interfaces

70© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 71: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Local-Loop Connections

71© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 72: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Analog Voice Interface: FXS

FXS

FXS

72© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• 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

Page 73: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Analog Voice Interface: FXO

PSTN

FXO FXO

73© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• 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

Page 74: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Analog Voice Interface: E&M

E&M E&MTie Line

E&M

MOH

74© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

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

Page 75: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Channel Associated Signaling Systems

75© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 76: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Channel Associated Signaling Systems: T1

CAS T1

PSTN

76© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• 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 T1’s have the following characteristics

Page 77: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Channel Associated Signaling Systems: E1

77© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 78: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Channel Associated Signaling Systems: E1

CAS E1

PSTN

78© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• 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 E1’s have the following characteristics

Page 79: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Common-Channel Signaling

79© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 80: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

ISDN PRI/BRI

PRI 23B+D

BRI 2B +D

Carrier

Carrier

80© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

PRI/BRI

• 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

Page 81: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Configuring Analog and Digital Voice Interfaces

81© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Interfaces

Page 82: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

FXS Voice Port Configuration

• signal

• cptone

• description

• ring frequency

82© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• ring frequency

• ring cadence

• disconnect-ack

• busyout

• station id name

• station id number

Page 83: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

FXS Voice Port Configuration

CMERouter(config)#voice-port 1/0/0

FXS Port 1/0/0

FXS Port 1/0/1

83© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

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

Page 84: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

FXO Voice Port Configuration

• signal

• ring number

• dial-type

• description

84© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• description

• supervisory disconnect

Page 85: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

FXO Voice Port Configuration

FX0 Port 1/1/0

PSTN

85© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

CMERouter(config)#voice-port 1/1/0

CMERouter(config-voiceport)#signal ground-start

CMERouter(config-voiceport)#ring number 3

CMERouter(config-voiceport)#dial-type dtmf

CMERouter(config-voiceport)#description Connection_to_PSTN

Page 86: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

E&M Voice Port Configuration

• signal

• operation

• type

• auto-cut-through

86© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• auto-cut-through

• description

Page 87: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

FXS Voice Port Configuration

E&M Port 1/1/0

MOH

87© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

CMERouter(config)#voice-port 1/1/0

CMERouter(config-voiceport)#signal immediate

CMERouter(config-voiceport)#auto-cut-through

CMERouter(config-voiceport)#operation 4-wire

CMERouter(config-voiceport)#type 1

CMERouter(config-voiceport)#description MoH_Device

Page 88: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

BRI Reference Points

88© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 89: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

ISDN Configuration Tasks

PSTNISDN PRI or BRI

89© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Select the ISDN switch type either globally or on an interface

• The interface setting will override the global setting

• Configure the interface or controller settings

Page 90: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

ISDN BRI Configuration Commands

isdn switch-type switch-type

CMERouter(config)#

• Sets the ISDN switch type globally

interface BRI mod/port

CMERouter(config)#

90© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

isdn switch-type switch-type

CMERouter(config-if)#

• Sets the ISDN switch type on an interface (overrides the global setting if it exists)

interface BRI mod/port

• Defines a SPID if assigned by the carrier (found in North America)

Page 91: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

ISDN BRI Configuration Commands

isdn spid1 spid-number [ldn]

CMERouter(config-int)#

• Defines SPID 1 if assigned by the carrier (found in North America)

91© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

isdn spid2 spid-number [ldn]

CMERouter(config-int)#

• Defines SPID 2 if assigned by the carrier (found in North America)

Page 92: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

ISDN Configuration Tasks

ISDNBRI 0/1

92© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

CMERouter(config)#isdn switch-type basic-5ess

CMERouter(config)#interface bri 0/1

CMERouter(config-int)#isdn spid1 20655512340001

CMERouter(config-int)#isdn spid2 20655512340002

Page 93: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Timers and Timing Configuration

• timeouts initial

• timeouts interdigit

• timeouts ringing

• timing digit

93© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• timing digit

• timing interdigit

• timing hookflash-in/hookflash-out

Page 94: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

FXS Voice Port Configuration

CMERouter(config)#voice-port 1/0/0

FXS Port 1/0/0

94© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

CMERouter(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

Page 95: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Basic T1/E1 Controller Configuration

95© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 96: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

linecode {ami | b8zs}

CMERouter(config-control)#

• Configures the linecode for a T1 line

Basic T1/E1 Controller Configuration

96© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Configures the linecode for a T1 line

linecode {ami | hdb3}

CMERouter(config-control)#

• Configures the linecode for a E1 line

Page 97: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

framing {sf | esf}

CMERouter(config-control)#

• Configures the framing for a T1 line

Basic T1/E1 Controller Configuration

97© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Configures the framing for a T1 line

framing {crc4 | no-crc4 | australia}

CMERouter(config-control)#

• Configures the framing for a E1 line

Page 98: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

ds0-group ds0-group-no timeslots timeslot-list type

{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)#

Basic T1/E1 Controller Configuration

98© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

loop-start}

• Creates the voice ports of the T1 or E1 and the signaling that is used

clock source {line | internal}

CMERouter(config-control)#

• Sets the source of the clocking

Page 99: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Basic T1/E1 Controller Configuration

CMERouter(config)#controller T1 1/0

T1 1/0PSTN

99© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

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

Page 100: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

PRI Reference Points

100© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 101: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

ISDN PRI Configuration Commands

isdn switch-type switch-type

CMERouter(config)#

• Sets the ISDN switch type globally

controller {t1 | e1} {slot/port | unit-number}

CMERouter(config)#

101© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

isdn switch-type switch-type

CMERouter(config-controller)#

• Sets the ISDN switch type on an interface (overrides the global setting if it exists)

controller {t1 | e1} {slot/port | unit-number}

• Defines a SPID if assigned by the carrier (found in North America)

Page 102: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

ISDN PRI Configuration Commands

pri-group timeslots range

CMERouter(config-controller)#

• Sets the PRI group with a range of timeslots

102© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

interface serial slot/port:timeslot

CMERouter(config-int)#

• Sets the PRI D channel

Page 103: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

ISDN Configuration Tasks

ISDNPRI 0/1

CMERouter(config)#isdn switch-type primary-ni

103© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

CMERouter(config)#isdn switch-type primary-ni

CMERouter(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

Page 104: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Dial Peers

104© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 105: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

What is a Dial Peer?

• 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

105© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Cisco voice-enabled routers support two types of dial peers:

POTS dial peers: Connect to a traditional telephony network

VoIP dial peers: Connect over a packet network

Page 106: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Dial Peer

106© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 107: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

POTS Dial Peers

107© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 108: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

VoIP Dial Peers

108© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 109: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Destination-Pattern Options

109© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 110: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Default Dial Peer 0

110© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 111: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Call Setup and Digit Manipulation

111© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 112: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

End-to-End Calls

112© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 113: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Matching Inbound Dial Peers

• incoming called-numberDefines the called number or dialed number identification service (DNIS) string

• answer-address

Configurable parameters used for matching inbound dial peers:

113© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• answer-addressDefines the originating calling number or automatic number identification (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-port associated with the incoming call (POTS dial peers only)

Page 114: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Matching Outbound Dial Peers

114© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 115: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Digit Consumption and Forwarding

115© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 116: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Digit Collection

116© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 117: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Digit Manipulation Commands

• prefix

Dial-peer command

Adds digits to the front of the dial string before it is forwarded to the telephony interface

• forward-digits

Dial-peer command

117© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Dial-peer command

Controls 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 one number 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

Page 118: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

PLAR Connection

118© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 119: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Class of Restriction

119© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Page 120: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Class of Restriction (COR)

Class of Restriction (COR)

• Provides a way to deny certain calls based upon the incoming and outgoing settings on dial-peers or ephone-dns

• Each dial-peer or ephone-dn can have one incoming COR and one outgoing COR

120© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Can be used to control access to dialable destinations that are internal to the enterprise or external to the enterprise

• Incoming COR list indicates the capacity of the dial peer to initiate certain classes of calls.

• Outgoing COR list indicates the capacity required for an incoming dial peer to deliver a call via this outgoing dial peer

Page 121: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Class of Restriction

Incoming COR Outgoing COR

or or

121© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• The incoming COR is like having one or more keys

• The lack of an incoming COR is like having a master 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

Page 122: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Class of Restriction

COR List on Incoming dial-peer or ephone-dn

COR List on Outgoing dial-peer or

ephone-dnResult Reason

No COR No COR Call Succeeds COR not applied

No COROutgoing COR

appliedCall Succeeds

The no (null) incoming COR condition has the highest COR priority

122© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Incoming COR applied No COR Call SucceedsThe incoming COR list is a superset of the no (null)

outgoing COR list

Incoming COR applied is a superset of outgoing COR

Outgoing COR applied

Call SucceedsThe incoming COR list is

a superset of the outgoing COR list

Incoming COR applied not a superset of

outgoing COR

Outgoing COR applied

Call cannot be completed

The incoming COR list is NOT a superset of the

outgoing COR list

Page 123: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Steps to Configure Class of Restriction

• Step 1 – Configure the Class of Restriction names

• Step 2 – Configure the Class of Restriction lists and members

123© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Step 3 – Assign the COR list to the dial peers

• Step 4 - Assign the COR to the ephone-dns

Page 124: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

dial-peer cor custom

CMERouter(config)#

Steps to Configure Class of Restriction

Step 1 – Configure the Class of Restriction names

124© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• Enters COR config mode where classes of restrictions are specified

name class-name

CMERouter(config-dp-cor)#

• Used to specify a class of restriction

Page 125: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

dial-peer cor list list-name

CMERouter(config)#

Steps to Configure Class of Restriction

Step 2 – Configure the Class of Restriction lists and members

125© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

dial-peer cor list list-name

• Provides a name for a list of restrictions

member class-name

CMERouter(config-dp-corlist)#

• Adds a COR class to this list of restrictions

Page 126: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

dial-peer voice number {pots | voip}

CMERouter(config)#

• Defines a dial-peer and enters dial-peer config mode

Steps to Configure Class of Restriction

Step 3 – Assign the COR list to the dial peers

126© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• 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

Page 127: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

ephone-dn tag

CMERouter(config)#

• Defines an ephone-dn and enters ephone-dn mode

Steps to Configure Class of Restriction

Step 4 – Assign the COR list to the ephone-dns

127© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• 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

Page 128: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Class of Restriction (COR)

dial-peer cor custom

name 1xxx

name 2xxx

dial-peer cor list Executive

member 1xxx

member 2xxx

• 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

128© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Ephone-dn 1 Employee

Ext 1000

Ephone-dn 2 Executive

Ext 2000

dial-peer cor list Employee

member 1xxx

ephone-dn 1

number 1000

cor incoming Employee

ephone-dn 2

number 2000

cor outgoing Executives

Page 129: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Class of Restriction – Case Study

Class of Restriction Case Study – XYZ company

• The XYZ company wishes to prevent toll fraud by restricting the destinations on the PSTN that IP phones and analog phones attached to FXS port can call.

• There should be no restrictions internally; everyone internal should be able to call anyone else internal

• All phones MUST be able to call 911

129© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

• 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 on the PSTN

• The Sales phones should be able to call 911, local calls, and domestic long distance on the PSTN

• The executives should be able to call 911, local call, domestic long distance, and international on the PSTN

• No one should be able to call 900 numbers

Page 130: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Class of Restriction – Case Study

dial-peer cor custom

name 911

name local

name long_distance

911

local

130© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

name long_distance

name international

name 900

long_distance

international

900

• Step 1 - Define the classes of restriction

Page 131: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Class of Restriction – Case Study

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 callInt

dial-peer cor list Lobby

member 911

dial-peer cor list Employee

member 911

member local

dial-peer cor list Sales

member 911

131© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

dial-peer cor list callInt

member international

dial-peer cor list call900

member 900

member 911

member local

member long_distance

dial-peer cor list Executive

member 911

member local

member long_distance

member international

• Step 2 – Define the COR lists and members

Page 132: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Class of Restriction – Case Study

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

Dial-peer 1 – COR out call911

Dial-peer 2 – COR out callLD

• Step 3 – Assign the COR to the PSTN dial-peers

132© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

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/0

corlist outgoing callInt

dial-peer voice 6 pots

destination-pattern 1900.......

port 1/0/0

corlist outgoing call900

Dial-peer 3 – COR out callLocal

Dial-peer 4 – COR out callInt

Dial-peer 5 – COR out call900

Page 133: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Class of Restriction – Case Study

ephone-dn 1

number 1001

cor incoming Lobby

ephone-dn 2

number 1002

Ephone-dn 1 COR in Lobby

Ext 1001

Ephone-dn 2

• Step 4 – Assign the COR to the ephone-dns

133© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

number 1002

cor incoming Employee

ephone-dn 3

number 1003

cor incoming Sales

ephone-dn 4

number 1004

cor incoming Executive

Ephone-dn 2 COR in Employee

Ext 1002

Ephone-dn 3 COR in Sales

Ext 1003

Ephone-dn 4 COR in Executive

Ext 1004

Page 134: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

Class of Restriction – Case Study

Ephone-dn 1 COR in Lobby

Ext 1001

Ephone-dn 2 COR in Employee

Results:

• The Lobby ephone-dn can only call 911 on the PSTN

• The Employee ephone-dn can call 911 and local calls on the PSTN

• The Sales ephone-dn can call 911,

134© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

COR in Employee Ext 1002

Ephone-dn 3 COR in Sales

Ext 1003

Ephone-dn 4 COR in Executive

Ext 1004

• The Sales ephone-dn can call 911, local calls, and long distance on the PSTN

• The Executive ephone-dn can call 911, local calls, long distance, and international on the PSTN

• No one can call 900 numbers

Page 135: Voice Dial Plans, Configuring Voice Interfaces and Dial Peers · Voice Dial Plans, Configuring Voice Interfaces and Dial Peers IP Telephony © 2005 Cisco Systems, Inc. All rights

135© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony