Voice translation-rule

Answered Question
Jul 7th, 2008
User Badges:

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 ?



Correct Answer by Paolo Bevilacqua about 8 years 8 months ago

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!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Paolo Bevilacqua Mon, 07/07/2008 - 02:09
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

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!

cco_heerema Mon, 07/07/2008 - 02:28
User Badges:

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 ?

Paolo Bevilacqua Mon, 07/07/2008 - 02:34
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

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!

cco_heerema Mon, 07/07/2008 - 02:40
User Badges:

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 !


Paolo Bevilacqua Mon, 07/07/2008 - 02:46
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

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



Actions

This Discussion