Refer to the exhibit. The translation rule is configured on the voice gateway to translate DNIS. What is the outcome if the gateway receives 0255-343-1234 as DNIS?
A. The translation rule is not matched because DNIS contains “-“.
B. The translation rule is not matched because DNIS does not end with a “$”.
C. The translation rule is matched and the translated number is 02553431234.
D. The translation rule is matched and the translated number is 025553431234.
“-” is not a valid digit/character in a DNIS and it is used only in translation rule between brackets to specify any range or sequence of characters. The right answer is A
lab-router(config)#voice translation-rule 99
lab-router(cfg-translation-rule)#rule 1 /^\(0[25]..\)\-\(…\)-\(….$\)/ /\1\2\3/
lab-router(cfg-translation-rule)#end
lab-router#test voice translation-rule 99 “0255-343-1234”
Matched with rule 1
Original number: 0255-343-1234 Translated number: 02553431234
‘C’ is correct
C ist correct answer