• No results found

Communications Manager Call-Routing Components

In document 84670340-CIPT180LG (Page 40-48)

Complete this lab activity to practice what you learned in the related module.

Activity Objective

In this activity, you will configure Cisco Unified Communications Manager for PSTN calls that use multiple gateways. After completing this activity, you will be able to meet these objectives:

Configure a route plan that includes a route group, route list, and route pattern that enables calls to the PSTN

Enable Cisco Unified Communications Manager Dialed Number Analyzer and use it for dial plan verification

Visual Objective

The figure illustrates what you will accomplish in this activity.

© 2010 Cisco Systems, Inc. All rights reserved. CIPT1 v8.0—8

Lab 4-2: Configuring Cisco Unified Communications Manager Call-Routing Components group, route list, and route pattern

These resources and equipment are required to complete this activity:

Cisco Unified Communications Manager cluster

Student PC

Cisco IP Phones

Cisco IOS MGCP gateway

PSTN with PSTN phone

Job Aids

This job aid is available to help you complete the lab activity.

PSTN Numbering Plan

Pattern Destination Description

911 PSTN phone Emergency number

XXX XXXX PSTN phone Any 7-digit number for PSTN local calls

1 XXX XXX XXXX PSTN phone 1 followed by any 10-digit number for PSTN national calls 011<as many as 14

digits> PSTN phone 011 followed by as many as 14 digits for PSTN international calls

1 800 XXX XXXX PSTN phone 1800 followed by 7 digits for PSTN toll free calls 1 900 XXX XXXX PSTN phone 1900 followed by 7 digits for PSTN premium calls

Note When dialing from the Cisco Unified Communications Manager cluster to the PSTN, a PSTN access code 9 must be prefixed to all PSTN numbers. This PSTN access code should not be sent to the PSTN.

Task 1: Configure a Route Plan That Uses Both Gateways and Includes Two Route Groups, a Route List, and Route Pattern

In this task, you will configure routing to the PSTN, using both configured gateways. You will configure gateway HQ2-x to be preferred over gateway HQ-x.

Activity Procedure

Complete these steps:

Create Two Route Groups in Cisco Unified Communications Manager

Step 1 Navigate to Call Routing > Route/Hunt > Route Group and click Add New.

Step 2 Enter the following parameter in the Route Group Information window:

Route Group Name: RG_MGCP_GW

Step 3 In the Available Devices field, choose the HQ-x MGCP gateway identifier

(S0/SU0/DS1-0@HQ-x) and click Add to Route Group to add the HQ-x gateway.

Step 4 Click Save.

Step 5 Click Add New to add a second Route Group.

Step 6 Enter the following parameter in the Route Group Information window:

Route Group Name: RG_H323_GW

Step 7 In the Available Devices field, choose the HQ2-x gateway identifier and click Add to Route Group to add the HQ2-x (10.x.1.102) gateway.

Step 8 Click Save.

Create a Route List in Cisco Unified Communications Manager

Step 9 Navigate to Call Routing > Route/Hunt > Route List, and click Add New.

Step 10 Enter the following parameters in the Route List Configuration window:

Name: RL_HQ_GWs

Description: HQ PSTN Gateways

Cisco Unified Communications Manager Group: Default

Step 11 Click Save.

Step 12 In the updated Route List Configuration page, click Add Route Group in the Route List Member Information pane and choose the RG_MGCP_GW route group.

Step 13 Choose Discard Digits Instruction NANP:PreDot as Called Party Transformation for the RG_MGCP_GW.

Step 14 Click Save. Click OK in the pop-up window.

Step 15 Repeat Steps 12 and 14 for the RG_H323_GW route group, but do not choose any entry in the Discard Digit Instructions for the route group.

Note Typically the PSTN access code is stripped at the H.323 gateway using Cisco IOS digit manipulation features. Therefore, you have to send PSTN numbers with PSTN access code 9 to the Cisco IOS gateway.

Step 16 Change the order of the route groups in the route list so that route group RG_H323_GW is listed before route group RG_MGCP_GW.

Step 17 Click Save. Click OK in the pop-up window.

Create a Route Pattern in Cisco Unified Communications Manager

Step 18 Go to Call Routing > Route/Hunt > Route Pattern, and click Add New.

Step 19 In the Route Pattern Configuration window, enter the following parameters:

Route Pattern: 9.!#

Description: PSTN Access with #

Gateway/Route List: RL_HQ_GWs

Discard Digits: <None>

Note Digit manipulation is performed at the route-group level.

Step 20 Click Save. You are notified by a pop-up window that the authorization code will not be activated. Click OK.

Step 21 You are notified by another pop-up window that changes will reset the gateway.

Click OK.

Step 22 Repeat the Steps 16 through 19 to create another route pattern, but enter 9.! as the Route Pattern parameter and enter PSTN Access with Interdigit Timeout as the Description.

Note You can use the Copy icon to create a copy of the existing route pattern, which you can modify as required.

Activity Verification

You have completed this task when you attain these results:

From a Cisco IP phone in your pod, you can successfully reach a PSTN number using the prefix code 9 (for example, 9-555-7890). When dialing the number, you can either wait for the interdigit timeout to expire or press the # key to instruct Cisco Unified Communications Manager to stop digit collection. Verify that the call is received at PSTN-Phone-x and accept the call at the PSTN phone.

Task 2 (Optional): Enable Cisco Unified Communications Manager Dialed Number Analyzer and Use It for Dial Plan Verification

In this task, you will install Cisco Unified Communications Manager Dialed Number Analyzer and use it to verify that gateway HQ2-x is preferred over gateway HQ-x for calls sent to the PSTN.

Activity Procedure

Complete these steps:

Activate Cisco Unified Communications Manager Dialed Number Analyzer Service

Step 1 Access Cisco Unified Serviceability, and go to Tools > Service Activation. Choose the publisher server 10.x.1.1 from the Server drop-down list. Click Go.

Note The Cisco Unified Communications Manager Dialed Number Analyzer service must be activated on the publisher server. The service can also be activated on the subscriber server, in case the Cisco Unified Communications Manager Dialed Number Analyzer service on the publisher is unavailable. Activating the service on the subscriber only does not enable the Cisco Unified Communications Manager Dialed Number Analyzer web page.

Step 2 Choose Cisco Dialed Number Analyzer from the CM Services list, and click Save.

Note If the service is already activated, the Activation Status displays as Activated.

Step 3 The service is activated and the Activation Status column displays the status as Activated.

Access Cisco Unified Communications Manager Dialed Number Analyzer

Step 4 To access Cisco Unified Communications Manager Dialed Number Analyzer, go to Tools > Dial Number Analyzer in Cisco Unified Serviceability.

Step 5 A pop-up window appears. If you are prompted to enter the username, enter cucmadmin as the user ID and cucmpass1 for password. Click OK. You are now logged in to Cisco Unified Communications Manager Dialed Number Analyzer.

Note You can also use the URL https://10.x.1.1/dna to access Cisco Unified Communications Manager Dialed Number Analyzer. You do not need to access it from Cisco Unified Serviceability.

Perform a Simple Analysis by Using the Analyzer Window

Step 6 Navigate to Analysis > Analyzer.

Step 7 Enter the calling-party digits 2002 in the Calling Party field. By default, 1000 displays in this field.

Step 8 Enter the digits 9911 (or any other valid PSTN number starting with 9), in the Dialed Digits field.

Step 9 Click Do Analysis to start the analysis. Cisco Unified Communications Manager Dialed Number Analyzer analyzes the dialed digits and displays the results in a new window, the DNA Analysis Output window.

Step 10 In the DNA Analysis Output window, click Expand All. Under Call Flow, at the end of the Route List output section, the gateways are listed in the order in which they are used to route the call.

Activity Verification

You have completed this task when you attain these results:

In Tools > Control Center—Feature Services, the Cisco Unified Communications Manager Dialed Number Analyzer service is activated and started.

From a Cisco IP phone in your pod, you can successfully place a call to the PSTN phone by dialing a valid PSTN number (starting with prefix digit 9).

You performed call analysis by using Cisco Unified Communications Manager Dialed Number Analyzer. The output shows that gateway HQ2-x is preferred for calls to the PSTN.

Note Cisco Unified Communications Manager Dialed Number Analyzer is not aware that the H.323 gateway (HQ2-x) is not running and therefore considers the primary path only.

However, because you were able to place the call to the PSTN (using the backup gateway HQ-x), you successfully verified your route list and route group configuration.

Cleanup

Remove the PreDot digit stripping instruction at the Route List for the RG_MGCP_GW Route Group.

Step 1 Navigate to Call Routing > Route/Hunt > Route List and click Find.

Step 2 Choose the RL_HQ_GWs route list.

Step 3 Click the RG_MGCP_GW link in the Route List Details field.

Step 4 Set the Discard Digits Instruction to <None>.

Step 5 Click Save, then OK, and then Reset.

Lab 4-3: Implementing Digit Manipulation

Complete this lab activity to practice what you learned in the related module.

Activity Objective

In this activity, you will configure digit manipulation for PSTN calls. After completing this activity, you will be able to meet these objectives:

Verify Cisco Unified Communications Manager configuration for stripping access codes that are used for called numbers on outgoing calls

Configure Cisco Unified Communications Manager to extend calling numbers for outgoing calls to fully qualified PSTN numbers

Configure Cisco Unified Communications Manager to shorten the called number of incoming calls to directory numbers

Configure Cisco Unified Communications Manager to prefix an access code to calling numbers on incoming calls

Implement E.164 Plus dialing and phone number localization

Visual Objective

The figure illustrates what you will accomplish in this activity.

© 2010 Cisco Systems, Inc. All rights reserved. CIPT1 v8.0—9

Lab 4-3: Implementing Digit Manipulation

CUCM1-x Add prefixes to the calling number of incoming PSTN calls

Remove PSTN access code 9 from called number of outbound PSTN calls Change calling number of outbound PSTN calls from internally used DNs (2XXX) to 52x-555-3XXX

Allow outbound PSTN calls to be placed to numbers in + format

Required Resources

These resources and equipment are required to complete this activity:

Cisco Unified Communications Manager cluster

Student PC

Cisco IP Phones

Cisco IOS MGCP gateway

PSTN with PSTN phone

Job Aids

This job aid is available to help you complete the lab activity.

Transformation Masks (Where x Is Your Pod Number)

Cluster Name IP Phones External Phone Number Mask Pod x Phone1-x, Phone2-x, Phone3-x 52x5553XXX

Note Be aware that the DID number range is different to the internally assigned directory

numbers. For example, to reach Phone1-1 (2001) from the PSTN, the DID number would be 5215553001.

Task 1: Configure Cisco Unified Communications Manager to Strip Access Codes That Are Used for Called Numbers on Outgoing Calls

In this task, you will configure access-code stripping for the MGCP gateway by using called-party transformations that will be applied at the gateway.

Activity Procedure

Complete these steps:

Step 1 Go to Call Routing > Class of Control > Partition, and click Add New.

Step 2 Enter MGCP_called_trans as the partition name, and click Save.

Step 3 Go to Call Routing > Class of Control > Calling Search Space, and click Add New.

Step 4 Enter MGCP_called_trans as the CSS name, and move the MGCP_called_trans partition to the Selected Partitions field.

Step 5 Click Save.

Step 6 Go to Call Routing > Transformation > Transformation Pattern > Called Party Transformation Pattern, and click Add New.

Step 7 Define the pattern 9.! and choose MGCP_called_trans from the Partition drop-down list.

Step 8 In the Discard Digit Instructions drop-down list, choose PreDot and click Save.

Step 9 Click Add New and then repeat Step 7 and Step 8 for defining Transformation Pattern 9.!#.

Step 10 Click Add New and then repeat Step 7 and Step 8 defining Transformation Pattern 911 without any digit manipulation.

Note The 911 Transformation Pattern is required to avoid matching the 9.! Transformation Pattern where the leading 9 is stripped off.

Step 11 Go to Device > Gateway and click Find.

Step 12 At the listed MGCP Gateway (HQ-x), open the See Endpoints link and open the displayed endpoint.

Step 13 Scroll down to the Call Routing Information—Outbound Calls field and uncheck Use Device Pool Called Party Transformation CSS.

Step 14 At the Called Party Transformation CSS drop-down menu, choose MGCP_called_trans and click Save and Reset.

Step 15 Access the HQ-x router via telnet and reset the MGCP process using the no mgcp command followed by the mgcp command from global configuration mode.

Step 16 At gateway HQ-x, enter the debug isdn q931 command in enable mode.

Note As you access HQ-x via Telnet, do not forget to use the terminal monitor command to see the debug output.

Step 17 From one of your IP phones, dial a PSTN number and verify that the dialed PSTN access code 9 is not sent to the PSTN.

Activity Verification

You have completed this task when you attain this result:

At gateway HQ-x, you see that the access code was removed from the called number.

Task 2: Configure Cisco Unified Communications Manager to Extend Calling Numbers in Outgoing Calls to Fully Qualified PSTN Numbers

In this task, you will configure external phone number masks or transformation masks to extend directory numbers to fully qualified PSTN numbers.

Activity Procedure

Complete these steps:

Step 1 Go to Device > Phone and click Find.

Step 2 Choose Phone1-x.

Step 3 At the Phone Configuration page, click Line [1] to get to the Line Configuration page of the phone.

Step 4 Enter an External Phone Number Mask of 52x5553XXX.

Step 5 Click Save.

Step 6 Repeat this procedure for Phone2-x, Phone3-x, and Phone4-x.

Step 7 Reset all four phones from the Find and List Phones page.

Note Make sure that you also reset the third-party SIP phone itself. At the PC, close and restart the x-lite SIP softphone application.

Step 8 Go to Call Routing > Route/Hunt> Route Pattern and click Find.

Step 9 Enter the Route Pattern Configuration window by clicking the route pattern 9.!.

Step 10 In the Calling Party Transformations pane, check the Use Calling Party's External Phone Number Mask check box.

Step 11 Click Save.

Step 12 Repeat this procedure for route pattern 9.!#.

Step 13 Place a call to the PSTN phone from one of your IP phones. Before accepting the call at the PSTN phone, verify that the calling number is shown as a 10-digit PSTN number rather than a 4-digit extension.

Activity Verification

You have completed this task when you attain this result:

On outgoing PSTN calls, the calling number is shown as 10-digit PSTN number

(52x5553XXX). This number can be verified at the PSTN phone that receives the call or by examining the debug isdn q931 command output at the gateway (HQ-x).

Task 3: Configure Cisco Unified Communications Manager to

Reduce the Called PSTN Number of Incoming Calls to

In document 84670340-CIPT180LG (Page 40-48)

Related documents