Customizing Your Phone
91
The basic expression syntax you need to know:
.
The dot "." can be used as a placeholder or multiple placeholders for any
character. Example:
"12." would match "12
3
", "12
34
", "12
345
", "12
abc
", etc.
x
An "x" can be used as a placeholder for any character. Example:
"12x" would match "12
1
", "12
2
", "12
3
", "12
a
", etc.
-
Numeric ranges are allowed within the brackets: Digit “-” Digit. Example:
“[5-7]” would match the number ”
5
”, ”
6
” or ”
7
”.
[]
The square brackets "[ ]" can be used as a placeholder for a single character
which matches any of a set of characters. Example:
"91[5-7]1234" would match "91
5
1234", "91
6
1234", "91
7
1234".
()
The parentheses "( )" can be used to group together patterns, for instance, to
logically combine two or more patterns. Example:
"([1-9])([2-7])3" would match "
92
3", "
15
3", "
77
3", etc.
$
The “$” followed by the sequence number of a parenthesis means the
characters placed in the parenthesis. The sequence number stands for the
corresponding parenthesis. Example:
A replace rule configuration, Prefix: "001(xxx)45(xx)", Replace: "9001$145$2".
When you dial out "0012354599" on your phone, the IP phone will replace the
number with "9001
235
45
99
". “$1” means 3 digits in the first parenthesis, that
is, “235”. “$2” means 2 digits in the second parenthesis, that is, “99”.
Note
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 wildcards (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: 1234”, when you try to dial out the number “1234”, you just need to
enter “1” on the phone and then press the Send soft key.
To add a replace rule via web user interface:
1.
Click on
Settings
->
Dial Plan
->
Replace Rule
.
The IP phone supports a new dial plan mechanism – digit map. Digit maps are defined by a single
string or a list of strings. If a number you dial matches any string of a digit map, the call is
automatically placed.
Note that if digit map feature is enabled, the old dial plan rules (described in this chapter) will be
ignored. For more information, contact your system administrator.