112 Matrix SPARSH VP110 User Guide
Replace Rule
You can configure one or more replace rules (up to 100) to remove the specified string and replace it with another
string. You can configure a pattern with wild-cards (refer to the expression syntax in the table above), so that any
string that matches the pattern will be replaced. This feature is convenient for you to dial out a long number. For
example, a replace rule is configured as “Prefix: 1” and “Replace: 1234567”. When trying to dial out the number
“1234567”, you just need to enter “1” on the phone and then press the Send soft key.
You can also configure replace rules in batch using a replace rule template. For more information on how to
customize a replace rule template, refer “Replace Rule Template”.
Procedure
Replace rule can be created using the configuration files or locally.
-
Thedash“‐”canbeusedtomatcharangeofcharacterswithinthebrackets.
Example:
“[5‐7]”wouldmatchthenumber“5”, ”6”or”7”.
,
Thecomma“,”canbeusedasaseparatorwithinthebracket.Example:
“[2,5,8]”wouldmatchthenumber”2”,“5”or“8”.
[]
Thesquarebracket"[]"canbeusedasaplaceholderforasinglecharacterwhich
matchesanyofa setofcharacters.Example:
"91[5‐7]1234"wouldmatch“9151234”,“9161234”,“9171234”.
()
Theparenthesis"()"canbeuse dtogrouptogetherpatterns,forinstance,to
logicallycombinetw
oormorepatterns.Example:
"([1‐9])([2‐7])3"wouldmatch“923”,“153”,“673”,etc.
$
The“$”followedbythesequencenumberofaparenthesismeansthecharacters
placedintheparenthesis.Thesequencenumberstandsforthecorresponding
parenthesis.Example:
Areplaceruleconfiguration,Prefix:"001(xxx)45(xx)",Replace:"9001$145$2".
Whenyoudialout"0012354599"onyourphone,theIPphonewillreplacethe
numberwith"90012354599".“$1”means3digitsinthefirstparenthesis,thatis,
“235”.“$2”means2digitsinthesecondparenthesis,thatis,“99”.
ConfigurationFile <MAC>.cfg
CreatethereplacerulefortheIP
phone.
Formoreinformation,ref
er“Appendix
D‐ConfigurationParameters”.