cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
319
Views
5
Helpful
2
Replies

translation-rule problem

david.sua
Level 1
Level 1

Hi all,

I have a translation problem, I know where is it, but I don´t know why.

I have this config,

voice translation-rule 20

rule 1 /^941296*/ /6/

rule 2 /^941257115*/ /2290/

rule 3 /^941244606*/ /2291/

rule 4 /^941249882*/ /2292/

rule 5 /^941253246*/ /2293/

rule 6 /^941256652*/ /2294/

rule 7 /^941256657*/ /2295/

rule 8 /^941258657*/ /2296/

!

But when I call to number 941256657, the rule 6 translates the number to 22947.

Here is the output of "test voice translation" command,

CUBE2901#test voice translation-rule 20 941256657

Matched with rule 6

Original number: 941256657      Translated number: 22947

Original number type: none      Translated number type: none

Original number plan: none      Translated number plan: none

Somebody have any idea?

Thanks in advance.

2 Accepted Solutions

Accepted Solutions

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

David,

The first question to ask is why do you have a * at the end of your rules...If the numbers you are dialling are specific then use speficis rules e.g

rule 7 /^941256657/ /2295/

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts

View solution in original post

As mentioned above remove the * at the end and it will work as expected.  "* Modifier—match none or more occurrences"

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

View solution in original post

2 Replies 2

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

David,

The first question to ask is why do you have a * at the end of your rules...If the numbers you are dialling are specific then use speficis rules e.g

rule 7 /^941256657/ /2295/

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts

As mentioned above remove the * at the end and it will work as expected.  "* Modifier—match none or more occurrences"

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