![Hybertone COIP Скачать руководство пользователя страница 45](http://html1.mh-extra.com/html/hybertone/coip/coip_user-manual_2190843045.webp)
http://www.hybertone.com COIP CDMA Voice Gateway
44
match and
“
-aa+bb
”
indicates detailed actions to be taken on the number. If the number is
successfully matched,
“
aa
”
is deducted and
“
bb
”
is added. If the number fails to match, the
number continues to match the next rule. If no digit after the colon is specified, such as
“
00:
”
, it indicates that no actions are taken when
“
00
”
is matched and the number exits the
matching. If no digit before the colon is specified, such as
“
+86755
”
, it indicates that
instead of matching, actions are taken on the number directly.
4. You can specify a range for matching of dialing rules. The rule format is
“
[A-B]A:-aa+bb
”
or
“
A[A-B]:-aa+bb
”
. For example, you can specify the range of numbers beginning with 2
to 8 as
“
[2-8]: -aa+bb
”
or numbers beginning with 13 to 15 as
“
1[3-5]: -aa+bb
”
.
Examples:
1. Rule: 0:|:+0755
a. The input number is
“
02083185711
”
and the output number is
“
02083185711
”
.
b. The input number is
“
83185700
”
and the output number is
“
075583185700
”
.
2. Rule:
“
00:-00|0"-0+86|:+86755
”
a. The input number is
“
008522343318
”
and the output number is
“
8522343318
”
.
b. The input number is
“
02083185711
”
and the output number is
“
862083185711
”
.
c. The input number is
“
83185700
”
and the output number is
“
8675583185700
”
.
3. Rule:
“
00:|0:-0+0086|:+0086755
”
a. The input number is
“
008522343318
”
and the output number is
“
008522343318
”
.
b. The input number is
“
02083185711
”
and the output number is
“
00862083185711
”
.
c. The input number is
“
83185700
”
and the output number is
“
008675583185700
”
.
4. Rule:
“
0:|1[3-9]:+0|[2-8]:+0755|:+0755
”
a. The input number is
“
076322343318
”
and the output number is
“
076322343318
”
.
b. The input number is
“
13044557766
”
and the output number is
“
013044557766
”
.
Or, the input number is
“
13644557766
”
and the output number is
“
013644557766
”
.
c. The input number is
“
23185700
”
and the output number is
“
075523185700
”
.
Or, the input number is
“
73185700
”
and the output number is
“
075573185700
’
.