CCM 6.0 Can you block incoming calls by number?

Answered Question
Sep 19th, 2008
User Badges:

Is it possible to block incoming call based on the calling number?


A client is getting repeated calls that they would like to block.


Thanks

Correct Answer by Brandon Buffin about 8 years 6 months ago

It depends on the protocol used on your gateway. If you're using H.323, the answer is yes. If you're using MGCP, there is no way to block calls based on caller ID that I'm aware of.


Brandon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (4 ratings)
Loading.
Correct Answer
Brandon Buffin Fri, 09/19/2008 - 07:31
User Badges:
  • Purple, 4500 points or more

It depends on the protocol used on your gateway. If you're using H.323, the answer is yes. If you're using MGCP, there is no way to block calls based on caller ID that I'm aware of.


Brandon

Correct Answer
Rob Huffman Fri, 09/19/2008 - 07:57
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 IP Telephony, Unified Communications

gmgarrian Thu, 09/25/2008 - 06:01
User Badges:

Thanks for the info guys. There's a lot of good material for me to go through, but you set me on the right path.


Thanks again!

roxysbrian Thu, 09/25/2008 - 14:11
User Badges:

With the info posted on: http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a00803f818a.shtml#con13


Do I need to add the:


call-block translation-profile incoming call_block

call-block disconnect-cause incoming call-reject


info to all of my pots dial-peers? I tried going by the instructions and setting up new dial-peers but it do not work.


Here is what I came up with:


voice translation-rule 1

rule 1 reject /##########/

voice translation-profile call_block

translate calling 1

dial-peer voice 900 pots

call-block translation-profile incoming call_block

call-block disconnect-cause incoming call-reject

incoming called-number .

port 1/0/1:23

dial-peer voice 901 pots

call-block translation-profile incoming call_block

call-block disconnect-cause incoming call-reject

incoming called-number .

port 2/0:23


dial-peer voice 902 pots

call-block translation-profile incoming call_block

call-block disconnect-cause incoming call-reject

incoming called-number .

port 2/1:23


dial-peer voice 903 pots

call-block translation-profile incoming call_block

call-block disconnect-cause incoming call-reject

incoming called-number .

port 2/0/0:23



Thanks


Brian

Brandon Buffin Fri, 09/26/2008 - 06:45
User Badges:
  • Purple, 4500 points or more

Brian,

You will only need to apply call-block commands to your incoming pots dial peer(s). Are the dial peers above the incoming dial peers you already had setup or did you create these specifically for call blocking. Can you post a "show run" and the output from "debug voip dialpeer" while making the call that should be blocked?


Brandon

roxysbrian Fri, 09/26/2008 - 07:45
User Badges:

I created those 90X dial-peers just for the call blocking. I have about 20 incoming pots dial-peers and I wasn't sure if I need to added the blocking commands to those dial-peers or not.


Attached is my sh run.


I'm trying to set it up so that I can block certain incoming calls, so I don't really have a way to know when they caller is going to call in. This guy called in 79 times just yesterday, no telling how many the days before.



Attachment: 
Brandon Buffin Fri, 09/26/2008 - 07:50
User Badges:
  • Purple, 4500 points or more

Yes, you will need to add the call-block commands to all incoming dial peers that might handle this call. You can remove the 90X dial peers.


Brandon

roxysbrian Fri, 09/26/2008 - 08:39
User Badges:

Ok. Just to make sure I got all this right before I implement it, is this what my pots dial-peers will look like?:


dial-peer voice 104 pots

description Inbound Collections Telecom & Medical

call-block translation-profile incoming call_block

call-block disconnect-cause incoming call-reject

translation-profile incoming ld888

incoming called-number 888215896[1-2]

direct-inward-dial


Thanks


Brian

roxysbrian Fri, 09/26/2008 - 08:59
User Badges:

I modified my dial-peers and tested it out. All calls were blocked, not just the ones in the translation profile. Here is what I had 2 of my dial-peers set to:


dial-peer voice 101 pots

call-block translation-profile incoming call_block

call-block disconnect-cause incoming call-reject

incoming called-number .

direct-inward-dial


dial-peer voice 104 pots

description Inbound Collections Telecom & Medical

call-block translation-profile incoming call_block

call-block disconnect-cause incoming call-reject

translation-profile incoming ld888

incoming called-number 888215896[1-2]

direct-inward-dial



Any ideas?


Thanks


Brian

Brandon Buffin Fri, 09/26/2008 - 09:00
User Badges:
  • Purple, 4500 points or more

Can you post your translation rule and translation profile?


Brandon

roxysbrian Fri, 09/26/2008 - 09:08
User Badges:

Ok, like a dummy I called from my cell phone so I could have an outside line coming in to test the dial-peers with and that's the number I used to test the block. Removed my cell phone number from the list and it worked. Thanks for all your help.


Thanks


Brian

Brandon Buffin Fri, 09/26/2008 - 09:13
User Badges:
  • Purple, 4500 points or more

You're welcome. Have a good weekend.


Brandon

Actions

This Discussion