cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
832
Views
3
Helpful
6
Replies

CME: How to have more than 15 voice translation-rules

olighec
Level 1
Level 1

I am running a CME system on a 2821 router, and I use voice translation-rules to translate DID numbers to inside extensions.

Here is how we do it now:

voice translation-rule 1

rule 1 /2424020/ /200/

rule 2 /4621113/ /203/

rule 3 /4621124/ /201/

rule 4 /4621140/ /202/

rule 5 /2424021/ /204/

rule 6 /2424022/ /205/

rule 7 /4621126/ /207/

rule 8 /4621130/ /206/

rule 9 /2424003/ /208/

rule 10 /2424004/ /209/

rule 11 /4621118/ /210/

rule 12 /6245146/ /300/

rule 13 /4621144/ /301/

rule 14 /4621125/ /302/

rule 15 /4621131/ /303/

!

voice translation-rule 2

rule 1 /200/ /2424020/

rule 2 /201/ /4621124/

rule 3 /202/ /4621140/

rule 4 /203/ /4621113/

rule 5 /204/ /2424021/

rule 6 /205/ /2424022/

rule 7 /206/ /4621130/

rule 8 /207/ /4621126/

rule 9 /208/ /2424003/

rule 10 /209/ /2424004/

rule 11 /210/ /4621118/

rule 12 /3../ /6245146/

rule 13 /2../ /2327888/

!

!

voice translation-profile translate-incoming-did

translate called 1

!

voice translation-profile translate-outgoing-did

translate calling 2

!

My problem is, only 15 rules are allowed, and I need to add more. How can I accomplish this?

Can I add a new translation-rule and add it to the "translate called" statement?

Thanks,

Chris

6 Replies 6

Chris Deren
Hall of Fame
Hall of Fame

My suggestion is to use num-exp instead.

Chris

I'm not familiar with that command. I'll research it. thanks

num-exp expands one number to another.

num-exp 4000 9728284000 will translate 4000 to 9728284000.

Remember that num-exp is global to the router and not specific to a dial-peer unlike translation rules and profiles.

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

I'm reading a little about it in the IOS command reference.

What I am unclear on is, would it work both ways?

i.e. Extension 200 has a DID number 2424020, so when you dial 2424020 extension 200 should ring, and when you dial out from 200, it should send 2424020 as caller-id.

But, some lines I want to be able to DID, but don't want them to send their number as caller-id when dialed out from. For example, extension 301 should ring when 4621144 is dialed, but I want it to send 6245146 when dialed out from.

Would that be possible?

tpetersn
Level 1
Level 1

Chris,

I don't mean to poach off of your issue, but can you possibly post how you are calling your translation profiles from you dial-peers or voice-ports for the incoming calls? I can't seem to get the commands correct for a T1, I can only find them for a PRI.

Thanks a bunch,

Todd

You can translate either at line or DP level.

For the first, place "voice translation-profile" command under voice-port. For the second, place it on the incoming DP.

Hope this helps, please rate post if it does!