7248191-CVOICE-60Dial Peer and Voice GW

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 20

Implementing Calling Privileges on Cisco IOS Gateways

Implementing Dial Plans on Voice Gateways

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-1

Calling Privileges
Calling privileges define the destination a user is allowed to dial. Primarily implemented on Cisco IOS gateways using class of restriction (COR). Dependant on proper call routing. Higher granularity required for dial peers when deploying COR.

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-2

Calling Privileges (Cont.)


dial-peer voice 911 pots destination-pattern 911 forward-digits all port 0/0/0:23 dial-peer voice 9911 pots destination-pattern 9911 forward-digits 3 port 0/0/0:23 dial-peer voice 97 pots destination-pattern 9[2-9]...... port 0/0/0:23 dial-peer voice 910 pots destination-pattern 9[2-9]..[2-9]...... port 0/0/0:23 dial-peer voice 9110 pots destination-pattern 91[2-9]..[2-9]...... prefix 1 port 0/0/0:23 dial-peer voice 9011 pots destination-pattern 9011T prefix 011 port 0/0/0:23
CVOICE v6.04-3

Emergency calls (with and without 9)

Local calls (7-digit dialing) Local calls (10-digit dialing)

Long distance calls (11-digit dialing)

International calls (variable length)

2008 Cisco Systems, Inc. All rights reserved.

Understanding COR on Cisco IOS Gateways


Calling privileges are implemented using COR. COR lists contain CORs and are used to control call routing. COR lists are assigned to dial peers: Incoming COR list Outgoing COR list For each call, the incoming COR list is matched against the outgoing COR list: If the outgoing COR list is a subset of the incoming COR list, the call is routed. If no incoming COR list is configured, the call is always routed.

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-4

COR Behavior

Outgoing CORlist is a subset of incoming CORlist

dial-peer voice 2 pots destination-pattern1

corlist outgoing c2 dial-peer voice 1 voip corlist incoming c1 Member A Member B Member C corlist outgoing c3 Member A Outgoing CORlist is NOT a subset of incoming CORlist Member B Member D
CVOICE v6.04-5

Member A Member B

1. Call 100 dials 1XXX 2. Call 200 dials 2XXX

dial-peer voice 3 pots destination-pattern 2

2008 Cisco Systems, Inc. All rights reserved.

Understanding COR on Cisco IOS Gateways


Incoming COR List COR list INTL 911 Local LD COR list INTLCall INTL Individual CORs COR list LOCAL 911 Local INTL Outgoing COR List

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-6

COR Example
Incoming COR List COR list INTL 911 Local LD INTL COR list INTLCall Outgoing COR List COR INTL is included in COR list INTL; call is routed. dial-peer voice 9011 pots destination-pattern 9011T prefix 011 cor outgoing INTLCall port 0/0:23 0/0 International Long Distance Service Provider

Members

COR list LD 911 Local LD INTL

Member
COR INTL is not included in COR lists Local or LD; calls are blocked.

COR list Local 911 Local

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-7

Understanding COR for SRST and Cisco Unified Communications Manager Express
Cisco Unified Communications Manager Express and Cisco Unified SRST use the standard Cisco IOS COR concept. Can be configured for inbound and outbound direction: Inbound: Restrict destinations to which a user can dial Outbound: Restrict who can call a user For Cisco Unified Communications Manager Express, COR lists are assigned to ephones. For Cisco Unified SRST, COR lists are assigned to number ranges.

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-8

COR for SRST and Cisco Unified Communications Manager Express Example
Cisco Unified CME
ephone-dn 1 corlist incoming INTL COR list INTL ephone 1 911 Local COR list INTLCall

Incoming COR List

Outgoing COR List

SRST

LD INTL

INTL

Extension 2010 call-manager-fallback cor incoming INTL 1 2000 - 2100


2008 Cisco Systems, Inc. All rights reserved.

Cisco Unified CME = Cisco Unified Communications Manager Express


CVOICE v6.04-9

Configuring COR for Cisco Unified Communications Manager Express


When using a standalone gateway:
2. Define COR labels. 3. Configure COR lists. 4. Configure dial peers and assign COR lists.

When using Cisco Unified Communications Manager Express:


1. Assign COR lists to ephone-dn.

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-10

Configuring COR
Chicago
911 +1 312 555XXXX Cisco Unified CME +1 312 5556666

PSTN

0/0/0

+1 408 5556666 1003 +49 89 5556666 1004


Phone1-1 1001 International Phone1-2 1002 Local Only

Required Calling Privileges Local Emergency, local Long Distance Emergency, local, long distance International Emergency, local, long distance, international

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-11

Step 1: Define COR Labels

Gateway dial-peer cor custom name 911 name local name ld name intl

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-12

Step 2: Configure Outbound COR Lists

Gateway

dial-peer cor member 911 dial-peer cor member local dial-peer cor member ld dial-peer cor member intl

list 911call list localcall list ldcall list intlcall

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-13

Step 3: Configure Inbound COR Lists

Gateway dial-peer cor list local member 911 member local dial-peer cor list ld member 911 member local member ld dial-peer cor list intl member 911 member local member ld member intl

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-14

Step 4: Assign Outbound COR Lists to PSTN Dial Peers


dial-peer voice 911 pots destination-pattern 911 forward-digits all corlist outgoing 911call port 0/0/0:23 dial-peer voice 9911 pots destination-pattern 9911 forward-digits 3 corlist outgoing 911call port 0/0/0:23 dial-peer voice 9 pots destination-pattern 9[2-9]...... corlist outgoing localcall port 0/0/0:23 dial-peer voice 91 pots destination-pattern 91[2-9]..[2-9]...... prefix 1 corlist outgoing ldcall port 0/0/0:23 dial-peer voice 9011 pots destination-pattern 9011T prefix 011 corlist outgoing intlcall port 0/0/0:23
CVOICE v6.04-15

Gateway

2008 Cisco Systems, Inc. All rights reserved.

Step 5: Assign Inbound COR Lists to Incoming Dial Peers and Ephone-DNs

ephone-dn 1

ephone-dn 2

0/0/0

0/0/1

Ext: 1003

Unified CME

Ext: 1004

dial-peer voice 1003 pots destination-pattern 1003 port 0/0/0 corlist incoming local dial-peer voice 1004 pots destination-pattern 1004 port 0/0/1 corlist incoming intl ephone-dn 1 corlist incoming intl ephone-dn 2 corlist incoming local
2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.04-16

COR Configuration for Cisco Unified Cisco Unified SRST

call-manager-fallback cor incoming INTL 1 2000 2100

WAN
Extensions: 2000 2100 Cisco Unified Communications Manager

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-17

Verifying COR
router# show dial-peer cor Class of Restriction name: 911 name: local name: ld name: intl COR list <911call> member: 911 COR list <localcall> member: local COR list <ldcall> member: ld COR list <intlcall> member: intl
2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.04-18

Summary
Calling privileges are used within a dial plan to define the destination a user is allowed to call. Calling privileges are implemented on Cisco IOS gateways using class of restrictions (COR). For Cisco Unified Communications Manager Express, the COR list is directly assigned to the appropriate ephone; to assign a COR list in Cisco Unified SRST mode, a COR list is matched to a range of directory numbers in global Cisco Unified SRST configuration mode. Configuring COR includes configuring named CORs and COR lists, and assigning COR lists to dial peers, ephones, or Cisco Unified SRST.

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-19

2008 Cisco Systems, Inc. All rights reserved.

CVOICE v6.04-20

You might also like