Beruflich Dokumente
Kultur Dokumente
Presentation Goal
Learning objectives
Vocabulary
Digit
How
~config removed~
Voice
Description
/
\
-
[list]
[^list]
+
?
()
&
If you want to match a wild card and not change them create a
set.
rule 4 /^3\(\) /4\1/
Any digits that are in the match string but are not explicitly
matched by the match string are carried over to the match string
unchanged.
Voice translation-rule 1
Rule 1 /^$/ /8776754345/
- matches 987 something and prepends the set (.+) with with 464
Rule 3 /^\(770\)\(.\)/ /678\2/ - matches 770 then prepends 678 to the second set (.)
Rule 4 /\(^\)464\(.\)/ /\1987\2/ - changes the middle of the number from 464 to 987
Rule 5 /\(^.*\)7399/ /\15309/ - matches on the beginning of a number and replaces the end
Rule 3 /^..$/ /9089872345/ - matches on the intercom line if it tries to make an offnet call
during SRST
These are applied as outgoing to the voice translation-profile then that profile is
associated to the SRST config.
(Voice)
Summary
Regular-expression
tutorial.
http://www.regular-expressions.info/
Voice
Translation Rules.
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.sht
ml
Using
http://www.ciscosystems.com/en/US/tech/tk652/tk90/technologies_configuration_exa
mple09186a0080094681.shtml