MG Series Gateway Setup Manual ver 306.X (0000000272)
Revision 20 Jul. 12, 11
© 2011 Zultys, Inc. No reproduction of distribution without permission
Page 34 of 42
Technical
Publications
Routing Table Format
Name
Description
Source
There are three types of source: IP, FXS and FXO.
Among them, IP source can be any IP address and is denoted by
“IP”; “IP [xxx.xxx.xxx.xxx]” is used to denote specific IP address; “IP
[xxx.xxx.xxx.xxx: port]” is used to denote specific IP address with
port number.
FXS and FXO ports can be any port, represented with “FXS” or “FXO”;
special lines can be represented with FXS or FXO + port number, eg.
FXS1, FXO2 or FXS [1-2], etc.
Number
It should 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. Examples:
Designate a specific number: eg.114
,
61202700;
Designate a number matching a prefix: such as 61xxxxxx. Note: the
matching effect of 61xxxxxx is different from that of 61x or 61.
Specify a number scope. For example, 268[0-1
,
3-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.
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.