Error! Use the Home tab to apply
标题
1 to the text that you want to appear
here.Error! Use the Home tab to apply
标题
1 to the text that you want to
appear here.
UC100-1T1S1O User Manual
Copyright©2011-2016 Dinstar
64
Note: During number manipulation, deletion rules are carried out first, followed by adding
rules. If ‘Replace by’ has been set, deletion rules and adding rules are invalid.
5.5.7
Dialplan
Dialplan is used for number dialing of calls through FXS and FXO ports. It supports Regular
Expression (Regex) and DigitMap.
Figure 5-53 Add Dialplan
Regex (Regular Expression) Syntax
^
Matches the starting position in a number string. For example, ^134
matches the numbers starting with 134
$
Matches the ending position of a string. For example, 2$ matches the
numbers ending with 2.
|
Separates alternate possibilities. For example, 2
|
3|4 means 2,3or 4.
\
Marks the next character as a special character, a literal, a backreference,
or an octal escape
[ ]
Matches a single character that is contained within the bracket. For
example, [123] matches 1, 2, or 3. [0-9] matches any digit from "0" to "9".
[^ ]
Matches any one character except those enclosed in [ ]. For example, [^9]
matches any character except 9.
.
Matches any single character except the newline character.
For example,
3.4 matches
314, 324, 334, 344.
?
Indicates there
is zero or one
of the preceding element. For