cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
496
Views
0
Helpful
4
Replies

translation rule help

rwawrig
Level 1
Level 1

Hi,

I need to translate the incoming calling number regarding the number length.

If the number have 8 or 9 digits, I need a 0 in front. If the length is less or bigger, the number should be unchanged.

I read doku, tried some expressions, but no success. Any idea how to do it ?

Thx

4 Replies 4

jasyoung
Level 7
Level 7

voice translation-rule 1

rule 1 /^\(........\)$/ /0\1/

rule 2 /^\(.........\)$/ /0\1/

and ...is working!!! Thanks a lot :)

The voice translation rules are so cool comparing with simple translation rules I used until now.

Thanks again

cheers

That's fine, but it cannot be used with a MGCP gateway, I suppose?

Frantisek Opravil

Try perhaps translation patterns in CCM.

There instead of dots for single digits you should use X. And in general translation patterns behave a bit differently, but I guess you'll get the point.

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: