cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1829
Views
5
Helpful
4
Replies

Translation rules, num-exp order of operartion

wilson_1234_2
Level 3
Level 3

If you have translation rules in a voice gateway that also has num-exp configured (some numbers overlap with the translation rules) which one should take priority?

For example:

voice translation-rule 1
rule 1 /^1234567890$/ /1000/


num-exp 1234567890$ 2000

We have a voice gateway that has a couple of numbers that overlap as shown above and the voice translation rule is the thone that is actually how the number gets translated and I was wondering why.

Does a translation rule have priority over the num-exp?

4 Replies 4

clileikis
Level 7
Level 7

Hi Wilson,

The following image shows the order of operations pretty nicely:

There may be an error on the above diagram as inbound dial-peer matches may match before num-exp I'd have to test that.  Regardless I'd test the operations real time using 'debug voip dial-peer' and testing out all the different scenarios that you're interested in.

HTH,

Chris

Outstanding,

Where did you get this diagram?

Hi Wilson,

There was a post on the Cisco Learning Network forums that had a very similar discussion recently:

https://learningnetwork.cisco.com/thread/37081

I think it can also be found in the CVOICE books/study material as well.

HTH,

Chris

Simon Brooks
Level 1
Level 1

This should help: