cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
368
Views
15
Helpful
4
Replies

Would this work??

steve.grosz
Level 1
Level 1

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

4 Replies 4

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

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

http://www.cisco.com/en/US/customer/tech/tk652/tk90/technologies_configuration_example09186a00803f818a.shtml#con13

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

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.

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)

HTH -Bill (b) http://ucguerrilla.com (t) @ucguerrilla

Please remember to rate helpful responses and identify

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"

Please rate all useful posts