NetGen Communications SmartATA Series User Manual page 47

Table of Contents

Advertisement

Table 18 - Number Transformations
Processing Mode
Description and Example
KEEP
Keep number. A positive number behind KEEP means to keep several
digits in front of the number; a negative number means to keep several
digits at the end of the number.
Example: FXS
Keep the last 7 digits of the called number 17704497704 for calls from
FXS (Phone). The transformed called number is 4497704.
REMOVE
Remove number. A positive number following REMOVE means to
remove the first several digits of the number; a negative number means to
remove the latter several digits of the number.
For example: FXS
Remove 1770 of the called number beginning with 1770 for calls from
FXS (Phone).
REMOVE
Remove hyphens from a dialstring, e.g. 1-xxx-xxx-xxxx => 1xxxxxxxxxx.
IP CPN1-XXX-XXX-XXXX REMOVE 1 POS 1
hyphen
IP CPN1-XXX-XXX-XXXX
second hyphen
IP CPN1-XXX-XXX-XXXX
third hyphen
Each digit-adjust rule can only perform one operation, i.e. add, delete,
replace, etc., but you can add multiple rules together. POS in the rule
specifies from which position to start the change, starting with 0,1,2... No
POS (position) is interpreted as 0, which is the first digit.
ADD
Add prefix or suffix to number. A positive number behind ADD is the
prefix; a negative number is suffix.
Example 1:
FXS1
FXS2
Add 021 in front of calling numbers for calls from FXS (Phone) port 1; add
010 in front of calling numbers for calls from FXS (Phone) port 2.
Note: CPNX denotes to any calling party number.
Example 2:
FXS
Add 8888 at the end of the calling number starting with 6120 for calls from
an FXS (Phone/fax) port.
REPLACE
Number replacement. The replaced number follows REPLACE.
Example: FXS
Replace the calling number beginning with 88 for calls from FXS (Phone)
port with 2682000.
REPLACE
Another use of REPLACE is to replace the specific number based on
another number associated with the call. For example, replace the calling
number according to the called number.
Examples:
FXS
FXS
For calls from FXS (Phone) ports with called party number of 1234,
remove one digit at the end of the calling number and add 8621; for calls
from FXS (Phone) ports with calling party number starting with 13, add 0
at the beginning of the called number.
NetGen Communications, Inc.
17704497704
KEEP
17704497704
REMOVE
REMOVE
CPNX
ADD
021
CPNX
ADD
010
CPN6120
ADD
-8888
CPN88
REPLACE
12345
REPLACE
CPN13
REPLACE
-7
REMOVE
4
<= remove the first
1 POS 4
<= remove the
1 POS 7
<= remove the
2682000
CPN-1/8621
CDPN0/0
Routing
Page 39

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents