cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
211
Views
6
Helpful
3
Replies

Block incoming international calls on CUBE

Good morning,

we are attempting to block certain numbers from our CUBE.

Here are examples of the numbers we are getting multiple time throughout the course of the day.

+971523201496
+971521294061
+971523198746

The constant digits are the first 5, (+97152)

I have limited experience with voice translation rules so I am wondering if anyone could tell me if the following would block the above incoming numbers

voice translation-rule 3
rule 1 reject /^97152/


voice translation-profile BLOCK
translate calling 3


dial-peer voice 2001 voip
call-block translation-profile incoming BLOCK
call-block disconnect-cause incoming call-reject

Thank you

3 Replies 3

This is well described in this post. https://community.cisco.com/t5/collaboration-knowledge-base/block-incoming-calls-based-off-of-ani-incoming-or-originating/ta-p/3129236
I would consider changing your match part to this to match the plus as well.

voice translation-rule 3
rule 1 reject /^\+97152.*/



Response Signature


I will certainly give this a try. Appreciate the fast response. thank you

The Rule you created will not block those calls since the string starts with the + and your /^97152/ means "starts with 97152" which the string does not. You also have to include the + but will need to provide the escape character of \ before the + as it is both a wildcard and a digits. So...:

rule 1 reject /^\+97152/

Maren