
TGWxE1
G a te w a y S e rie s U s e r M a n u a l
5 - 8
Ta d ira n Te le c o m
Table 5-6 Operated Numbers and Translation Rules
Operated Number
The four following types of operated numbers exist:
InCPN: Operates the calling numbers of calls from ISDN.
InCDPN: Operates the called numbers of calls from ISDN.
OutCPN: Operates the calling numbers of calls to ISDN.
OutCDPN: Operates the called numbers of calls to ISDN.
Operation Rue Set
There are four types of operation rules: matching rules, substitution rules, insertion rules, and
deletion rules.
The operation rule set is a combination of the four types of rules. If the user does not set a
matching rule in the operation rule set, the operation applies to all numbers corresponding to the
operated number.
Different types of rules are separated by a slash. Rules are executed in sequence from left to
right.
Matching Rule
Matching rule CnSmmm or C-nSmmm, where n is an integer greater than or equal to 1, and
mmm is a number string.
CnSmmm: Matches the number string mmm behind S from left to right, starting from the nth
digit of the number on the left.
C-nSmmm: Matches the number string mmm behind S from right to left, starting from the
nth digit of the number on the right.
Replacing Rule
Replacing rule RnSmmm or R-nSmmm, where n is an integer greater than or equal to 1, mmm is
a number string, and Y is assumed to be the length of mmm.
RnSmmm: Replaces the number string of the Y
th
digit starting from the left nth digit of the
number with the number string mmm behind S from left to right.
R-nSmmm: Replaces the number string of the Y
th
digit starting from the right nth digit with
the number string mmm behind S from right to left.
Inserting Rule
Inserting rule InSmmm or I-nSmmm, where n is an integer greater than or equal to 1, and mmm
is a number string.
InSmmm: Inserts the number string mmm behind S from left to right into the number of the
Y
th
digit starting from the left nth digit.
I-nSmmm: Inserts the number string mmm behind S from right to left into the number of the
Y
th
digit starting from the right nth digit.
Deleting Rule
Deleting rule DnSy or D-nSy, where n is an integer greater than or equal to 1, and y is the
number of digits of the number string.
DnSy: Deletes the number of the Y
th
digit, starting from the nth digit on the left.
D-nSy: Deletes the number of the Y
th
digit, starting from the nth digit on the right.
Example
Substitute the prefix 66 in the called numbers of calls to ISDN1 with the prefix 71.
For calls from ISDN1, delete the first two digits of the calling numbers that start with the prefix 88.
The TDM1 rule is as follows:
OutCDPN:C1S66/R1S71/InCPN:C1S88/D1S2
Description
In this rule, OutCDPN:C1S66/R1S71 is used to operate the called numbers of calls to ISDN1.
If the called number of a call is 6602, it conforms to the matching rule C1S66. Then, the substitution
rule R1S71 is applicable; that is, the called number 6602 is substituted by 7102.
In this rule, InCPN:C1S88/D1S2 is used to operate the calling numbers of calls from ISDN1.
Summary of Contents for Aeonix TGW SIP-PRI Series
Page 7: ...Ta d ira n Te le co m vii...
Page 22: ......