cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
523
Views
15
Helpful
5
Replies

Translation pattern understanding

a.gooding
Level 5
Level 5

Guys,

im doing something wrong and just needed some clarifiaciton.

i have some DID numbers im translation on an h323 gateway. this is the scenario

ISP providing a range of DID numbers 821-59XX. im translating the 59XX to 29XX. the details are as follows

/82159+/ /29/

This works fine for numbers 2900 to 2989 meaning i havethe DID numbers works for all these. but from 2990 - 29999 the translation does not work. if i test voice-translation rule <tag> 8215999 it translates to 29.

any recommendations would be greatly appreciated.

5 Replies 5

dezoconnor
Level 4
Level 4

Try changing your rule to:

/^82159/ /29/

HTH

I have tested both translations, and either of the two translations below successfully translates the number that you require.

/^82159/ /29/

or

/82159/ /29/

Regards

Allan.

so whats the latest recommendation though?

again id like to translate 82159XX to 29XX.

therefore 8215900 translates to 2900 down the line until 8215999 to 2999.

again. i have 2900 to 2989 working properly with /82159+/ /29/

thanks again

Rob Huffman
Hall of Fame
Hall of Fame

Hi Darren and Allan,

Love to see people lab things up to test out scenarios for others. 5 points for both of you for your time and effort!

Thanks again,

Rob

Hi Rob, that was a bit out of the blue. Thanks. I enjoy spending a bit of time on here just to see if I can pick tips up or help others out. Regards. Darren

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: