4.3 Translation Patterns, Transformation Patterns & Digit Manipulation
Key Takeaways
Translation Patterns execute prior to call routing, altering dialed or calling party digits and feeding the translated result back into digit analysis using the Translation Pattern's own CSS.
Transformation Patterns execute at the egress or ingress boundary after routing decisions are finalized, reformatting calling or called numbers without re-triggering digit analysis.
Translation pattern masking uses the Called Party Transform Mask to overwrite specific digit positions while preserving unchanged digits denoted by the wildcard X.
Transformation CSS applied to gateways, trunks, or device pools localizes calling party numbers to conform with regulatory caller ID mandates and carrier presentation standards.
SIP URI dialing routes calls based on alphanumeric domain addresses (user@domain) using Directory URIs, SIP Route Patterns, and Blended Addressing alongside traditional numeric dialing.
4.3 Translation Patterns, Transformation Patterns & Digit Manipulation
Digit manipulation is a central capability of Cisco Unified Communications Manager (CUCM), allowing collaboration engineers to adapt numbers between internal enterprise representations and external carrier formats. CUCM provides two distinct tools for digit manipulation: Translation Patterns and Transformation Patterns. Although their names sound similar, their underlying architecture, execution points in the call processing pipeline, and operational scopes are fundamentally different.
1. Translation Patterns vs. Transformation Patterns: Architectural Comparison
The fundamental distinction between Translation Patterns and Transformation Patterns lies in where and when they execute in the call routing pipeline:
- Translation Patterns execute BEFORE the call routing decision is made. They intercept dialed digits, transform the called and/or calling numbers, and feed the result back into the Digit Analysis engine from the beginning, using the Translation Pattern's assigned Calling Search Space.
- Transformation Patterns execute AFTER the call routing decision is finalized. They operate at the egress or ingress interface (gateways, trunks, or endpoints) to modify number presentation (caller ID or dialed digits) for external carrier compliance or localized screen display without re-entering digit analysis or altering the selected routing path.
Comprehensive Comparison Matrix
| Feature / Attribute | Translation Patterns | Transformation Patterns |
|---|---|---|
| Execution Point | Pre-routing (at initial digit analysis ingress) | Post-routing (at trunk/gateway egress or ingress handoff) |
| Re-enters Digit Analysis? | Yes: The rewritten string is analyzed anew from the top | No: Digits are modified purely for wire presentation |
| Next Hop Destination | Does not route calls directly; feeds back into DA engine | Direct egress to SIP trunk, voice gateway, or IP phone display |
| Search Space Utilized | Uses the Translation Pattern's own Calling Search Space | Evaluated via Transformation CSS on Trunk, Gateway, or Device Pool |
| Modifies Routing Path? | Yes: By rewriting the called number, it alters routing | No: The physical egress route path remains unchanged |
| Primary Enterprise Use Cases | Abbreviated inter-site dialing, dialing normalization (stripping 9), speed dial mapping, number blocking | Caller ID presentation (E.164 normalization), carrier digit requirements (stripping +1 for local 10D), emergency ANI formatting |
2. Translation Patterns in the Call Routing Pipeline
When a Translation Pattern is matched, CUCM applies configured manipulation rules (called party masks, prefixes, discard digits instructions) and restarts digit analysis.
The Translation Pattern CSS Hand-Off
A critical exam concept is how Calling Search Spaces transition during translation:
- A phone initiates a call using its Effective CSS (Line CSS + Device CSS).
- CUCM matches a Translation Pattern residing in one of the partitions within the phone's CSS.
- The Translation Pattern transforms the dialed number (and optionally the calling number).
- CUCM re-enters Digit Analysis using the Translation Pattern's Calling Search Space, discarding the originating phone's CSS for subsequent routing. If the translation pattern's Use Originator's Calling Search Space checkbox is selected, CUCM reuses the caller's own CSS for the second lookup instead; Cisco's +E.164 normalization designs use this to keep each user's class of service.
[Phone (CSS: User_CSS)] dials '8201'
|
v
[Translation Pattern: 8XXX in Partition Abbrev_PT]
- Called Party Transform Mask: 5551XXX
- Prefix: 91408
- Translation Pattern CSS: Gateway_CSS
|
v
[Rewritten Number: 914085551201]
|
v
[CUCM Restarts Digit Analysis using Gateway_CSS]
- Matches Route Pattern: 9.1[2-9]XX[2-9]XXXXXX
- Routes out PSTN via Route List
Common Enterprise Translation Pattern Use Cases
- Abbreviated Inter-Site Dialing: Users dial an internal site code plus extension (e.g.,
8+ 4-digit extension2XXX). The Translation Pattern82XXXrewrites the digits to the full E.164 DID (+14085552XXX) and evaluates internal directory numbers across the WAN. - Dialing Normalization: If users dial 7-digit local numbers (
5551234), a Translation Pattern[2-9]XXXXXXprefixes the local area code (408) and access code91to construct standard 11-digit NANP strings. - Emergency Dialing Normalization: In many enterprises, users inadvertently dial
9911instead of911. A Translation Pattern9911with Called Party Transform Mask911seamlessly redirects the call to the emergency route pattern. - Call Blocking: Setting a Translation Pattern with the Route Option set to
Block this patternenables administrators to reject specific numbers (e.g., high-cost 900-numbers or international toll destinations) with specific cause codes such as Unallocated Number or Call Rejected.
3. Transformation Patterns and Transformation CSS
Transformation Patterns format numbers without changing routing. They fall into two categories:
- Calling Party Transformation Patterns (CPTP): Modify the calling number (Caller ID / ANI).
- Called Party Transformation Patterns (CDTP): Modify the dialed number (DNIS) delivered to the carrier.
Transformation CSS Hierarchy
Transformation patterns are grouped into partitions and accessed via Transformation Calling Search Spaces. These are configured at three distinct hierarchical locations:
- Gateway / Trunk Level: Directly on the SIP Trunk, MGCP port, or H.323 gateway configuration page under
Calling Party Transformation CSSandCalled Party Transformation CSS. - Device Pool Level: Configured on the Device Pool to provide default transformation rules for all gateways or phones belonging to that site.
- Phone Configuration Level: Applied to IP phones under
Calling Party Transformation CSSto localize incoming caller ID displayed on the screen (e.g., converting incoming+14085550100to 7-digit555-0100for localized user display).
Hierarchy Resolution Order:
If 'Use Device Pool Calling/Called Party Transformation CSS' is checked on the gateway or trunk -> the device pool's CSS is used.
If that box is unchecked -> the CSS set on the gateway or trunk itself is used, even if it is <None>.
4. Digit Masking and Manipulation Mechanics
CUCM provides flexible masking parameters across Translation Patterns, Route Patterns, Route Lists, and Transformation Patterns:
Masking Rules and Wildcard Behavior
- The wildcard character
Xpreserves the original dialed digit in that character position. - Any literal digit replaces the digit at that position.
- Masks are aligned from the right. If the mask is shorter than the number, the leftmost digits are dropped (a mask of ten X characters keeps the last 10 digits).
- If the mask is longer than the number, its extra leftmost literal digits are prepended.
Transformation Examples
| Original Dialed Digits | Called Party Transform Mask | Prefix Digits | Resulting Output String | Mechanism Explanation |
|---|---|---|---|---|
4123 | 555XXXX | None | 5554123 | Prepends literal 555 while preserving 4123 via XXXX. |
4123 | 5551XXX | 91 | 915551123 | Literal 5551 replaces 4; XXX retains 123; 91 prepends. |
914085551234 | XXXXXXXXXX (10 X's) | None | 4085551234 | Strips leading 91 by matching the trailing 10 digits. |
2001 | +1408555XXXX | None | +14085552001 | Normalizes 4-digit internal extension to global E.164. |
5. SIP URI Dialing and Blended Addressing
Modern collaboration architectures increasingly use Session Initiation Protocol (SIP) Uniform Resource Identifiers (URIs) instead of traditional numeric telephone numbers. A SIP URI resembles an email address (e.g., alice@example.com or sales@company.com), providing human-readable, domain-based routing across enterprise networks and the internet.
Architectural Components of SIP URI Dialing
- Directory URIs: Configured directly on the Directory Number (DN) in CUCM. Each DN can hold up to 5 Directory URIs, commonly populated from Microsoft Active Directory through LDAP synchronization (for example, from the mail attribute).
- SIP Route Patterns: Analogous to traditional Route Patterns, but match domain names rather than numbers. Examples include
example.com,*.cisco.com, or an IPv4 address. SIP Route Patterns point directly to SIP Trunks (such as a trunk to Cisco Expressway-C for Business-to-Business calling). - Blended Addressing: Allows CUCM to associate a Directory Number and a Directory URI to the same endpoint simultaneously. When an internal user places a call, CUCM displays both the numeric extension and the alphanumeric URI on the receiving phone's screen. Similarly, Call Detail Records (CDR) capture both attributes.
- URI Route Partitions: SIP Route Patterns and Directory URIs are assigned to partitions. A calling device must have the partition in its CSS to resolve and dial the URI destination.
[Caller Dials: bob@partner.com]
|
v
[CUCM Digit Analysis]
|
v
[Matches SIP Route Pattern: partner.com]
|
v
[Routes to SIP Trunk -> Cisco Expressway-C]
|
v
[Expressway-E resolves DNS SRV _sips._tcp.partner.com -> B2B Call Setup]
A collaboration engineer needs to understand the architectural difference between Translation Patterns and Transformation Patterns in CUCM. Which statement accurately identifies their respective execution points and behavioral impact on the call routing pipeline?
Translation Patterns apply only to SIP URI strings, while Transformation Patterns apply exclusively to analog FXS ports on Cisco IOS XE voice gateways.
Translation Patterns execute on egress trunks after path selection without changing any digits; Transformation Patterns execute before routing to alter dialed digits and select gateways.
Translation patterns rewrite digits before routing and re-enter digit analysis with their own CSS; transformation patterns change presented numbers at ingress or egress without re-analysis.
Both Translation Patterns and Transformation Patterns execute simultaneously during database synchronization and share a single Calling Search Space defined on the device pool.
An administrator creates a Translation Pattern 4XXX in partition Internal_PT. The pattern has a Called Party Transform Mask configured as 5551XXX and a Prefix Digits (Outgoing Calls) configured as 91. If an internal user dials extension 4200, what is the resulting called number string that re-enters digit analysis?
915551200, because the mask is applied first (5551200) and the prefix 91 is then added in front.
914200 because Prefix Digits takes precedence over the Called Party Transform Mask.
5551200 because Prefix Digits is ignored whenever a Called Party Transform Mask is defined.
42005551 because the mask digits are appended to the dialed extension string.
An enterprise enables SIP URI dialing within CUCM to allow users to place calls using email-style addresses (such as john.doe@cisco.com). Which set of CUCM components and mechanisms must be configured to support this capability alongside traditional numeric dialing?
Webex Control Hub directory synchronization with mandatory deletion of all on-premises directory numbers.
Directory URIs associated with directory numbers, SIP route patterns for remote domains, URI partitions, and blended addressing.
MGCP translation rules configured on each gateway with Cisco IOS XE voice translation profiles that match on source IP addresses exclusively.
H.323 Gatekeeper profiles, SCCP transformation masks, and ISDN Q.931 bearer capability overrides on each gateway.
Sections you finish are checked off in the contents.