cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3854
Views
43
Helpful
12
Replies

Voice Translation Rule - I don't understand it

Hello VoIP-Gurus!

Can you give me a short "translation" which numbers will be handled and how they will be modified with the translation rules below?

voice translation-rule 10

rule 1 / \(^.*\) / / 0\1 / type subscriber subscriber

rule 2 / \(^.*\) / / 00\1 / type national national

rule 3 / \(^.*\) / / 000\1 / type international international

I do not understand which numbers will be handled with this rules.

Thank's in advance!

Regards,

DrMxxxxx

1 Accepted Solution

Accepted Solutions

Hi

Since your translation rules include a match on the 'type' element, you have to specify that in your test pattern:

e.g.

test voice translation-rule 10 00713294xxxxxx type national

Regards

Aaron Harrison

Principal Engineer at Logicalis UK

Please rate helpful posts...

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

View solution in original post

12 Replies 12

Adrian Saavedra
Level 7
Level 7

Hi,

This document explains very well voice translation rules, wildcard and wildcard combinations:

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml

Rule 1 will prefix a 0 to any digit followed by none or more ocurrences and type subscriber. Rule 2 and 3 duplicate with rule 1.

Hope to help, please remember to rate the post if it does.

Kind regards,

- Adrian.

Gregory Garrian
Level 1
Level 1

Great link Adrian! +5

I just want to point out that the "test translation rule" command is your friend.

You can configure tons of rules and test them out prior to applying them to any dial-peers to get more familiar with how they work.

Hey Guys!

Thank's for the Information!

I tested the rules with the "test translation rule", but I have the problem that it doesn't matter what for a number I want to test, I get always a " Didn't match with any of rules".

Any idea?

Thanks!

Regards,

Matthias

You need to use..

"test voice translation rule", the test translation rule wont match anything..

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts

Hi,

sorry. Yes, I used this command and it yet doesn't work ...

Regards,

Matthias

Which of your translation rule are you trying to test...Can you send the translation rule and the command you entered

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts

voice translation-rule 10

rule 1 /\(^.*\)/ /0\1/ type subscriber subscriber

rule 2 /\(^.*\)/ /00\1/ type national national

rule 3 /\(^.*\)/ /000\1/ type international international

Gateway#test voice translation-rule 10 00713294xxxxxx

00713294xxxxxx Didn't match with any of rules

Thanks! :-)

Hi

Since your translation rules include a match on the 'type' element, you have to specify that in your test pattern:

e.g.

test voice translation-rule 10 00713294xxxxxx type national

Regards

Aaron Harrison

Principal Engineer at Logicalis UK

Please rate helpful posts...

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Thanks a lot! It works!

Regards,

Matthias

+5 Aaron..

Aaron just answered it for you, it was on the tip of my hand...:)

You need to specify the "type" in your test command as suggested by Aaron

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts

I'm stepping on toes again :-)

+5

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Not at all! Your contributions are always welcome..anytime..

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts