Showing results for 
Search instead for 
Did you mean: 

blocking a number from being dialled outbound on H323 gateway and CUCM

Frequent Contributor
Frequent Contributor

Hi all

I need to block a numberfrom being dialled from our cucm to the outside, for example the number is


How would I do this on the cucm and h323 pstn gateway?

we use 9@ on cucm for outside calls

on the gateway we have some translation rules as below
voice translation-rule 101
 rule 1 /^4\(...\)$/ /594\1/
 rule 2 /^3\(...\)$/ /593\1/
 rule 3 /^6\(...\)$/ /506\1/
voice translation-profile PSTN-OUT-1-0
 translate calling 101


voice-port 0/0/0:15
 translation-profile outgoing PSTN-OUT-1-0

2 Replies 2

Just put a specific route pattern in CUCM for the numbers and block there.
Under Route Option chose Block this Pattern
Please remember to rate useful posts, click on the stars below.

Nipun Singh Raghav
Cisco Employee
Cisco Employee
On CUCM, either a TP or a RP can be used for a call block. On the IOS, you can create a translation as follows -

voice translation-rule 1
rule 1 reject /112233445566/

voice translation-profile CALL-BLOCK
translated called 1

dial-peer voice X voip
call-block incoming translation-profile CALL-BLOCK

You will always have to apply the call block on an incoming dial-peer. You might need to do a "debug voip cc inout" to see the incoming dial-peer for these calls. Alternatively you can use a "show voice call status" to get the dial-peers.

Nipun Singh Raghav
"We cannot solve our problems with the same thinking we used when we created them"
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers