12-04-2015 11:33 PM - edited 03-17-2019 05:07 AM
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
!
!
Solved! Go to Solution.
12-06-2015 10:49 PM
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
12-06-2015 09:20 PM
Hello,
If you noticed you have not mentioned "9819640411" in the reject rule list.
-Regards,
Kevin
12-07-2015 01:30 AM
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..
12-06-2015 10:49 PM
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.
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
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.