12-29-2015 04:24 AM - edited 03-17-2019 05:21 AM
Hi,
For our emergency numbers we need to send 1992(emergency Number)(zipcode) out.
i've made a route pattern on the cucm: 1XX transforms to 1992(zip)1XX (format required by provider)
i'm trying to swap the order of the digits on the cube with this translation rule "rule 1 /(1992\)(....\)(1..\)/ /\1\3\2/ "
but it's not accepting this translation rule
Any help would be appreciated!
Regards,
Pierrot
Solved! Go to Solution.
12-29-2015 05:02 AM
or if you want to do it your way, just ensure you have put backslash correctly as follows;
rule 1 /\(1992\)\(....\)\(1..\)/ /\1\3\2/
- Vivek
12-29-2015 04:35 AM
Can you also quote an example like;
What user will dial?
What all manipulations you've applied in CUCM and where (on route pattern, route list etc)?
- Vivek
12-29-2015 04:43 AM
ex1.
User will dial 100 or 0100 on his phone. this will go to the cube as 19929150100 if the user is located in the 9150 zipcode. where it needs to be transformed to 19921009150.
ex2
User will dial 112 or 0112 on his phone. this will go to the cube as 19929150112 if the user is located in the 9150 zipcode. where it needs to be transformed to 19921129150.
I applied a route pattern for 0.1XX and 1XX to 199291501XX
is this what you mean?
regards,
Pierrot
12-29-2015 04:53 AM
Perfect...
Try the following;
rule 1 /^1992\(....\)\(1..$\)/ /1992\2\1/
- Vivek
12-29-2015 05:02 AM
or if you want to do it your way, just ensure you have put backslash correctly as follows;
rule 1 /\(1992\)\(....\)\(1..\)/ /\1\3\2/
- Vivek
12-29-2015 05:08 AM
Thx Vivek! that did the trick. :)
Got it working now
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