12-09-2011 05:31 AM - edited 03-16-2019 08:28 AM
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?
12-09-2011 05:51 AM
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
12-09-2011 07:43 AM
Outstanding,
Where did you get this diagram?
12-09-2011 07:47 AM
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
12-09-2011 08:16 AM
This should help:
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