06-15-2007 06:00 PM - edited 03-14-2019 10:06 PM
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
06-15-2007 06:29 PM
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!
06-16-2007 12:49 AM
Thanks for the reply. I did some changing of dial peers and created a voip dial peer. All seems working fine now.
06-16-2007 04:08 AM
Glad to know it worked, thanks for the nice rating and good luck!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide