
56
SMG digital gateway
Duration
—the timer for number dialling duration. The default value: 30 seconds.
To edit a prefix, double-click the prefix row in the prefix table with the left button or select the prefix and
click the
button below the list.
To delete a prefix, select the prefix and click the
button below the list or open the
Objects
menu and
select
Remove Object
.
4.1.6.1
Description of Number Mask and Its Syntax
Number mask is a set of
templ
templates delimited by '|'. The mask should be enclosed into parentheses.
(templ) is equal to (templ1|templ2|...|templN).
Syntax:
X
or
х
—any digit;
*
—an asterisk (*);
#
—a sharp (#);
0–9
—digits from 0 to 9;
D
—character D.
.
—the
dot
is a special symbol which means that the preceding character may be repeated any
number of times (30 characters max. for one number), e. g.:
–
(34x.)
—all possible number combinations which begin with "34".
[ ]
—defines a range (with a hyphen) or an enumeration (w/o spaces, commas, and other
characters between the digits) of prefixes, e. g.:
–
the range
([1–5]ХХХ)
—all 4-digit numbers which begin with 1, 2, 3, 4, or 5.
–
the enumeration
([138]xx)
—all 3-digit numbers which begin with 1, 3, or 8.
min, max
—defines the number of repetitions for the character outside the parentheses, e. g.:
(1x{3,5})
—means that there may be from 3 to 5 arbitrary digits (
х
) and it corresponds to the mask
(1ххх|1хххх|1ххххх)
.
|
—logical
OR
—separates templates in a mask.
(-)
—the mask which is used only in CgPN number modifier tables for calls without a caller number.
Allows the caller number to be added if it was missing and also specifies indicators for that
number.
If a numbering schedule contains overlapping prefixes, then the prefix with the most precise
mask for a specific number will have a higher priority during the number processing by the
numbering schedule, e. g.:
Prefix 1: (2xxxx)
Prefix 2: (23xxx)
When the number "23456" arrives to the numbering schedule, it will be processed with
prefix 2.
Also, the masks containing an arbitrary number of repetitions (x.) or a range of repetitions
{min, max} have a lower priority than the masks with a precise number of characters, e. g.: