Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reject inbound call from specific number

Status
Not open for further replies.

dudecrush

IS-IT--Management
Apr 2, 2007
468
US
I've got a Call Manager 9.1 system, and my voice-gateways are Cisco 2821's. Like a number of other users in previous posts, I have a desire to block/reject inbound calls from a specific number. Based on the posts, I've created my translation rule and profile right on the gateway. This is it below (numbers have been changed to protect the innocent)

voice translation-rule 999
rule 1 reject /5556512042/

voice translation-profile Blacklist
translate calling 999

dial-peer voice 999 voip
call-block translation-profile incoming Blacklist
call-block disconnect-cause incoming call-reject

For whatever reason, though, it doesn't work. Is the problem that I created a specific dial peer? Do I need to apply this to the other dial peers? These are my Gateway's dial peers:

dial-peer voice 100 voip
preference 1
destination-pattern 0......
progress_ind setup enable 3
voice-class codec 1
session target ipv4:172.17.5.9
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
no vad
!
dial-peer voice 200 voip
preference 2
destination-pattern 0......
progress_ind setup enable 3
voice-class codec 1
session target ipv4:172.19.5.9
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
no vad
!
dial-peer voice 120 pots
description All Outbound calls during SRST mode
service mgcpapp
destination-pattern 9.T
incoming called-number .
direct-inward-dial
!
dial-peer voice 1000001 pots
description CatchAll
destination-pattern 9.T
direct-inward-dial
!
dial-peer voice 6670 pots
description Voice Mail
destination-pattern 1866xxxxxxx
forward-digits all
!
dial-peer voice 777 voip
destination-pattern [0,1-8]T
voice-class codec 1
session target ipv4:172.17.5.9
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
no vad


Where am I making my mistake? Do I need to apply to dial-peers 100, 200 1000001 and 777?
 
Thanks whykap - That's what I figured.

Stupid question - some of these are voip and pots dial peers. Do I need to care if I add the reject profile to one vs. the other, or am I covering my bases by applying the profile to both standard and IP telephony characteristics?
 
BTW whykap - thanks for the document...

So I kept the rule (testing using my cell number) and Blacklist profile, and removed dial-peer 999. I then added the Blacklist profile to both the POTS and VOIP dial peers (except peers 120 and 6670), and applied to both of my gateways. Performed a "write mem" and called my desk phone....and it went right on through. Am I missing something? Do I need to reboot/reset the GW's in Call Manager?

 
This is an h323 gateway right? I'm sure you are missing something in your config. If not h323 and you are using another protocol the procedure is different.
 
Actually no - it's an MGCP gateway. Duh...should've mentioned that.

The doc link you had didn't specifically mention that it was for H.323 Gateways. Is there a doc for MGCP Gateways? What is the procedure?
 
Well - I figured out my problem....

All my DN's are in the NULL Partition - which are always reachable and thus I cannot block. I'll have to somehow re-design our search spaces and partitions so that there are no DN's in the NULL partition.

I've got 40+ locations - anyone have any good ideas on how to pull together that many locations into a simple CSS / Partition plan?
 
You might be able to do a batch load. I'm not 100% sure, maybe someone can elaborate?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top