cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
139
Views
0
Helpful
1
Replies

Blocking selective mobile no.

Vijay Patil
Level 3
Level 3

I am trying to block the incoming no.. those no. of abusive caller .....

below mention wa the configuration done in bold letters...but call from the number 9819640411 not block by Voice Gateway ....

even i test the test translation-rule 5 ..which show me its blocking the no....

!
!
voice translation-rule 1
 rule 1 /^5999/ /3050/
!
voice translation-rule 2
 rule 1 /^490189../ /3050/
!
voice translation-rule 5
 rule 1 reject /9819640411/
 rule 2 reject /09819640411/
 rule 3 reject /919819640411/
!
!

!
!
voice translation-profile DID
 translate called 1
!
voice translation-profile PRI2
 translate called 2
!
voice translation-profile call_block
 translate calling 5
!

!
interface Serial0/0/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/0/1:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 no cdp enable
!

!
dial-peer voice 1 voip
 translation-profile outgoing DID
 destination-pattern 5999
 session protocol sipv2
 session target ipv4:172.31.11.192
 session transport udp
 incoming called-number 9.T
 voice-class codec 1
 voice-class sip bind control source-interface GigabitEthernet0/0.10
 voice-class sip bind media source-interface GigabitEthernet0/0.10
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 2 pots
 call-block translation-profile incoming call_block
 call-block disconnect-cause incoming call-reject
 preference 2
 destination-pattern .T
 incoming called-number 5999
 no digit-strip
 direct-inward-dial
 port 0/0/0:15
!
dial-peer voice 4 voip
 session protocol sipv2
 session target ipv4:172.31.11.192
 incoming called-number .
 voice-class codec 1
 voice-class sip bind control source-interface GigabitEthernet0/0.10
 voice-class sip bind media source-interface GigabitEthernet0/0.10
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 6 voip
 translation-profile outgoing PRI2
 destination-pattern 490189..
 session protocol sipv2
 session target ipv4:172.31.11.192
 session transport udp
 incoming called-number 9.T
 voice-class codec 1
 voice-class sip bind control source-interface GigabitEthernet0/0.10
 voice-class sip bind media source-interface GigabitEthernet0/0.10
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 8 voip
 session protocol sipv2
 session target ipv4:172.31.11.192
 incoming called-number .
 voice-class codec 1
 voice-class sip bind control source-interface GigabitEthernet0/0.10
 voice-class sip bind media source-interface GigabitEthernet0/0.10
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 9 pots
 call-block translation-profile incoming call_block
 call-block disconnect-cause incoming call-reject
 preference 1
 destination-pattern .T
 no digit-strip
 port 0/0/1:15
!
!

1 Reply 1

Nadeem Ahmed
Cisco Employee
Cisco Employee

seems to be duplicate thread of this one. solutions arleady provided in this thread and will work for selective mobile number block too.

https://supportforums.cisco.com/discussion/12721751/blocking-incoming-no-voice-gateway

Br,
Nadeem

Br, Nadeem Please rate all useful post.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: