12-28-2010 05:12 PM - edited 03-21-2019 03:27 AM
Hi All,
what is the best way to insert an additional 0 to all outgoing numbers on a UC560?
thanks
12-28-2010 05:38 PM
The manual addition of translation rules and profiles is not possible via CCA.
12-28-2010 06:07 PM
how abt if i SSH into the box?
12-28-2010 06:27 PM
You can, but you would be opening up a can of worms because CCA already applies "called" and "calling" translation patterns. If you are not familiar with CLI, translation profiles, rules and dial peers you can end up in a situation where you can't make outbound calls.
12-28-2010 07:02 PM
this is fine, i can rebuild from backup, it is not live environment.
12-28-2010 07:06 PM
Good luck, translation rules are not fun.
12-29-2010 07:43 AM
Would need to know more about exactly what you are trying to do, but your translation rule could look something like:
rule 1 /^0/ /00/
This rule would add an additional zero to any number that began with a zero.. ie - 0555666 translate to 00555666
12-29-2010 02:56 PM
Thx Darren i'll give it a try.
01-01-2011 02:33 PM
Hi,
Why don't you use global config num-exp command: num-exp .* 0.*
Regards.
Alain.
01-02-2011 03:07 AM
Here's an example of adding an extra zero to an incoming number and removing it for outgoing:
#remove PSTN access digit to outgoing called numbers
voice translation-rule 1
rule 1 /^0/ //
!
voice translation-rule 4
rule 1 /^301234567$/ /501/
!
# add PSTN access digit to incoming calling numbers
voice translation-rule 5
rule 1 // /000/ type international international
rule 2 // /00/
!
voice translation-rule 6
rule 1 /.*/ /301234567/ type unknown unknown
!
voice translation-profile incoming
translate calling 5
translate called 4
!
voice translation-profile outgoing
translate calling 6
translate called 1
translate redirect-called 6
!
Remark : changing translation rules on CLI drops them from the CCA-radar. Any changes have to made on CLI from then on.
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: