cvoice 6.0 s04 l01

40
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—4-1 Implementing Dial Plans on Voice Gateways Understanding Dial Plans

Upload: zoheb

Post on 14-Nov-2014

806 views

Category:

Documents


1 download

TRANSCRIPT

Understanding Dial Plans

Implementing Dial Plans on Voice Gateways

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-1

Defining Dial PlansA dial plan defines how calls are interconnected: Endpoint addressing: Internal destination accessibility can be provided by assigning directory numbers to all endpoints. Call routing and path selection: Different paths can be selected to reach the same destination. Digit manipulation: Digits can be manipulated prior to or after a routing decision has been made. Calling privileges: Different groups of devices can be assigned to different classes of service, by granting or denying access to certain destinations or resources. Call coverage: Special groups of devices can be created to handle incoming calls for a certain service according to different rules, avoiding dropped calls.

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-2

Defining Dial Plans (Cont.)Dial Plan Component Endpoint addressing Cisco IOS Gateway POTS* dial peers for FXS ports and ephone-dn if using Cisco Unified CME*/SRST Dial peers Voice translation profiles Cisco Unified Communications Manager Directory number Route patterns, route groups, route lists, translation patterns, partitions, and calling search spaces

Call routing and path selection

Digit manipulation

Translation patterns, route prefix, digit-strip, patterns, and route lists forward-digits, and num-exp Class of restriction (COR) and Partitions, calling search COR lists spaces, and FAC*s Dial peers, hunt groups, and call applications Line groups, hunt lists, and hunt pilots

Calling privileges Call coverage

*POTS = Plain old telephone service *Unified CME = Cisco Unified *FXS = Foreign Exchange Station Communications Management Express *FACs = Forced Authorization Codes 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.04-3

Defining Dial Plans (Cont.)San Jose DID: +14085552XXX Austin DID: +15125553XXX

IP WAN

Router1 Cisco Unified CME Phone1-1 2001 Phone1-2 2002

PSTN

Router2 Cisco Unified CME Phone2-1 3001 Phone2-2 3002

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-4

Endpoint Addressing Directory numbers are assigned to endpoints (e.g., phones) Internal extensions are mapped to inbound PSTN calls Often dependant on range of DID numbers Auto-attendant can be used for non-DID numbers The biggest challenge: creating an endpoint addressing scheme in multisite environments Primarily a Cisco Unified Communications Manager (Cisco or Unified Communications Manager Express) issue Gateways simply route the call to the call agent Exception: Gateway routes calls during SRST mode

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-5

Call Routing and Path Selection Route the call depending on the dialed number. Select the appropriate path. Handled by dial peers on Cisco IOS gateways: Inbound and outbound dial-peer matching determines the routing. Complexity depends on design.

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-6

Digit Manipulation Digit manipulation is closely connected with call routing and path selection. Inbound calls: Called number needs to match internally used patterns. Calling number should be presented as a dialable number. Outbound calls: Called number needs to satisfy internal and PSTN requirements. Calling number needs to be dialable. Special consideration needs to given to emergency calls. Various commands are available for digit manipulation: digit-strip, prefix, forward-digits, num-exp, voice translation-profile, and clid

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-7

Calling Privileges Defines the destinations a user is allowed to call Often used to control telephony charges: Blocks costly service numbers Restricts international calls Often called Class of Service in PBX systems Not the same as Layer 2 CoS Implemented on Cisco IOS gateways using COR lists

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-8

Call CoverageCall coverage ensures that all incoming calls are answered: For individuals: Call forwarding if original called phone is not answering For user groups with pilot numbers: Hunt through multiple phones Hunt through multiple user groups

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-9

Scalable Dial PlansNorth American Numbering Plan (NANP)

N

X

X

1 2

N

X

X

5

X

X

X

X

10-Digit Dial Plan

5

-

5

5

-

0

1

0

1Subscriber

Area CodeUser dials 512-555-0101

Local Exchange (CO)

Local PSTN Remote PSTN 512-555-0101

Dial plans contain specific dialing patterns for a user who wants to reach a particular telephone number. 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.04-10

Scalable Dial Plans (Cont.)703555. 202555. Site E Site F 10 Digits Centrex 10 Digits Site B IP Site D 10 Digits 10 Digits Site C 4 Digits 4 Digits 305555.

Site A 4 Digits

727555.

813555.

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-11

Attributes of a Scalable Dial Plan Dial plan logic distribution Hierarchical numbering plan summarization Simplicity in provisioning Reduction in postdial delay Availability and fault tolerance Conformance to public standards

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-12

PSTN Dial Plan RequirementsPSTN Requirements Dial Plan Components

Call routing and path selection for inbound PSTN dial peer to outbound VoIP or local dial peer Inbound call routing Digit manipulation to transform inbound DNIS to endpoints Call routing and path selection for inbound VoIP or local dial peer to outbound PSTN dial peer Outbound call routing Digit manipulation to transform outbound DNIS to PSTN requirements Digit manipulation to transform ANI to meet Correct ANI presentation PSTN requirements

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-13

Inbound PSTN CallsGateway modifies DNIS to 2001 and routes to voice port.

3

Phone1-1 rings.

4Cisco Unified CME Gateway DID 4085552XXX

PSTN2Call setup from PSTN: DNIS 4085552001

1

15125556001

User dials 14085552001.

Phone1-1 2001

Phone1-2 2002

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-14

Outbound PSTN CallsH.323 call setup: DNIS 915125556001 ANI 2001 Gateway modifies DNIS and ANI.

2

1

User dials 915125556001 Cisco Unified CME Gateway DID: 408555XXXX

PSTN3Q.931 call setup: DNIS 15125556001 ANI 4085552001 5125556001

4PSTN phone rings.

Phone1-1 2001

Phone1-2 2002

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-15

ISDN Dial Plan Requirements

ISDN Requirements

Dial Plan Components

Correct PSTN inbound ANI Digit manipulation to transform inbound presentation depending on TON PSTN ANI according to TON

Correct ISDN numbering plan and TON presentation

Manipulate ISDN numbering plan or TON to meet PSTN and PBX requirements

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-16

Inbound ISDN CallsSan Jose DID range: 4085552XXXH.323 call setup: ANI 915125556001 Gateway prepends 91 to ANI due to TON.

3

4Phone1-1 rings. ANI 915125556001 Gateway Call setup from PSTN: ANI 5125556001 TON National Phone 1-1 2001 2008 Cisco Systems, Inc. All rights reserved.

PSTN15125556001 User dials 14085552001.

1

Phone 2-1 2002

2CVOICE v6.04-17

Configuring PSTN Dial Plans1. Configure digit manipulation for inbound and outbound PSTN calls. 2. Configure digit manipulation for intersite calls. 3. Configure inbound and outbound dial-peer matching.

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-18

PSTN Dial Plan Scenario5125551002

San Jose PSTNDID: 4085552XXX

Users should be able to reach the other site via an extension.

Austin

DID: 5125553XXX

Router1 Cisco Unified CME Phone1-1 2001 Phone1-2 2002

IP WAN

Router3 Cisco Unified CME Phone2-1 3001 Phone2-2 3002

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-19

Digit Manipulation for Inbound CallsSan Jose PSTNRouter1 Cisco Unified CME voice translation-rule 1 rule 1 /^4085552/ /2/ voice translation-profile pstn-in translate called 1 voice-port 0/0/0:23 translation-profile incoming pstn-in Router3 Cisco Unified CME voice translation-rule 1 rule 1 /^5125553/ /3/ voice translation-profile pstn-in translate called 1 voice-port 0/0/0:23 translation-profile incoming pstn-in

Austin

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-20

Digit Manipulation for Outbound CallsSan Jose PSTNRouter1 Cisco Unified CME voice translation-rule 2 rule 1 /^2/ /4085552/ voice translation-profile pstn-out translate calling 2 voice-port 0/0/0:23 translation-profile outgoing pstn-out Router3 Cisco Unified CME voice translation-rule 2 rule 1 /^3/ /5125553/ voice translation-profile pstn-out translate calling 2 voice-port 0/0/0:23 translation-profile outgoing pstn-out

Austin

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-21

Global Digit Manipulation for Intersite CallsSan Jose PSTNRouter1 Cisco Unified CME num-exp 3... 915125553... Router3 Cisco Unified CME num-exp 2... 914085552...

Austin

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-22

Outbound Dial Peer Matching

San Jose PSTNRouter1 Cisco Unified CMEdial-peer voice 910 pots destination-pattern 9[2-9]..[2-9]...... direct-inward-dial port 0/0/0:23

Austin

Router3 Cisco Unified CMEdial-peer voice 910 pots destination-pattern 9[2-9]..[2-9]...... direct-inward-dial port 0/0/0:23

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-23

Inbound Dial Peer Matching

San Jose PSTNRouter1 Cisco Unified CMEdial-peer voice 910 pots destination-pattern 9[2-9].. [2-9]..... incoming called-number 2... direct-inward-dial port 0/0/0:23

Austin

Router3 Cisco Unified CMEdial-peer voice 910 pots destination-pattern 9[2-9].. [2-9]..... incoming called-number 3... direct-inward-dial port 0/0/0:23

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-24

Inbound PSTN Call Flow0/0/1

PSTN5125553002Incoming DNIS ANI 4085552001 5125553002 Outgoing 2001 95125553002

2001

DID: 4085552XXX

1

voice translation-rule 1 rule 1 /^4085552/ /2/ voice translation-profile pstn-in translate called 1 voice-port 0/0/0:23 translation-profile incoming pstn-in dial-peer voice 910 pots destination-pattern 9[2-9]..[2-9]...... incoming called-number 2... direct-inward-dial port 0/0/0:23 dial-peer voice 2001 pots destination-pattern 2001 port 0/0/1

2

Incoming DNIS ANI 2001 95125553002 Incoming DNIS ANI 2001 95125553002

Outgoing 2001 95125553002 Outgoing 2001 95125553002CVOICE v6.04-25

3

2008 Cisco Systems, Inc. All rights reserved.

Outbound PSTN Call FlowPSTN2001 DID: 4085552XXXIncoming DNIS ANI 95125553002 2001

5125553002Outgoing 95125553002 2001

1

dial-peer voice 2001 pots destination-pattern 2001 port 0/0/1

2

dial-peer voice 910 pots destination-pattern 9[2-9]..[2-9]...... incoming called-number 2... direct-inward-dial port 0/0/0:23 voice translation-rule 2 rule 1 /^2/ /4085552/ voice translation-profile pstn-out translate calling 2 voice-port 0/0/0:23 translation-profile outgoing pstn-out

Incoming DNIS ANI 95125553002 2001

Outgoing 5125553002 2001

3

Incoming DNIS ANI 5125553002 2001

Outgoing 5125553002 4085552001CVOICE v6.04-26

2008 Cisco Systems, Inc. All rights reserved.

Verifying PSTN Dial Plans

Command show dial-peer voice show dial-peer voice summary show dialplan number dialstring [carrier identifier] [fax | huntstop | voice] [timeout]

Description Displays information for a specific voice dial peer. Displays a short summary of each voice dial peer. Displays which outgoing dial peer is reached when a particular telephone number is dialed.

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-27

Verifying PSTN Dial Plans (Cont.)router#

show dial-peer voice summary Displays a summary of all dial peersRouter1# show dial-peer voice summary dial-peer hunt 0 AD TAG TYPE MIN OPER PREFIX DEST-PATTERN 9 pots up up 9T 20 voip up up 2... 21 voip up up 2...

Session TargetPRE FER 0 0 1 PASS THRU SESS-TARGET syst ipv4:192.168.1.1 syst ipv4:192.168.1.2

Voice PortOUT STAT PORT up 1/0:23

Administrative and Operational States

Destination Pattern

Preference

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-28

Verifying PSTN Dial Plans (Cont.)router# show dialplan number 1001 VoiceEncapPeer20001 peer type = voice, information type = voice, description = `', tag = 20001, destination-pattern = `1001$', answer-address = `', preference=0, CLID Restriction = None CLID Network Number = `' CLID Second Number sent CLID Override RDNIS = disabled, source carrier-id = `', target carrier-id = `', source trunk-group-label = `', target trunk-group-label = `', numbering Type = `unknown' group = 20001, Admin state is up, Operation state is up, incoming called-number = `', connections/maximum = 0/unlimited, DTMF Relay = disabled, URI classes: Destination = huntstop = enabled, in bound application associated: 'DEFAULT' out bound application associated: '' dnis-map = permission :both incoming COR list:maximum capability outgoing COR list:minimum requirement 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.04-29

Verifying PSTN Dial Plans (Cont.)Translation profile (Incoming): Translation profile (Outgoing): incoming call blocking: translation-profile = `' disconnect-cause = `no-service' advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4 type = pots, prefix = `', forward-digits 0 session-target = `', voice-port = `50/0/11', direct-inward-dial = disabled, digit_strip = enabled, register E.164 number with H323 GK and/or SIP Registrar = TRUE fax rate = system, payload size = 20 bytes supported-language = '' Time elapsed since last clearing of voice call statistics never Connect Time = 0, Charged Units = 0, Successful Calls = 2, Failed Calls = 0, Incomplete Calls = 0 Accepted Calls = 0, Refused Calls = 0, Last Disconnect Cause is "10 ", ast Disconnect Text is "normal call clearing

(16)",

Last Setup Time = 436050. Matched: 1001 Digits: 5 Target:

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-30

Verifying PSTN Dial Plans (Cont.)router#

debug isdn q931 Debugs ISDN Layer 3 information, which includes DNIS and ANI informationrouter#

debug voip dialpeer Debugs dial-peer matchingrouter#

debug voice translation Debugs voice-translation-rule operation

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-31

debug isdn q931Router# debug isdn q931 RX CONNECT pd = 8 callref = 0x86 RX SETUP pd = 8 callref = 0x04 Bearer Capability i = 0x8890 Channel ID i = 0x83 Called Party Number i = 0x80, 4085552001 RX