cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
994
Views
0
Helpful
9
Replies

AUtomatically insert additional 0 to outgoing numbers (UC560).

iandesousa
Level 1
Level 1

Hi All,

what is the best way to insert an additional 0 to all outgoing numbers on a UC560?

thanks

9 Replies 9

mcasimirc63
Level 4
Level 4

The manual addition of translation rules and profiles is not possible via CCA.

how abt if i SSH into the box?

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.

iandesousa
Level 1
Level 1

this is fine, i can rebuild from backup, it is not live environment.

Good luck, translation rules are not fun.

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

Thx Darren i'll give it a try.

Hi,

Why don't you use global config num-exp command: num-exp .* 0.*

Regards.

Alain.

Don't forget to rate helpful posts.

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.

Getting Started

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: