cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
925
Views
0
Helpful
5
Replies

Voice translation-rule

cco_heerema
Level 1
Level 1

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

paolo bevilacqua
Hall of Fame
Hall of Fame

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!

View solution in original post

5 Replies 5

paolo bevilacqua
Hall of Fame
Hall of Fame

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!

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 ?

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!

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 !

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

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: