Specifications

Real Tone Technology Co., Lted www.realtonetech.com
Page 34/67
Name Description
Number It chould be a calling number with the form of CPN + number or a called
number with the form of number. The number may be denoted with digit
0-9,"*",".","#"," x ", etc., and uses the same regular expression as that of
dialing rules. Here are some of the form of number:
l Designate a specific number: eg.11461202700;
l Designate a number matching a prefix: such as 61xxxxxx. Note: the
matching effect of 61xxxxxx is different from that of 61x or 61.
l Specify a number scope. For example, 268[0-13-9] specifies any
4-digit number starting with 268 and followed by a digit between 0-1or
3-9;
Note: Number matching follows the principle of minimum matching .
For example: x matches any number with at least one digit; xx matches
any number with with at least two-digit; 12x matches any number with at
least 3-digit starting with 12.
Table 2-10 Number Transformations
Processing Mode Description and Example
KEEP Keep number. The positive number behind KEEP means to keep several
digits in front of the number; the negative number means to keep several
digits at the end of the number.
Example: FXS 02161202700 KEEP -8
Keep the last 8 digits of the called number 02161202700 for calls from
FXS. The transformed called number is 61202700.
REMOVE Remove number. The positive number behind REMOVE means to remove
several digits in the front of the number; the negative number means to
remove several digits at the end of the number.
For example: FXS 021 REMOVE 3
Remove 021 of the called number beginning with 021 for calls from FXS.
ADD Add prefix or suffix to number. The positive number behind ADD is the
prefix; the negative number is suffix.
Example 1:
FXS1 CPNX ADD 021
FXS2 CPNX ADD 010
Add 021 in front of calling numbers for calls from FXS port 1; add 010 in
front of calling numbers for calls from FXS port 2.
Example 2:
FXS CPN6120 ADD -8888
Add 8888 at the end of the calling number starting with 6120 for calls from
FXS port.
REPLACE Number replacement. The replaced number is behind REPLACE.
Example: FXS CPN88 REPLACE 2682000
Replace the calling number beginning with 88 for calls from FXS port to
2682000.