530 likes | 866 Views
Configuring Cisco Unified Communications Manager Call Routing Components. Enabling Single-Site On-Net Calling. Outline. Endpoint Addressing Cisco Unified Communications Manager Call Routing Overview Cisco Unified Communications Manager Digit Analysis
E N D
Configuring Cisco Unified Communications Manager Call Routing Components Enabling Single-Site On-Net Calling
Outline Endpoint Addressing Cisco Unified Communications Manager Call Routing Overview Cisco Unified Communications Manager Digit Analysis Cisco Unified Communications Manager Path Selection Cisco Unified Communications Manager Path Selection Configuration Special Call Routing Features
Endpoint Addressing Characteristics Reachability of internal destinations is provided by assigning directory numbers Directory numbers are assigned to endpoints (phones, fax machines, etc.) and applications (voice mail systems, auto attendant, etc.) The number of extensions required generally determines the length of directory number digits DID numbers for inbound PSTN calls are mapped to internal directory numbers Cisco Unified CM Cisco Unity Phone numbers assigned to endpoints 1001 1002 1003 1099 7001
Endpoint Dialing On-Net Dialing: Calls that originate and terminate on the same telephony network (e.g., internal IP phone to IP phone calls within the same cluster) Off-Net Dialing: Calls that originate from a telephony network and terminate on a different telephony network (e.g., IP phone to PSTN calls) Abbreviated Dialing: Use of internal number to reach a PSTN phone. Unified CM maps the abbreviated number to full PSTN number 408-555-4001 PSTN 2002 2004 2001 2003 dials 4001
Endpoint Dialing Example On-net 4001 4002 Abbreviated Off-net Site 2 HQ Site 1 408-555-4001 555-2001 dials 4001 PSTN IP WAN dials 9 5552001 3001 3002 dials 3001 2001 2002 2003
Cisco Unified Communications Manager Call Routing Overview
Call Routing Types Example 4085551053 HQ 3 Site 1 PSTN call from 2002 to 14085551053 PSTN IP WAN 3001 3002 2 Intersite call from 2003 to 3001 2001 2002 2003 1 Intrasite call from 2001 to 2002 2 1 3
Sources of Call Routing Requests (Entities Requiring Call Routing Table Lookup)
Cisco Unified Communications Manager Call Routing Logic Unified CM uses closest-match logic to select the best pattern. When multiple matching patterns are present, the best pattern is selected based on: It matches the dialed string. AND It matches the fewest strings other than the dialed string. Unified CM Call Routing Logic Example 1XXX Gateways User A dials “1200” 12XX Pool of IP Phones User B dials “1212” 121X IP Phones User C dials “1234” 1234
Digit-by-Digit Analysis 1000 Route Patterns Dialed Digits 1XXX 10XX List Potential Matches <none> List Potential Matches 1 List Potential Matches 0 List Potential Matches 0 List Current Match 1 1001 Call Setup
Digit Collection Example 1111 Match! User dial string: 1111 121X Does not match 1[23]XX Does not match 131 Does not match Cisco Unified CM actions: No other patterns could match; extend call. 13[0-4]X Does not match 13! Does not match
Closest Match Routing Example 1111 Does not match User dial string: 1211 121X Match! Match! 1[23]XX Matches 10 digit strings Does not match 131 Select as closest match Does not match 13[0-4]X 13! Does not match Matches 100 digit strings
Interdigit Timeout Example 1111 Does not match User dial string: 121X 1311<timeout> Does not match Match! 1[23]XX Matches 100 digit strings Does not match 131 Match! 13[0-4]X Matches 10 digit strings Select as closest match 13! Match! Matches digit strings 8
Cisco Unified Communications Manager Digit Analysis
User Input on SCCP Phones SCCP Phones report every input event (off-hook, on-hook, each digit dialed, etc.) to Unified CM immediately. Unified CM analyzes phone input digit-by-digit against configured dial plan and responds with feedback (dial tones, ring back, reorder tone, etc.). No dial plan information at the IP phone. SCCP message sentwith each user action Dial Plan (digit analysis) Off-hook, digit 1, digit 0, digit0, digit 0 Any phone modelrunning SCCP. Dial tone on/off, screen update. etc. Dialing actions:1 0 0 0 Signaling
User Input on SIP Phones Type A SIP phones Cisco Unified IP phones 7905, 7912, 7940, and 7960 Do not support KPML Type B SIP phones Cisco Unified IP phones 7911, 7941, 7961, 7970, and 7971 Support KPML SIP dial rules can be configured on both phone types
User Input on Type A SIP Phones – No SIP Dial Rules Configured on the Phone Phone accumulates all user input events until # or Dial softkey is pressed (similar to with cell phones) Phone will send SIP INVITE message with complete dialed digits (en-bloc) Unified CM analyzes the full dialed digits against configured dial plan SIP INVITE messagesent when user pressesthe Dial key Dial Plan (digit analysis) “call for 1000” Existing SIP phonesuch as 7940, 7960 Call in progress, call connected, call denied, etc. Dialing actions:1 0 0 0 Dial Signaling
User Input on Type A SIP Phones – SIP Dial Rules Configured on the Phone SIP dial rules enable phone to recognize patterns dialed by users If pattern matches, SIP INVITE will be sent immediately without requiring user to press # or Dial softkey The phone below is configured to immediately recognize allfour-digit patterns beginning with 1 (timeout value of 0 for 1…) SIP INVITE messagesent when patternis recognized Dial Plan (digit analysis) “call for 1000” Existing SIP phonesuch as 7940, 7960 Call in progress, call connected, call denied, etc. Dialing actions:1 0 0 0 DialPattern 1…Timeout 0 Signaling
User Input on Type B SIP Phones – No SIP Dial Rules Configured on the Phone Based on KPML to report user key presses, every user key press triggers a SIP NOTIFY message to Unified CM Very similar behavior to phones running SCCP No Dialsoftkey to indicate the end of user input KPML events reportedin SIP NOTIFY messages Dial Plan (digit analysis) Off-hook, digit 1, digit 0, digit 0 , digit 0, SIP enhanced phonesuch as 7971 Call in progress, call connected, call denied, etc. Dialing actions:1 0 0 0 Dial Signaling
User Input on Type B SIP Phones – SIP Dial Rules Configured on the Phone Combination of KPML and SIP dial rules will be used Dial rules are processed first Once dial rule is matched, appropriate digits are sent en-bloc If additional digits are required, KPML is used Additional digits are sent one-by-one using KPML SIP INVITE messagesent when patternis recognized Dial Plan (digit analysis) “call for 1000” SIP enhanced phonesuch as 7971 Call in progress, call connected, call denied, etc. Dialing actions:1 0 0 0 DialPattern 1…Timeout 0 Signaling
Dial Rules and KPML Interworking Yes Yes Is KPML Supported? Are SIP Dial RulesDefined? Send En-blocINVITE No No Were Enough Digits Received? Are SIP Dial RulesDefined? Yes Yes Call IsRouted No Send En-BlocINVITE No SUBSCRIBETo KPML User MustPress “Dial” Softkey ReorderTone No Were Enough Digits Received? Yes
Gateway Overlap Sending and Receiving • Overlap Sending • Unified CM collects digits and immediately passes them on to the PSTN one-by-one as they are dialed. • Very useful for simplifying variable-length PSTN dial patterns(just need a single route pattern for all PSTN calls). • Configured through route pattern configuration. • Overlap Receiving • Unified CM receives the dialed digits one-by-one from a PRI PSTN gateway. • Configured globally through Unified CM service parameter.
Cisco Unified Communications Manager Path Selection
Path Selection Path selection is an essential dial plan element. After call routing decision is done, where should the call besent to? Chooses the best path: Which device to use (gateways, trunks, etc.)? Backup path available if first choice not available?
Path Selection Example For off-net calls, a route pattern must be configured on Unified CM In above example, to reach 408-526-4000, use: IP WAN through an ICT as priority path. If WAN not available, try the second path through PSTN. Gatekeeper San Jose 1 GK IP WAN PSTN User dials 9-1-408-526-4000 Routers/Gateways 408-526-4000 2 1001
Path Selection Configuration Elements in Cisco Unified Communications Manager Route pattern: Route Pattern • Matches dialed number for external calls • Performs digit manipulation (optional) • Points to a route list for routing Route List Route list: • First level of path selection • Performs digit manipulation • Points to prioritized route group(s) First Choice Second Choice Route Group Route Group Route group: Configuration Order SecondChoice • Second level of path selection • Points to the actual device(s) FirstChoice GK IP WAN PSTN Devices: • Gateways (H.323, MGCP) • Trunks (SIP, H.323)
Cisco Unified Communications Manager Path Selection Configuration
Path Selection Configuration Process Add devices (gateways and trunks). Build route groups from available devices. Build route lists from available route groups. Build route patterns pointing to route lists.
Route Group Configuration A route group is a list of devices that share the same requirements for digit manipulation (e.g., multiple PSTN gateways). User dials 914085264000 Route Pattern 9.14085264XXX GW 1 Gateway pulls configuration file and applies MGCP configuration Circular (round-robin) or top down (priority-based) distribution algorithm can be configured PSTN Route Group Route List GW 2
Route Group Configuration Select distribution algorithm Add gateways and trunks to route group Order route group members (relevant if distribution algorithm top down is selected)
Route List Configuration A route list is a prioritized list of route groups. User dials 914085264000 Trunk Route Pattern 9.14085264XXX IP Route Group IP WAN First Choice GW1 Route List Second Choice PSTN Route Group PSTN GW2
Route List Configuration Add route groups to route list Order route list members (first entry has highest priority)
Digit Manipulation Requirements with Path Selection User dials 526-4000 7-Digit Intersite Dialing Route Pattern: 5264XXX Secondary Voice Path: PSTN Prepend “1408” and send to PSTN PSTN Philadelphia San Jose (215) 555-1xxx 5-Digit Internal Dialing GK (408) 526-4xxx 5-Digit Internal Dialing IP WAN Primary Voice Path: Intercluster Trunk Strip “52” and deliver 64000 to remote Cisco Unified CM
The @ Wildcard Macro function that expands into a series of route patterns Represents the entire national numbering plan for a certain country Example, configuring a 9.@ route pattern adds 166 individual NANP route patterns to Unified CM database It is possible to modify and use @ for other country numbering plan Can be used with route filters to block certain components of the number
Route Filters Used only with @ route pattern to block certain patterns (e.g., block all 1-900 calls, etc.) defined by clauses Not recommended for large deployments; use explicit route patterns rather than @ wildcard Match clauses are based on tag operators and values Example, Match all NANP dialed numbers that include area code 408 (e.g., 9.14085551234) Route pattern: 9.@ Route filter: IF AREA-CODE = 408 Example: Match all NANP dialed numbers that include the selection of a long-distance carrier (e.g., 9.101044414085551234) Route pattern: 9.@ Route filter: IF TRANSIT-NETWORK EXISTS
The ! Wildcard Stands for one or more digits Used for variable-length route patterns (e.g., some international calls) Subject to T302 timer (post-dial delay) 15 seconds by default T302 timer can be configured (typically reduced): Service Parameter > Call Manager > Clusterwide parameters (Device – General) Users can indicate end of dialing by pressing # Requires an identical route pattern with # wildcard at the end Different behavior compared to Cisco IOS dial peers In Unified CM, # is seen as part of dialed string (therefore, if used, it does not match route pattern without #)
Urgent Priority Configured under Route Pattern configuration Used to force immediate routing as soon as match is detected – even if other, longer route patterns are potential matches Used with emergency number route patterns Effectively excludes the urgent pattern from a longer route pattern range Translation patterns always have urgent priority
Blocked Patterns A route pattern can be configured for either “Allow” or “Block”. Block patterns will prevent calls to the pattern cluster-wide. The same can be configured on translation patterns.
Call Classification Classify a call as on-net or off-net Configured on route patterns for outgoing calls and devices (trunks and gateways) for incoming calls “Allow device override” setting uses the classification of the used device on outgoing calls (rather than route pattern classification) Used by several features: Blocking off-net to off-net transfers (toll-fraud prevention) Drop conference when no on-net party remains Call forward external versus call forward internal
Summary A uniform on-net dial plan provides unique endpoint addressing by fixed-length directory numbers. Call routing is when Unified CM processes incoming call requests by looking up the dialed number in its call routing table. Unified CM can receive dialed digits one-by-one or en bloc. Unified CM allows multiple, prioritized paths to be selected for a given route pattern. Route lists, route groups, and devices are configured to implement path selection. Unified CM configuration includes special call routing features such as numbering plans and route filters, a wildcard for variable length numbers, blocked patterns, patterns with urgent priority, and classification of calls.