translation-rule for incoming number

Answered Question

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.

Correct Answer by Paolo Bevilacqua about 9 years 4 months ago

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!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Paolo Bevilacqua Thu, 10/25/2007 - 09:10

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

Actions

This Discussion