Which of the following will occur when you issue the te…

You issue the following commands on a Cisco voice router:
voice translation-rule 1
rule 1 /^615/ //
voice translation-profile VCE
translate called 1
dia-lpeer voice 101 pots
translation-profile incoming VCE
direct-inward-dial
port 1/0:21
Which of the following will occur when you issue the test voice translation-rule 1 6155550121 command from
privileged EXEC mode? (Select the best answer.)

You issue the following commands on a Cisco voice router:
voice translation-rule 1
rule 1 /^615/ //
voice translation-profile VCE
translate called 1
dia-lpeer voice 101 pots
translation-profile incoming VCE
direct-inward-dial
port 1/0:21
Which of the following will occur when you issue the test voice translation-rule 1 6155550121 command from
privileged EXEC mode? (Select the best answer.)

A.
The number will not change, because 615 is at the beginning of the string.

B.
The digits 615 will be stripped from the beginning of the string.

C.
An error will occur because the command syntax is not correct.

D.
The digits 615 will be added to the beginning of the string.

Explanation:
The digits 615 will be stripped from the beginning of the string when you issue the test voice translationrule 1
6155550121 command in this scenario. The command set in this scenario creates a voice translation rule with
an ID of 1 that is then attached to a voice translation profile named VCE. The translation profile is then
associated with plain old telephone service (POTS) dial peer 101 in the inbound direction.
The voice translationrule 1 command creates a voice translation rule with an ID of 1. The rule 1 /^615/ //
command creates the first rule within voice translation rule 1. The first two slash marks in a translation rule
contain the regular expression pattern that is to be matched within the string. In this scenario, the ^615 within
the first set of slashes creates a pattern that matches the digits 615 as long as those digits are anchored at the
beginning of the string.
The second set of slashes in the rule 1 command represents the values with which the rule should replace the
matched digits. In this scenario, no value has been placed between the second set of slashes in the command.
Therefore, the rule is designed to simply remove the digits 615 from the beginning of the string.
However, a voice translation rule alone will not automatically strip the digits. Voice translation rules must be
applied to voice translation profiles. In this scenario, the following set of commands creates a voice translation
profile named VCE and applies voice translation rule 1 to the profile:
voice translation-profile VCE
translate called 1
After the voice translation profile has been created, the profile must be associated with a dial peer and applied
in the appropriate direction. The following set of commands performs these actions:
dialpeer voice 101 pots
translationprofile incoming VCE
directinwarddial
port 1/0:21
By using voice translation rules and voice translation profiles, a company that wants the local area code
stripped from any incoming local calls can create a voice translation rule that matches the digits of the area
code within the incoming Automatic Number Identification (ANI) string and replaces those digits with nothing.
Performing this operation thus reduces the size of the string from 10 digits to seven.

https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/64020-number-voice-translationprofiles.html#con16



Leave a Reply 0

Your email address will not be published. Required fields are marked *