Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

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
Super Bronze

Voice Translation Rule - I don't understand it

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!
12 REPLIES

Re: Voice Translation Rule - I don't understand it

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.

Cisco Employee

Voice Translation Rule - I don't understand it

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.

New Member

Voice Translation Rule - I don't understand it

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

VIP Super Bronze

Voice Translation Rule - I don't understand it

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 "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Voice Translation Rule - I don't understand it

Hi,

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

Regards,

Matthias

VIP Super Bronze

Voice Translation Rule - I don't understand it

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 "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Voice Translation Rule - I don't understand it

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! :-)

Super Bronze

Voice Translation Rule - I don't understand it

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!
New Member

Voice Translation Rule - I don't understand it

Thanks a lot! It works!

Regards,

Matthias

VIP Super Bronze

Voice Translation Rule - I don't understand it

+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 "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
Super Bronze

Voice Translation Rule - I don't understand it

I'm stepping on toes again :-)

+5

Aaron

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

Voice Translation Rule - I don't understand it

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 "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
1974
Views
38
Helpful
12
Replies