cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
271
Views
4
Helpful
3
Replies

Translation Rule Problem

mlong0000
Level 1
Level 1

Hi

I have a problem with the limit on translation rules. Basically I have 1 PRI and 11 seperate numbers which are being directed to that PRI. Problem is that all these numbers are different so I have 11 rules. So along with the PRI translation I have a total of 12 rules.

I have tried the following config

voice translation-rule 1

rule 1 /^35527/ /56/

rule 2 /^6038181/ /5600/

rule 3 /^6034848/ /5615/

rule 4 /^6034855/ /5602/

rule 5 /^6033079/ /5600/

rule 6 /^3040338/ /5606/

rule 7 /^3040447/ /5620/

rule 8 /^3040510/ /5613/

rule 9 /^3040551/ /5603/

rule 10 /^3040701/ /5611/

!

voice translation-rule 2

rule 1 /^3041761/ /5601/

rule 2 /^3041940/ /5610/

!

!

voice translation-profile DID

translate called 1

!

voice translation-profile DID2

translate called 2

dial-peer voice 1 pots

translation-profile incoming DID

destination-pattern 9T

progress_ind setup enable 3

progress_ind alert enable 8

incoming called-number .

direct-inward-dial

port 0/0/0:23

!

dial-peer voice 10 pots

translation-profile incoming DID2

destination-pattern 9T

progress_ind setup enable 3

progress_ind alert enable 8

incoming called-number .

direct-inward-dial

port 0/0/0:23

!

The problem is that the numbers in translation-profile DID2 are not working. Im getting a "number unavailable" message. If I take rule 10 out of DID and replace it with rule 1 of DID2 then that number works fine.

Can someone tell me what Im doing wrong?

Router is a 2821 on 124-12b

Thanks

3 Replies 3

paolo bevilacqua
Hall of Fame
Hall of Fame

Hi,

the thing is that you cannot have multiple DP matching the same pattern for "incoming calling-number". Only the first one will get the calls. If you want to use multiple DP and multiple translation-rules, reorganize things to that one DP handles, for example, numbers starting with 3, and the other, number starting with 6. On the other hand, you probably do not need to, because you need less than 15 rules for now.

You also do not need to specify the port because it is not used for incoming DP (this is a relatively recent change in IOS).

Hope this helps, please rate post if it does!

mlong0000
Level 1
Level 1

Thanks for the reply. I did some changing of dial peers and created a voip dial peer. All seems working fine now.

Glad to know it worked, thanks for the nice rating and good luck!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: