07-07-2008 02:06 AM - edited 03-15-2019 11:46 AM
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 ?
Solved! Go to Solution.
07-07-2008 02:09 AM
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!
07-07-2008 02:09 AM
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!
07-07-2008 02:28 AM
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 ?
07-07-2008 02:34 AM
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!
07-07-2008 02:40 AM
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 !
07-07-2008 02:46 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide