09-04-2013 08:10 AM - edited 03-16-2019 07:12 PM
We have been given DID's that do not match with extensions at all. Example last 4 being 2344 - 2368 on one group of the DIDs where we need this going to 2300 - 2324. Is there an easy way to translate these numbers. Below is how I have it configured now. This is only matching 2344 - 2368. Is there an easier way to do this other than created rules and profiles for each individual number?
rule 1 /23\([4-6]\)\([0-9]$\)/ /23\1\1/
test voice translation-rule 2 2345
Matched with rule 1
Original number: 2345 Translated number: 2345
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
Solved! Go to Solution.
09-04-2013 08:56 AM
There is not much you can do, since the range are not sequential. You will most likely need to define individual rules, however since there is a limit on how mnay vice trabslation rules you can use on cisco gateways, you may consider using xlation patterns on cucm..
The rule you have there is not going to help you as you can see from the test you did.
Please rate all useful posts
"opportunity is a haughty goddess who waste no time with those who are unprepared"
09-04-2013 08:56 AM
There is not much you can do, since the range are not sequential. You will most likely need to define individual rules, however since there is a limit on how mnay vice trabslation rules you can use on cisco gateways, you may consider using xlation patterns on cucm..
The rule you have there is not going to help you as you can see from the test you did.
Please rate all useful posts
"opportunity is a haughty goddess who waste no time with those who are unprepared"
09-04-2013 10:16 AM
That's kinda what I thought, just hoping there was a better way to do it. I've cut up the DID blocks that were given to us to fit the internal directory number range better. I'm posting it in case it is helpful to someone in the future.
Thanks for your help with this.
Being sent 4 digits from the telco...given numbers 2344-2368 / 4889 - 4938 / 2892 - 2916 / 7100 - 7199 to route through into directory number range 2200 - 2399
rule 1 /23\([4-6]\)\([0-9]$\)/ /23\1\2/ (matches 2344 - 2368)
rule 2 /49\([0-3]\)\([0-9]$\)/ /23\1\2/ (matches 4900 - 4938 to 2300 - 2338)
rule 3 /4889/ /2369/ (matches 4889 to 2369 exactly)
rule 4 /489\([0-9]$\)/ /237\1/ (matches 4890 - 4899 to 2370 - 9)
rule 5 /290\([0-9]$\)/ /238\1/ (match 2900 - 2909 to 2380 - 9)
rule 6 /291\([0-9]$\)/ /239\1/ (match 2910 - 2916 to 2390 - 6)
rule 7 /2897/ /2397/ (match 2897 to 2397 exactly)
rule 8 /2898/ /2398/ (match 2898 to 2398 exactly)
rule 9 /2899/ /2399/ (match 2899 to 2399 exactly)
rule 10 /2339/ /2894/ (match 2339 to 2894 exactly) oddball number
rule 11 /2340/ /2895/ (match 2340 to 2895 exactly) oddball number
rule 12 /2341/ /2896/ (match 2341 to 2896 exactly) oddball number
rule 13 /2342/ /2892/ (match 2342 to 2892 exactly)
rule 14 /2343/ /2893/ (match 2343 to 2893 exactly)
rule 15 /71/ /22/ (match 7100 - 7199 to 2200 - 2299)
rule 16 /1157/ /2800/ (match 1157 to 2800) another line coming into PRI
rule 17 /..../ /6750/ (catch-all rule to send everything else to the auto attendant)
Thanks again for the reply.
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: