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?
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?