01-21-2018 05:30 AM - edited 03-19-2019 01:04 PM
Solved! Go to Solution.
01-21-2018 05:40 AM
It means for any number starting with +25, that will be replaced with 0412345. For example:
+25 123... will be translated to 0412345 123...
You can always verify your translation rules in CLI:
test voice translation-rule 1 <number>
01-21-2018 06:01 AM
No, they are not. But the first one also has \+2.
The \+ means character + itself. Then you also have digit 2.
Rule /^5/ /0412345/ mean all numbers starting with '5'; that 5 (since it is matched) will be replaced with 0412345.
This will clear things out for you: Voice Translation Rules
01-21-2018 05:40 AM
It means for any number starting with +25, that will be replaced with 0412345. For example:
+25 123... will be translated to 0412345 123...
You can always verify your translation rules in CLI:
test voice translation-rule 1 <number>
01-21-2018 05:56 AM
rule 1 /^\+25/ /0412345/ and rule 1 /^5/ /0412345/ is not same?
01-21-2018 06:01 AM
No, they are not. But the first one also has \+2.
The \+ means character + itself. Then you also have digit 2.
Rule /^5/ /0412345/ mean all numbers starting with '5'; that 5 (since it is matched) will be replaced with 0412345.
This will clear things out for you: Voice Translation Rules
01-21-2018 06:19 AM
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