Scenario:-
Calling Party Number – 3005 (External PSTN)
Called Party Number – 2001ide
Configuration in Cisco Unified Communication Manager: Login to Cisco Unified Communication Manager. Create Partitions and CSS Create a Partition named 「Gateway_PRT」 and Create a CSS name 「Gateway_CSS」. Assign Gateway_PRT to Gateway_CSS Create a Partition named 「Filter_PRT」 and Create a CSS name 「Filter_CSS」. Assign Filter_PRT to Filter_CSS Create a Partition named 「Internal_PRT」 and Create a CSS name 「Internal_CSS」. Assign Internal_PRT to Internal_CSS (Internal_PRT is used for internal ip phone which can be called by external phone) Note : Ensure that Gateway CSS should not have any other Partitions that is being used by Directory Numbers, else the calls will be routed to the Directory Numbers. Assign Gateway_CSS in Trunks and Gateways for Inbound Calls Create Translation Pattern > This Translation Pattern will match all the incoming calls from Gateways or Trunks Add a New Translation Pattern > ! Description > Calls from Gateways or Trunks Partition > Gateway_PRT Calling Search Space > Filter_CSS Check Mark > Route Next Hop By Calling Party Create Translation Pattern > This Translation Pattern will route non blocking calls to the Directory Numbers Add a New Translation Pattern > ! Description > Filtered Translation Pattern Partition > Filter_PRT Calling Search Space > Internal_CSS (Calling Search Space of IP Phones/Directory Numbers) Ensure Route Next Hop by Calling Party is Unchecked Create Translation Pattern > This Translation Pattern will block calls to the Directory Numbers Add a New Translation Pattern > 3005 Description > 99999 is Being Blocked to Call to the Directory Numbers Calling Search Space > <None> Route Option > Block this Pattern > Call Rejected Ensure Route Next Hop by Calling Party is Unchecked
Now the calls from 3005 will be blocked when the call hits Cisco Unified Communication Manager.this