Configuration How-to’s
For example, to give local users whose extension numbers start with
56
the capability to
make outgoing calls through dialing technical prefix
0
, configure source and destination
number transformation as shown in the table below:
Match
Pattern
Result
Source ^56.*
^(56.*)
$1
Destination ^0.*
^0(.*) $1
According to this rule prefix 0 will be cut off from the destination number because the
internal prefix used in the system is of no relevance to the gateway sending calls outside the
system.
The syntax of regular expressions appearing in the field
is identical to that of
regular expressions entered in the field
.
The table below contains a list of regular expression constructs applicable in configuring the
system.
Table 5 Summary of regular expression constructs
Construct
Matches
Characters
x
The
character
x
\0
n
The character with octal value
0
n
(0
<=
n
<=
7)
\0
nn
The character with octal value
0
nn
(0
<=
n
<=
7)
\0
mnn
The character with octal value
0
mnn
(0
<=
m
<=
3,
0
<=
n
<=
7)
\x
hh
The character with hexadecimal value
0x
hh
\u
hhhh
The character with hexadecimal value
0x
hhhh
\t
The tab character (
'\u0009'
)
\n
The newline (line feed) character (
'\u000A'
)
Character classes
[abc]
a
,
b
, or
c
(simple class)
[^abc]
Any character except
a
,
b
, or
c
(negation)
[a-zA-Z]
a
through
z
or
A
through
Z
, inclusive (range)
[a-d[m-p]]
a
through
d
, or
m
through
p
:
[a-dm-p]
(union)
[a-z&&[def]]
d
,
e
, or
f
(intersection)
[a-z&&[^bc]]
a
through
z
, except for
b
and
c
:
[ad-z]
(subtraction)
[a-z&&[^m-p]]
a
through
z
, and not
m
through
p
:
[a-lq-z]
(subtraction)
Predefined character classes
DVX-7090 VoIP Router
page 64 of 83
Summary of Contents for DVX-7090
Page 1: ... 2006 D Link Computer Corp DVX 7090 VoIP Router User s Guide ...
Page 59: ...Configuration How to s DVX 7090 VoIP Router page 59 of 83 ...
Page 71: ...User s Interface DVX 7090 VoIP Router page 71 of 83 ...
Page 83: ...List of tables Document history DVX 7090 VoIP Router page 83 of 83 ...