4.2 Route Patterns, Route Groups & Route Lists

Key Takeaways

  • Route Patterns define external dialed number strings using wildcards such as X, N, [0-9], !, and the NANP macro @, directing call traffic to Route Lists, Gateways, or Trunks.

  • Urgent Priority forces CUCM to terminate the interdigit timeout (T.302 timer, default 15,000 ms) immediately upon an exact pattern match, but will truncate dialing if applied to shorter overlapping patterns.

  • Discard Digits Instructions (DDIs) like PreDot strip prefix access codes and delimiters before delivering dialed digits to external PSTN circuits.

  • Route Groups organize voice gateways and trunks using Top Down (sequential failover) or Circular (load balancing) distribution algorithms.

  • Route Lists aggregate multiple Route Groups into an ordered hierarchy to enforce path failover and apply route-specific digit transformations.

Last updated: October 2026

4.2 Route Patterns, Route Groups & Route Lists

Outbound call routing in Cisco Unified Communications Manager (CUCM) directs dialed numbers from internal endpoints to external Public Switched Telephone Network (PSTN) gateways, Session Border Controllers (such as Cisco Unified Border Element, or CUBE), and inter-cluster SIP trunks. The routing hierarchy is structured into three tiered elements: Route Patterns, Route Lists, and Route Groups, complemented by Call Hunting mechanisms for incoming call distribution.


1. Route Patterns and Dial Plan Wildcards

A Route Pattern defines a string of digits and wildcards that match a dialed telephone number. Unlike Translation Patterns, which rewrite digits and restart digit analysis internally, a Route Pattern represents an egress routing decision, pointing directly to a Route List, a Gateway, or a SIP Trunk.

Wildcard Syntax Reference

CUCM digit analysis supports a comprehensive set of wildcards and special characters for constructing precise dial patterns:

WildcardCharacter Range / DefinitionExample PatternMatched String ExampleCommon Architectural Use Case
XAny single digit from 0 to 99.[2-9]XXXXXX95551234North American 7-digit local dialing.
NAny single digit from 2 to 99.NXXXXXX92551234Excludes numbers starting with 0 (operator) or 1 (toll prefix).
[ ]Any single digit within the bracketed range or set[2-5]XXX2100, 3550, 59994-digit internal extensions restricted to specific numerical blocks.
!Variable-length repeat wildcard; matches 1 or more digits9.011!9011442079460123International dialing where digit lengths vary across global destinations.
?Matches zero or more occurrences of the preceding digit or wildcard91X?91, 912, 9123, ...Variable-length matching; like !, it makes CUCM wait for the interdigit timeout.
\+A literal plus sign (escaped); an unescaped + means one or more occurrences of the preceding digit or wildcard\+1[2-9]XX[2-9]XXXXXX+14085550100Globalized +E.164 dial plans
.Delimiter character for Discard Digits Instructions (DDI)9.1[2-9]XX[2-9]XXXXXX914085550100Marks the boundary where leading access codes are stripped via PreDot.
@North American Numbering Plan (NANP) macro9.@Any valid NANP numberBuilt-in Cisco macro expanding to all North American dialed numbering rules.
^Inside brackets, excludes the listed digits[^0-1]XXX2345Any 4-digit string whose first digit is not 0 or 1
#Ends digit collection when dialed; must be the last character of a pattern9.011!#9011442079460123#Lets international callers skip the interdigit timeout

2. Urgent Priority and Interdigit Timeout (T.302) Mechanics

When a user enters digits off-hook on a Cisco IP phone without pressing # or a "Call" softkey, CUCM receives digits one-by-one via Keypad Markup Language (KPML) or Skinny Station Protocol. As each digit arrives, CUCM determines whether the dialed string matches an active pattern.

The T.302 Interdigit Timer

If the entered string matches a pattern, but longer matching patterns exist in the dial plan, CUCM cannot immediately route the call. It starts the T.302 Interdigit Timeout timer (default: 15,000 milliseconds, or 15 seconds) to wait for subsequent digits:

  • If the user dials another digit before T.302 expires, the timer resets, and digit analysis continues.
  • If the user enters no further digits and T.302 expires, CUCM routes the call based on the best matching pattern accumulated so far.
  • If the user dials #, CUCM terminates dialing immediately without waiting for T.302.

Urgent Priority Behavior

The Urgent Priority setting is a checkbox available on Route Patterns, Translation Patterns, and Directory Numbers. When enabled, Urgent Priority instructs the Digit Analysis engine to halt the T.302 interdigit timer immediately upon reaching an exact match, routing the call without waiting for potential longer patterns.

Scenario: Emergency Calling vs. Variable-Length International
------------------------------------------------------------------------
Pattern A: 911     (Urgent Priority = ENABLED)
Pattern B: 9.!     (Variable-length international, e.g., 9011...)

Caller Dials: 9 -> 1 -> 1
Result: Because Urgent Priority is ENABLED on 911, CUCM terminates digit
        analysis instantly and dispatches the call to the emergency gateway.
        If Urgent Priority were DISABLED, CUCM would pause for 15 seconds
        (T.302) after the second '1' to see if the caller intended to dial
        a longer string matching 9.!

Architectural Pitfall: Premature Digit Truncation

Applying Urgent Priority incorrectly can severely disrupt internal dial plans. For example, consider an enterprise with both 4-digit extensions (3XXX) and 5-digit extensions (3XXXX). If an administrator enables Urgent Priority on the 3XXX pattern, callers can never dial 5-digit extensions starting with 3. As soon as the fourth digit is entered, CUCM matches 3XXX, immediately terminates digit analysis, and routes the call to the 4-digit target, truncating the fifth digit.


3. Discard Digits Instructions (DDIs)

Public carriers expect standard numbers (such as 10-digit local or 11-digit national) without internal enterprise steering digits (such as an external access code 9). Discard Digits Instructions (DDIs) remove these steering digits at the egress boundary before the call is delivered to a Route Group or Gateway.

Standard Discard Digits Instructions

DDI NameAction PerformedExample Route PatternDialed NumberSent to PSTN / Gateway
PreDotStrips all digits up to and including the dot (.)9.1[2-9]XX[2-9]XXXXXX91408555019914085550199
PreDotStrips access code and delimiter9.[2-9]XXXXXX955512345551234
PreAtStrips access code preceding the @ macro9.@91212555012312125550123
Trailing-#Removes the end-of-dialing #9.@901181910555#901181910555
NoDigitsRemoves no digits9.@919728135000919728135000
<None>Preserves the entire dialed string intact\+1[2-9]XX[2-9]XXXXXX+14085550100+14085550100

In addition to DDIs, administrators can configure Prefix Digits (Outgoing Calls) to prepend digits (such as prepending an international carrier access code 011) after the DDI has stripped the designated prefix.


4. Route Groups and Distribution Algorithms

A Route Group is an ordered, logical aggregation of one or more physical voice gateways or trunks (such as Cisco Unified Border Elements, MGCP gateways, or SIP trunks). Route Groups do not contain dial patterns; they represent pools of egress hardware interfaces.

Distribution Algorithms

When multiple gateways or trunks are placed inside a Route Group, CUCM distributes outbound calls across those devices using one of two distribution algorithms:

  1. Top Down:
    • CUCM always attempts to route calls out the first device listed at the top of the Route Group.
    • If the first device is busy (all DS0 channels or SIP call legs exhausted) or unreachable, CUCM rolls over to the second device, and so forth down the list.
    • Use Case: Preferred when one egress path has lower carrier costs or higher quality (e.g., primary fiber SIP trunk over an ISR 4451, failing over to a secondary T1/E1 PRI circuit).
  2. Circular (Round-Robin):
    • CUCM distributes calls evenly across all operational gateways in the Route Group by cycling through the list in a round-robin sequence.
    • Each new call setup request is offered to the gateway immediately following the device that received the preceding call.
    • Use Case: Preferred when distributing load across multiple equal-cost Session Border Controllers or parallel SIP trunks to maximize hardware utilization and prevent bottlenecking.

5. Route Lists and Path Failover Logic

A Route List is an ordered collection of Route Groups. While a Route Group selects the physical gateway, a Route List establishes the hierarchical failover strategy across different Route Groups and applies path-specific digit manipulations.

[Route Pattern: 9.1[2-9]XX[2-9]XXXXXX]
               |
               v
     [Route List: RL_Outbound_WAN]
               |
               +---> Route Group 1: RG_HQ_CUBE_SIP      (Primary path - SIP)
               |        |---> CUBE-01 (HQ)
               |        |---> CUBE-02 (HQ Backup)
               |
               +---> Route Group 2: RG_HQ_PRI_GATEWAY   (Secondary path - T1 PRI)
                        |---> ISR4331-MGCP-PRI

Failover Conditions and PSTN Cause Codes

CUCM automatically advances to the next Route Group in a Route List under specific network and signaling conditions:

  • Circuit Congestion / Busy: The gateway returns ISDN Cause Code 34 (Circuit/Channel Congestion) or SIP 503 Service Unavailable.
  • Temporary Failure: The gateway returns ISDN cause 41 (Temporary Failure), which SIP devices typically signal as 503 Service Unavailable.
  • Unreachable Interface: Layer 3 connection failure or SIP OPTIONS keepalive failure on the trunk.

Critical Distinction: If a carrier rejects a call due to an invalid dialed number (e.g., ISDN Cause Code 1 Unallocated/Unassigned Number or SIP 404 Not Found), CUCM does not fail over to the next Route Group (the Stop Routing on Unallocated Number Flag service parameter, True by default). An unallocated number indicates the destination does not exist; retrying the same invalid number across alternate carrier circuits would needlessly waste PSTN resources.

Path-Specific Digit Manipulation

Route Lists allow administrators to configure digit transformations on a per-Route Group member basis. For example, if Route Group 1 routes over a SIP trunk expecting standard 11-digit numbers (14085550100), while Route Group 2 routes over an older legacy PBX expecting 7 digits (5550100), the Route List can apply PreDot on Route Group 1 and a Called Party Transform Mask stripping the area code on Route Group 2.


6. Call Hunting Architecture

Call Hunting distributes incoming calls to a designated group of internal directory numbers when a single shared department number is dialed (such as Technical Support, IT Helpdesk, or Billing).

Hunting Component Hierarchy

Call hunting in CUCM is constructed using three layered objects:

  1. Hunt Pilot: The virtual telephone number (with an assigned partition and CSS) dialed by callers (e.g., extension 4500). The Hunt Pilot points to a single Hunt List.
  2. Hunt List: An ordered collection of one or more Line Groups. It defines the sequence in which different agent tiers are engaged.
  3. Line Group: An ordered collection of individual Directory Numbers (endpoints) that ring according to a selected distribution algorithm.

Line Group Distribution Algorithms

Distribution AlgorithmHunting MechanismOptimal Enterprise Use Case
Top DownAlways begins with the first directory number listed in the Line Group. Moves down sequentially only if earlier members are busy or do not answer.Seniority-based routing or tiered dispatch desks where senior staff receive calls first.
CircularRemembers the last answered extension; offers the next incoming call to the member immediately following the last answering member.Equal distribution across shift workers when active idle time tracking is not required.
Longest Idle TimeDynamically tracks line state; routes incoming calls to the agent who has been off the phone (idle) for the longest elapsed duration.High-volume call centers and technical support desks to ensure fair, uniform workload distribution.
BroadcastSimultaneously rings every directory number in the Line Group at the same time. The first agent to answer claims the call.Emergency response teams, executive admin pools, and urgent dispatch centers.

Hunting Timers and Native Queuing

  • RNA Reversion Timeout: Configured on the Line Group, the time (default 10 seconds) that CUCM rings a member before treating the attempt as Ring No Answer (RNA) and advancing to the next member.
  • RNA Reversion Destination: The fallback destination (such as a general voicemail box or external answering service) if all members across all Line Groups fail to answer.
  • Native Call Queuing: Built-in CUCM capability allowing callers to wait in queue when all Line Group members are busy. Features include maximum queue depth (e.g., 32 callers), periodic queue position and wait-time announcements, and Music on Hold (MoH) streaming.
Loading diagram...
CUCM Outbound Routing Pipeline and Call Hunting Hierarchy
Test Your Knowledge

An engineer configures emergency calling pattern 911 on CUCM alongside an outbound route pattern 9.! used for variable-length international dialing. Both patterns reside in partitions accessible to standard user endpoints. When users dial 911, there is an unexpected 15-second delay before the call routes to the emergency gateway. What configuration error caused this delay, and what is the technical remedy?

A

The SIP gateway requires its SIP PRACK timer to be reduced from 15 seconds to 100 milliseconds for emergency calls.

B

The 911 pattern lacks Urgent Priority, so CUCM waits for the T.302 interdigit timer in case the caller is dialing more digits that match 9.!.

C

The interdigit timeout service parameter (T.302) must be permanently reduced to 0 milliseconds on every call processing node in the CUCM cluster.

D

The 9.! route pattern must be assigned to the <None> partition so that it is ignored during emergency digit analysis.

Test Your Knowledge

An enterprise dial plan utilizes a Route List named RL_Outbound_PSTN containing two Route Groups: RG_SIP_Trunk (Primary) and RG_PSTN_PRI (Backup). The RG_SIP_Trunk group contains two Cisco Unified Border Element (CUBE) routers configured with the Top Down distribution algorithm. Under what condition will a call fail over from the primary CUBE to the secondary CUBE, and what condition triggers failover from RG_SIP_Trunk to RG_PSTN_PRI?

A

Failover between CUBE routers occurs randomly via round-robin; failover to RG_PSTN_PRI occurs only when the physical Ethernet link on the CUCM publisher server drops.

B

Failover between CUBE routers requires manual intervention in CUCM Serviceability; failover to RG_PSTN_PRI occurs on any 4xx SIP error code.

C

Top Down tries the second CUBE when the first is busy or unavailable; the call moves to RG_PSTN_PRI only after every RG_SIP_Trunk member fails.

D

Top Down distribution sends 50% of calls to each CUBE simultaneously; failover to RG_PSTN_PRI occurs when latency across the WAN exceeds 80 ms.

Test Your Knowledge

A call center administrator configures a Line Group for Tier-1 technical support agents with four member directory numbers: 4001, 4002, 4003, and 4004. The administrator requires that incoming calls be delivered to the agent who has experienced the longest duration without handling a call. Which Line Group distribution algorithm must be selected, and what happens if that agent fails to answer within the RNA Reversion Timeout?

A

Select Circular distribution; if the agent fails to answer, CUCM broadcasts the call to all four extensions simultaneously.

B

Select Longest Idle Time distribution; an unanswered call moves to the next longest-idle agent after the RNA Reversion Timeout.

C

Select Top Down distribution; if the agent fails to answer, the call is dropped immediately with a fast-busy tone.

D

Select Broadcast distribution; if the agent fails to answer, CUCM parks the call on the default Call Park range.

Sections you finish are checked off in the contents.