Skip to main content

Call Policy Design with Cisco CallManager CURRI API

Cisco CallManager provides a native CURRI API (Cisco Unified Routing Rules Interface) that allows you to inspect and control calls in real-time. CURRI spam call blocking works by having CallManager ask Call Telemetry for a routing decision before it routes each screened call; Call Telemetry's call policies then permit, block, or redirect the call. This guide will help you understand how to design effective call blocking and inspection policies using the CURRI API.

  • Organization-wide inbound calls: Apply the ECC profile to inbound translation patterns before routing to phones. Use a dedicated inbound CSS for screening and a separate delivery CSS that excludes the screening partition.
  • Pilots and selected destinations: DN-level policies are easy to start with and useful for destination-specific rules. Use the inbound design when expanding to organization-wide screening.
  • Ten-digit dial plans: Keep the called digits unchanged when they already match your DNs. The translation pattern's delivery CSS moves the call into the destination partitions.

Designing for Inbound Matching​

The Cisco CURRI API (also called External Call Control Profile) triggers on inbound requests towards a Route Pattern, Translation Pattern, or Directory Number. The matched route, translation pattern, or directory number must have an External Call Control Profile assigned, and the call direction must be inbound towards the profile.

Cisco CallManager inspection points include route or translation patterns, directory numbers, and emergency route patterns. They use the External Call Control Profile to exchange a CURRI policy request and response with the policy engine inside the Call Telemetry appliance. Cisco CallManager applies the policy actions.Cisco CallManager inspection points include route or translation patterns, directory numbers, and emergency route patterns. They use the External Call Control Profile to exchange a CURRI policy request and response with the policy engine inside the Call Telemetry appliance. Cisco CallManager applies the policy actions.

Design Examples for Call Blocking and Inspection​

The following examples cover inbound screening, destination-specific policies, and emergency or outbound inspection.

Blocking Calls via DID Translation Patterns​

Objective: Block unwanted calls based on Inbound Direct Inward Dialing (DID) patterns.

Policy Design: Apply the ECC Profile to inbound translation patterns from CUBEs to inspect all inbound DID patterns.

A screening-only CSS routes inbound calls to a translation pattern with the ECC profile. A separate delivery CSS reaches internal destinations and excludes the screening partition. Call Telemetry exchanges CURRI requests and responses with the translation stage.A screening-only CSS routes inbound calls to a translation pattern with the ECC profile. A separate delivery CSS reaches internal destinations and excludes the screening partition. Call Telemetry exchanges CURRI requests and responses with the translation stage.

Solid arrows show CUCM routing; dashed arrows show CURRI requests and responses. The recommended path shows Permit / Continue. On smaller screens, scroll horizontally.

Separate Screening from Delivery​

  • Inbound CSS: Reach the screening partition only. Keep destination DN partitions out so a direct match cannot bypass inspection.
  • Translation pattern: Assign the ECC profile and an explicit delivery CSS. Leave Use Originator's Calling Search Space disabled for this handoff.
  • Delivery CSS: Reach the required internal destinations and exclude the screening partition, so an unchanged number cannot return to screening.

For a ten-digit DN, 2025550123 can remain 2025550123: the change of CSS moves the call into delivery. Match your assigned DID ranges and account for the number format presented by each trunk.

Applying Policies to Inbound Calls on Phone Extensions​

Objective: Block or apply actions on inspecting calls received on phone extensions.

Policy Design: Apply the ECC profile to selected phone extensions for a pilot or destination-specific policy. Use Bulk Administration Tool (BAT) for efficient profile assignment.

Avoid duplicate screening: Applying the same inbound-screening policy to successive DNs, or to both an inbound pattern and its destination DNs, can repeat checks. Keep additional policies intentional; ten-digit numbering itself does not cause duplicates.

An inbound call reaches DN A with a screening ECC profile. A transfer or forward toward DN B can invoke the same screening policy again if DN B's ECC profile is evaluated. Dashed arrows show separate CURRI request and response pairs for the two DNs.An inbound call reaches DN A with a screening ECC profile. A transfer or forward toward DN B can invoke the same screening policy again if DN B's ECC profile is evaluated. Dashed arrows show separate CURRI request and response pairs for the two DNs.

Emergency Call Alerts and Outbound Inspection​

Objective: Trigger emergency alerts and location workflows, or apply a separate policy to selected outbound calls.

Policy Design: Apply a dedicated ECC profile to the relevant route or translation patterns. Keep emergency alerting separate from inbound call blocking and preserve the intended emergency routing.

A Cisco IP Phone calls an emergency pattern in CUCM. The pattern sends a CURRI request to Call Telemetry's emergency alert policy and receives Permit / Continue. CUCM continues the configured CER or gateway route, and Call Telemetry sends customized emergency notifications. Voice media does not pass through Call Telemetry.A Cisco IP Phone calls an emergency pattern in CUCM. The pattern sends a CURRI request to Call Telemetry's emergency alert policy and receives Permit / Continue. CUCM continues the configured CER or gateway route, and Call Telemetry sends customized emergency notifications. Voice media does not pass through Call Telemetry.

See Emergency Call Alerts and Cisco CER Integration for the emergency workflow.

Implementation Steps​

  1. Access CUCM Administration Interface: Log in to Cisco Unified Communications Manager Administration.
  2. Create/Assign ECC Profile: Navigate to Call Routing > External Call Control Profile. Create or edit a profile as needed.
  3. Assign ECC Profile: Go to Call Routing > Route/Hunt and assign the ECC profile to the necessary Route Pattern, Translation Pattern, or Directory Number.

Validate the Call Flow​

A registered ECC profile confirms connectivity, not coverage. Check the route with CUCM Dialed Number Analyzer, then place agreed test calls and review the policy requests.

  • Inbound coverage: Test allowed and blocked calls through each primary and backup trunk, using every accepted number format.
  • Call handling: Check transfers, forwarding, hunt groups, and voicemail. Identify the purpose of any additional policy evaluation.
  • Other call paths: Confirm internal, outbound, and emergency routing follow their intended policies rather than entering inbound screening unintentionally.
  • Failure behavior: Verify the ECC profile's selected Call Treatment on Failure. Allow Calls continues normal routing if the exchange fails; Block Calls rejects the call. See CURRI Failure Behavior.

Aim for one intended inbound-screening stage per ingress path. Separate destination policies or consultation calls can still produce legitimate CURRI evaluations.

Additional Resources​