
SMG digital gateway
57
Prefix 1: (2x{4,7})
Prefix 2: (23xxx)
When the number "23456" arrives to the numbering schedule, it will be processed with
prefix 2.
The masks with a specified range of repetitions {min, max} have a higher priority than the
masks with an arbitrary number of repetitions (x.), e. g.:
Prefix 1: (2x.)
Prefix 2: (2x{4,7})
When the number "23456" arrives to the numbering schedule, it will be processed with
prefix 2.
4.1.6.2
Mask Operation Examples
Example 1
(#XX#|*#XX#|*XX*X.#|112|011|0[1-4]|6[2-9+ХХХ|5*24+XXXXX|810X,11, 15-)
The mask contains 9 templates:
1.
#XX#
—any 4-digit number which begins and ends with #, the 2
nd
and the 3
rd
digits of the number
may take any values from 0 to 9, as well as * or #.
In general, this template disables VAS utilisation from the phone unit.
2.
*
#XX#
—any 5-digit number which begins with *# and ends with #, the 3
rd
and the 4
th
digits of the
number may take any values from 0 to 9, as well as * or #.
In general, this template is used to control VAS utilisation from the phone unit.
3.
*XX*X.#
—an N-digit number which begins with * followed by two arbitrary digits (from 0 to 9, as
well as * and #), then by *, and then by any number of any digits (from 0 to 9, *) until
#
is met.
In general, this template is used to order VAS utilisation from the phone unit.
4.
112—dialling the specific 3-digit number (112).
5.
011—dialling the specific 3-digit number (011).
6.
0[1–4]—a 2-digit number which begins with 0 and ends with 1, 2, 3, or 4, i. e. 01, 02, 03, or 04.
7.
6[2–9]ХХХ—a 5-digit number which begins with 6, with the second digit of the number being any
digit from 2 to 9, and the last three digits being any digits from 0 to 9, as well as * and #.
8.
5[24]ХХХXX—a 7-digit number which begins with 5, with the second digit of the number being 2
or 4, and the last five digits being any digits from 0 to 9, as well as * and #.
9.
810X{11, 15}—a number which begins with 810 followed by 11 to 15 arbitrary digits from 0 to 9,
as well as * and #. Taking into account the first three digits, the length of the number according to
this rule is from 14 to 18 digits.
Example 2
A numbering schedule configuration is required to allow all numbers, which begin with 1 and have the
length of 3, to be routed to Trunk0, and number 117 to be individually routed to Trunk1.
To solve this task, configure the following prefixes:
1.
Route the first prefix with the mask
(117)
to Trunk1.
2.
Route the second prefix with the mask
(11[0-689]|1[02-9]x)
to Trunk0.
Templates of the second prefix overlap all "1xx" numbers except for 117.