09-19-2008 07:05 AM - edited 03-18-2019 09:40 PM
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
Solved! Go to Solution.
09-19-2008 07:31 AM
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
09-19-2008 07:57 AM
Hi Gregory,
Brandon is most correct! +5 points for this Brandon :)
This is possible if the Gateway uses H.323, there is no way using MGCP. The TAC Case below has some really good links;
Mahesh @ Cisco
TAC Case from Jorge
http://www.ciscotaccc.com/kaidara-advisor/voice/showcase?case=K15182736
Another good related thread (answers from both Mahesh and Jorge)
Hope this helps!
Rob
09-19-2008 07:31 AM
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
09-19-2008 07:57 AM
Hi Gregory,
Brandon is most correct! +5 points for this Brandon :)
This is possible if the Gateway uses H.323, there is no way using MGCP. The TAC Case below has some really good links;
Mahesh @ Cisco
TAC Case from Jorge
http://www.ciscotaccc.com/kaidara-advisor/voice/showcase?case=K15182736
Another good related thread (answers from both Mahesh and Jorge)
Hope this helps!
Rob
09-25-2008 06:01 AM
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!
09-25-2008 02:11 PM
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
09-26-2008 06:45 AM
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
09-26-2008 07:45 AM
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.
09-26-2008 07:50 AM
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
09-26-2008 08:39 AM
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
09-26-2008 08:48 AM
Correct.
09-26-2008 08:59 AM
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
09-26-2008 09:00 AM
Can you post your translation rule and translation profile?
Brandon
09-26-2008 09:08 AM
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
09-26-2008 09:13 AM
You're welcome. Have a good weekend.
Brandon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide