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

Unanswered Question
Sep 15th, 2009
User Badges:
  • Bronze, 100 points or more

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
Nicholas Matthews Tue, 09/15/2009 - 21:38
User Badges:
  • Red, 2250 points or more

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

Actions

This Discussion