05-18-2005 03:08 AM - edited 03-15-2019 03:28 AM
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
05-18-2005 06:16 AM
voice translation-rule 1
rule 1 /^\(........\)$/ /0\1/
rule 2 /^\(.........\)$/ /0\1/
05-19-2005 03:00 AM
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
05-31-2005 12:58 AM
That's fine, but it cannot be used with a MGCP gateway, I suppose?
Frantisek Opravil
06-12-2005 02:52 PM
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.
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: