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

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

Voice translation-rule

Hi, I'm somewhat new with the voice translation-rules, and could use some help.

I'm trying to translate my incomming nummer from a BRI interface ( 503648200 to 503648299 ) to 200 to 299

So this is what i have done :

dial-peer voice 1 pots

description ** BRI pots dial-peer **

incoming called-number 503648...

direct-inward-dial

port 0/0/0

And

voice translation-rule 10

rule 1 /^503648/ //

And

ephone-dn 1 dual-line

number 200

hold-alert 30 originator

One way or the other, if i dial the number it does not work,

But if I use :

ephone-dn 1 dual-line

number 200 secondary 503648200

hold-alert 30 originator

It does work.

Why doesn't the translation rule work, am I forgetting something ?

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Gold

Re: Voice translation-rule

Hi, with translation-rule, you also need to configure a translation-profile and apply it to either DP or voice-port:

voice translation-profile make-did

translate called 10

voice-port 0/0/0

translation-profile incoming make-did

Please rate post if it helps!

5 REPLIES
Hall of Fame Super Gold

Re: Voice translation-rule

Hi, with translation-rule, you also need to configure a translation-profile and apply it to either DP or voice-port:

voice translation-profile make-did

translate called 10

voice-port 0/0/0

translation-profile incoming make-did

Please rate post if it helps!

New Member

Re: Voice translation-rule

thanks got me allmost there, i needed to place it on the dial-peer.

But no i've got another challange, my incomming numbers are truncated, I'm lossing the leading 0.

Do I need another translation rule for this ?

Hall of Fame Super Gold

Re: Voice translation-rule

Most of the time, placing on voice-port is fine also. All your incoming called numbers will become 2xx and that makes everything easier.

To see what you have to translate, check "debug isdn q931" with "term mon".

You can also use "test voice translation-rule".

Thanks for the appreciation and good luck!

New Member

Re: Voice translation-rule

solved it with :

voice translation-rule 10

rule 1 /^503648/ //

!

voice translation-rule 20

rule 1 // /0/

!

!

voice translation-profile FromPstn

translate calling 20

translate called 10

Thanks again for your help !

Hall of Fame Super Gold

Re: Voice translation-rule

Note rule 10 is likely to not be correct when you receive an international call. It should be then:

rule 1 // /0/ type national national

rule 2 // /00/ type international international

694
Views
0
Helpful
5
Replies
CreatePlease to create content