cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
487
Views
4
Helpful
1
Replies

Using dial-peer voice incoming and voice translations to route 50 numbers

sysjes
Level 1
Level 1

Here's what I have setup on a cme box:

voice translation-rule 1

rule 1 /5551111/ /1234/

rule 2 /5552222/ /1234/

rule 15 /*/ /9999/

voice translation-rule 2

rule 1 /7771111/ /1234/

rule 2 /7772222/ /1234/

rule 15 /*/ /9999/

voice translation-profile 1_in

translate called 1

voice translation-profile 2_in

translate called 2

dial-peer voice 1 pots

translation-profile incoming 1_in

incoming called-number 555....

direct-inward-dial

port 0/0/0:23

dial-peer voice 2 pots

translation-profile incoming 2_in

incoming called-number 777....

direct-inward-dial

port 0/0/0:23

Is there a cleaner or easier way to do this without having 20 or so dial-peers?

1 Reply 1

I would take a look into the usage of the 'num-exp' command. You can do up to 128 translations there, I believe.

Hope this helps.

-nick