01-18-2013 12:35 PM - edited 03-16-2019 03:15 PM
If I wanted to block calls, as well as translate numbers to extensions?
We have:
voice translation-rule 1
rule 1 /2087805139/ /2154/
rule 2 /2087805140/ /2155/
rule 3 /2087805141/ /2156/
rule 4 /2087805142/ /2157/
rule 5 /2087805143/ /2160/
rule 6 /2087805144/ /2161/
rule 7 /2087805145/ /2163/
rule 8 /2087805146/ /2188/
rule 9 /2087805148/ /2101/
rule 10 /2087805149/ /2178/
!
voice translation-rule 2
rule 1 reject /2087942436/
!
!
voice translation-profile INBOUND
translate called 1
translate calling 2
Will that accomplish what I'm hoping for??
01-18-2013 12:44 PM
Steve,
Your config should work for general translation. Dont forget to apply the translation profile under the relevant dial-peers. For call blocking please refer to the link below
Please rate all useful posts
"opportunity is a haughty goddess who waste no time with those who are unprepared"
01-18-2013 12:50 PM
The translation part seems to work fine, the call blocking for the translation-rule 2 doesn't seem to be applied. If I call from that number, the calls still come into our office
It should be applied to the dial peers as:
voice-port 0/0/0:23
translation-profile incoming INBOUND
timeouts interdigit 5
But I'm not sure why the rule 2 isn't working.
01-18-2013 03:48 PM
Steve,
You could try:
voice translation-rule 1
rule 1 /2087805139/ /2154/
rule 2 /2087805140/ /2155/
rule 3 /2087805141/ /2156/
rule 4 /2087805142/ /2157/
rule 5 /2087805143/ /2160/
rule 6 /2087805144/ /2161/
rule 7 /2087805145/ /2163/
rule 8 /2087805146/ /2188/
rule 9 /2087805148/ /2101/
rule 10 /2087805149/ /2178/
!
voice translation-rule 2
rule 1 reject /2087942436/
!
!
voice translation-profile INBOUND
translate called 1
!
voice translation-profile BLACKLIST
translate calling 2
!
voice-port 0/0/0:23
translation-profile incoming INBOUND
!
dial-peer voice 1 pots
call-block translation-profile incoming BLACKLIST
call-block disconnect-cause incoming call-reject
incoming called-number .
direct-inward-dial
!
That should work for you. Tested in my lab.
HTH
-Bill (http://ucguerrilla.com)
Please remember to rate helpful responses and identify
01-18-2013 03:54 PM
Bills suggestion will work. It's also documented in the link I provided for you...
Please rate all useful posts
"opportunity is a haughty goddess who waste no time with those who are unprepared"
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