cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
279
Views
0
Helpful
2
Replies

translation-rule for incoming number

mlebron
Level 1
Level 1

I need a translation for an h.323 gateway that will strip the first 5 digits from calls originating from 31238..... and 84795.....

I tried

translation-rule 1

rule 0 ^847950.... 0

rule 1 ^847951.... 1

.

.

.

.

rule 9 ^847959..... 9

but that leaves me no room for the 31238..... sequence since the translation-rule will only accept 10 rules.

All help is appreciated.

1 Accepted Solution

Accepted Solutions

paolo bevilacqua
Hall of Fame
Hall of Fame

Hi,

please use voice traslation-profile and rule that is the current way. You just need two rules:

voice translation-profile makedid

translate calling 100

voice translation-rule 100

rule 1 /^84759/ //

rule 2 /^31283/ //

Or even a single one if these eg:

rule 1 /^[38]..../ //

Hope this helps, please rate post if it does!

View solution in original post

2 Replies 2

paolo bevilacqua
Hall of Fame
Hall of Fame

Hi,

please use voice traslation-profile and rule that is the current way. You just need two rules:

voice translation-profile makedid

translate calling 100

voice translation-rule 100

rule 1 /^84759/ //

rule 2 /^31283/ //

Or even a single one if these eg:

rule 1 /^[38]..../ //

Hope this helps, please rate post if it does!

That worked... here is exactly what I put in:

voice translation-rule 100

rule 1 /^84795/ // type national unknown

rule 2 /^31238/ // type national unknown

!

!

voice translation-profile makedid

translate calling 100

!

I had to change the calling type since my CallManager is set to insert a 91 on National call types.

Thanks for you help. Very much appreciated.

cheers,

mgl

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: