430 likes | 746 Views
Implementing Cisco Unified Communications Manager Digit Manipulation. Enabling Single-Site On-Net Calling. Outline. Cisco Unified Communications Manager Digit Manipulation Cisco Unified Communications Manager Digit Manipulation Flow
E N D
Implementing Cisco Unified Communications Manager Digit Manipulation Enabling Single-Site On-Net Calling
Outline Cisco Unified Communications Manager Digit Manipulation Cisco Unified Communications Manager Digit Manipulation Flow Cisco Unified Communications Manager Digit Manipulation Configuration Elements Cisco Unified Communications Manager External Phone Number Mask Cisco Unified Communications Manager Digit Prefix and Stripping Cisco Unified Communications Manager Transformation Masks Cisco Unified Communications Manager Translation Patterns Cisco Unified Communications Manager Significant Digits Cisco Unified Communications Manager Digit Manipulation Summary
Cisco Unified Communications Manager Digit Manipulation Overview
Digit Manipulation How to Manipulate Calling and Called Number? • Expand calling directory number to fully qualified PSTN number • Strip access code 9 dialed internally for PSTN access SIP 3rd party IP Phone Cisco IP Phones PSTN 1002 T1/E1 CCM1-1 CCM2-1 LocalGateways DID: 706-555-1001 to1003 Off-Net Calls 408-555-1111
Cisco Unified Communications Manager Digit Manipulation Flow
Digit Manipulation Flow Example (Outgoing Call to PSTN) Dials: 9-1-303-555-6007 303-555-6007 PSTN 1005 408-555-3005 is calling GW 408-555-30xx
Digit Manipulation Flow Example (Incoming Call from PSTN) 303-555-6008 408-555-30xx PSTN GW Dials: 1-408-555-3010 1010
Cisco Unified Communications Manager Digit Manipulation Configuration Elements
Cisco Unified Communications Manager External Phone Number Mask
External Phone Number Masks Designates the fully qualified E.164 address for the user extension Used to format caller ID information for external (outbound) calls that are made from the internal devices Configured under Line Configuration settings, but enabled as part of Calling Party Transformations settings.
Configuring External Phone Number Mask Go to Device > Phone > Find and select the corresponding phone Under Association Information, click the corresponding Line Scroll down to Line x on Device configuration (see picture) Type full E.164 PSTN number in the External Phone Number Mask field In the Route Patterns that point to PSTN (e.g. 9.! or 9.@), scroll to Calling Party Transformations Check the Use Calling Party's External Phone Number Mask option
External Phone Number Mask Example Dials: 9-1-303-555-6007 303-555-6007 PSTN 1005 408-555-3005 is calling GW 408-555-30xx
Cisco Unified Communications Manager Digit Prefix and Stripping
Digit Prefix Prepend digits to the pattern Valid entries include the digits 0 through 9, *, and # Part of Calling/Called Transformations settings
Digit Stripping Used to strip digits from a pattern Part of Called Party Transformations settings (Discard Digits field) A discard digits instruction (DDI) removes a portion of the dialed digit string before passing the number on If no @ sign (numbering plan) is used in route pattern, only the following DDIs are supported: PreDot NoDigits DDI
Discard Digits Instructions (DDIs) For example, If the pattern is 9.5@
Using PreDot DDIs Match: 9.8XXX Discard: PreDot Unified CM Called Party: 8123 User Dials: 98123 PBX
Using Compound DDIs Use DDIs to remove carrier selection from dialed number. Carrier selection consists of: Carrier Access Code: 1010 Carrier Identification Code: 3 digits Match: 9.@ Discard: PreDot 10-10-Dialing Unified CM Called Party: 12145551212 User Dials: 9-1010-288-1-214-555-1212 PSTN
Cisco Unified Communications Manager Transformation Masks
Transformation Masks Modify either the calling number or called number (dialed digits) Can contain digits 0–9, *, #, and X Applied to a number to extend or truncate it Part of Calling/Called Party Transformations settings An X in a mask lets digits pass through 45000 Mask 808236XXX 808236000 Digits in masks replace number digits 8082365000 45XXX Mask _____ 45000 Blanks block number digits
Configuring Transformation Masks Configured under Translation Pattern, Route Pattern, or Route List settings Transformation masks configured at route list level have priority over those configured at route pattern level
Cisco Unified Communications Manager Translation Patterns
Translation Patterns Very powerful tool to manipulate dialed digits and calling party number for any type of call. Can be used to either route or block certain patterns. When the digits match the translation pattern, Cisco Unified Communications Manager does not route the call to an outside entity (e.g., a gateway); instead, it performs the translation first and then routes the call (to another translation pattern or to a route pattern).
Translation Patterns (Cont.) Digits Digits Find best match Apply calling and called party transformations Pattern type? Pattern type? Translation pattern Route pattern Extend call to destination
Configuring Translation Pattern Pattern • Go toCall Routing > Translation Pattern > Add New • Enter the Translation Pattern, including numbers and wildcards (do not use spaces) • Choose a Partition and CSS (to be discussed in the next module) or choose <None> • Choose the RouteOption to indicate this pattern is to be used for routing or for blocking calls (the “blocking” option provides similar functionality as in the Route Pattern configuration) • Specify the Calling/CalledPartyTransformationsettings (applicable only if “Route the pattern” is selected above) Route option Transformation settings
Translation Pattern Example Send calls to unassigned DID numbers to attendant (operator) Translation Pattern = XXXX Called Party Transform Mask = 4111 Unified CM uses longest match, so XXXX will match any nonconfigured number and get sent to 4111 (attendant). PSTN PSTN DID Range 408-555-1XXX Employee Phones Attendant (4111) Internal Extensions 4XXX PSTN DID range does not match internal range Translation Pattern = 4085551XXX Called-Party Transform Mask = 4XXX San Jose
Cisco Unified Communications Manager Significant Digits
Significant Digits Instruct Cisco Unified Communications Manager to pay attention to only the least-significant N digits of the called number for incoming calls from PSTN or from another Cisco Unified Communications Manager cluster Part of gateway and trunk configuration Affects all incoming calls received by the gateway or trunk; not recommended for variable-length extension numbers
Configuring Significant Digits Go to Gateway or TrunkConfiguration > Call Routing Information – Inbound Calls In the SignificantDigits field, specify the last N digits of the called number that you want Cisco Unified Communications Manager to process for inbound calls received by the gateway or trunk
Significant Digits Example 303-555-6008 408555 1010 PSTN GW Dials: 1-408-555-1010 1010 408-555-10xx
Cisco Unified Communications Manager Digit Manipulation Summary
Transformation Settings Calling Party Transformations control the adaptation of calling party numbers from enterprise format to PSTN format Called Party Transformations manipulate the dialed digits, Number Type, and Numbering Plan.
Calling Party Transformation Order • Apply the external phone number mask • Apply the calling party transformation mask • Apply prefix digits Directory Number 35062 External Phone Number Mask 21471XXXXX 2147135062 Calling-Party Transformation Mask 40885XX000 Caller ID 4088535000 √ 40885XX000
Called Party Transformation Order Apply discard digits Apply the called-party transformation mask Apply prefix digits Dialed Number 9 101032118085551221 Discard Digits 10-10-Dialing 9 18085551221 Called-Party Transformation Mask XXXXXXXXXX 8085551221 Prefix Digits 8 Called Number 88085551221
Transformation Example 1 2 3 User Dial Numbers Route Pattern DDI Users A - 5062 A - 91234 Wildcards allow all dialed numbers to match one route pattern 9.1XXX Discard “9” B - 5063 B - 91324 C - 5064 C - 91432 A – 1234 B – 1324 C – 1432 User Dialed Numbers 6 5 4 To: 1000 Caller ID A – 1000 B – 1000 C – 1000 From: 5000 A – 5000 B – 5000 C – 5000 “X000” “X000” User Directory Numbers Extension 1000 Rings User Dialed Numbers Transform Called Number Transform Calling Number
Summary • In many call scenarios, it is required to manipulate the calling and called (dialed) string before routing the call. • Cisco Unified Communications Manager digit manipulation configuration main elements are: External Phone Number Mask, Digit Prefix and Stripping, Transformation Masks, Translation Pattern, and Significant Digits. • Cisco Unified Communications Manager External Phone Number Mask designates the fully qualified E.164 address for the user’s extension and is used to format Caller-ID information for outbound calls from the internal devices.
Summary (Cont.) • Digit Prefix prepends digits to a pattern, Digit Stripping strips digits from a pattern. • Transformation Masks modify either the calling number or the called number (dialed digits). • Translation Pattern can be used to either route or block certain patterns. When the digits match the translation pattern, Cisco Unified Communications Manager performs the translation first before routing the call to another translation pattern or to a route pattern. • Significant Digits instruct Cisco Unified Communications Manager to pay attention to only the least-significant N digits of the called number for incoming calls from PSTN or from another Cisco Unified Communications Manager cluster.