cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
486
Views
0
Helpful
3
Replies

Blocking selective mobile no.

Vijay Patil
Level 3
Level 3

We are tring to block the abusive caller no. in our Call center

for which i created following translation-rule bold in below ..but still call  from no. 9819640411 hit the Contact center gateway

!
voice translation-rule 1
 rule 1 /^5999/ /3050/
!
voice translation-rule 2
 rule 1 /^490189../ /3050/
!
voice translation-rule 5
 rule 1 reject /9892104029/
 rule 2 reject /09892104029/
 rule 3 reject /919892104029/
!
!
voice translation-profile DID
 translate called 1
!
voice translation-profile PRI2
 translate called 2
!
voice translation-profile call_block
 translate calling 5
!
!

!
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 Accepted Solution

Accepted Solutions

Nadeem Ahmed
Cisco Employee
Cisco Employee

did you check what is the ANI is coming or hitting VGW and also what is incoming dial-peer is matching if you are not sure. but rule will only take into effect if ANI matches

Best result try applying the rule on the voice-port

sh run | s voice-port

# go to config mode of the VGW

# config t

# voice-port 0/0/1:15
 translation-profile incoming <translation profile name>

regards

Nadeem Ahmed

PS: Please rate all useful post.

Br, Nadeem Please rate all useful post.

View solution in original post

3 Replies 3

Kevin Monteiro
Level 7
Level 7

Hello,

If you noticed you have not mentioned "9819640411" in the reject rule list.

-Regards,

Kevin

Hello Kevin,

thats true ..but just forgot to add that rule over here...in reality above no. is there in rule list to reject by the way issue was resolved by adding translation-profile in voice-port as suggested by Nadeem..

Nadeem Ahmed
Cisco Employee
Cisco Employee

did you check what is the ANI is coming or hitting VGW and also what is incoming dial-peer is matching if you are not sure. but rule will only take into effect if ANI matches

Best result try applying the rule on the voice-port

sh run | s voice-port

# go to config mode of the VGW

# config t

# voice-port 0/0/1:15
 translation-profile incoming <translation profile name>

regards

Nadeem Ahmed

PS: Please rate all useful post.

Br, Nadeem Please rate all useful post.