TGWxE1-2G PRI (ISDN) Trunk
Gateways Series for Aeonix User Configuration Manual
5-21
Table 5-11 Number Transformations
Processing Mode
Description and Example
KEEP
Keep number. The positive number after KEEP means to keep several digits at the beginning of
the number; the negative number means to keep several digits at the end of the number.
Example: IP 02161202700 KEEP -8
Keep the last 8 digits of the called number 02161202700 for calls from IP.
The transformed called number is 61202700.
REMOVE
Remove number. The positive number behind REMOVE means to remove several digits at the
beginning of the number; the negative number means to remove several digits at the end of the
number.
For example: IP 021 REMOVE 3
Any number start with 021, the 021 prefix is removed.
ADD
Add prefix or suffix to a number. The positive number after ADD is the prefix; the negative
number is a suffix.
Example 1:
IP CPN6120 ADD 021
CPN number starts with 6120, prefix 021 is added.
Example 2:
IP CPN6120 ADD -8888
CPN number starts with 6120, 8888 is appended.
REPLACE
Number replacement. The replaced number is after REPLACE.
Example:
ISDN CPN88 REPLACE 2682000
CPN number starts with 88, the prefix “88” is replaced with 2682000.
Another use of REPLACE is to replace the specific number based on other numbers associated
with the call. For example, replacing the calling party number according to the called party
number.
Examples:
ISDN 12345 REPLACE CPN-1
Indicates that the tail digit is deleted from the caller number in correspondence with the called
party number 12345 from ISDN.
END or ROUTE
End of number transformation. From top to bottom, number transformation will be stopped
when END or ROUTE is encountered; the gateways will route the call to the default routing
after meeting END, or route the call to the designed routing after meeting ROUTE.
Example 1:
IP 12345 ADD -8001
IP 12345 REMOVE 4
IP 12345 END
Indicates that the called party number from an IP network starting with 12345. The first order
indicates it is suffixed with 8001, the second order indicates it removes 4 digits and the third
order indicates it ends the previous operations.
Example 2:
IP[222.34.55.1] CPNX REPLACE 2680000
IP[222.34.55.1] CPNX HIDE
IP[222.34.55.1] CPNX ROUTE ISDN 2
Indicates that any calling party number from the IP address 222.34.55.1 is replaced by 2680000.
The calling party number is hidden and the call is sent to the second E1.
Note: The hiding of the calling party number can be enabled only when the operator can
provide the corresponding support as well.