cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7827
Views
5
Helpful
9
Replies
Highlighted
Beginner

Blocking a specific number on a sip cube router

Hi everyone

 

I know theres a way of blocking a specific incoming call on a cisco call manager but im not familiar with call manager at all. However I was wondering what the configuration was to block a specific call on the sip cube router instead. Has anyone done this? 

 

Thanks everyone

9 REPLIES 9
Highlighted
Advocate

Either you can use voice

Either you can use voice-translation rules. Create a voice translation rule rejecting the calling number, create a translation profile, referencing calling number created in rule. apply this to incoming VoIP dial-peer from the provider to block the calls.

Details here: http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/64020-number-voice-translation-profiles.html#con11

Or use CUCM Translation rules:

Details here:

https://supportforums.cisco.com/document/71966/blocking-calls-based-calling-party-id

-Terry

Beginner

Thanks for this,  Much

Thanks for this, 

 

Much appreciated 

 

 

Highlighted
Beginner

Hi Ive just tried the config

Hi Ive just tried the config below and my call isnt being blocked. Dont know where im going wrong: 

 

voice translation-rule 3
 rule 1 reject /07800123456/      
!
voice translation-profile call_block
 translate calling 3      
!
dial-peer voice 1000 voip
 call-block translation-profile incoming call_block      

 call-block disconnect-cause incoming call-reject
 incoming called-number 07800123456 

 

Any ideas anyone? Thanks 

Highlighted
Enthusiast

Are you certain that dial

Are you certain that dial-peer 1000 is the one selected on your test call?  Also, your example doesn't make sense.  You are trying to block numbers from 078000123456, but you are matching on calls TO 07800123456.  Is this just a case of using the same number substitution for different real numbers?

 

Chris

Highlighted
Beginner

Hi Chris Well spotted, sorry

Hi Chris

 

Well spotted, sorry its meant to be: 

 

incoming called-number 2049..

 

which are the last 6 digits of the DDI range, and this dial-peer 1000 is my inbound call dial peer.  Im trying to block the number 07800123456

 

Thanks

 

 

 

 

Highlighted
Enthusiast

I would try 'debug voip

I would try 'debug voip dialpeer' to make sure it is matching on this dial-peer rather than a different one.

 

Chris

Highlighted
Beginner

Hi terry/Chris The config

Hi terry/Chris

 

The config works, It was just me being stupid. Wrong number. 

 

Thanks for your help guys 

Highlighted
Advocate

Have you got it working? Just

Have you got it working? Just make sure to apply to all inbound dial-peers and make sure the translation rule is matching the calling number. You can do this by making a test call and doing a debug voip ccapi inout or debug voip dialpeer inout and check the numbers delivered are same as per the translation rule.

-Terry

Highlighted
Beginner

Re: Either you can use voice

regarding the call blocking, I've heard the is a limit of 100 numbers that can be blocked in the CUBE, is that true? If not does anyone know what the limit is?

CreatePlease to create content