12/5/2006
EIG-8O Gateway Administration Guidelines
MAG-06008 Rev. A
Figure 21. Routing Table Screen
Routing table serves two main functions: number swapping and route exchange. The table is executed
from top to bottom. Number swapping always has advantage over route exchange. A routing table can
have a maximum of 50 entries.
Note:
The routing table is empty by default. All the calls go to the SIP Proxy server, and are routed by
this server.
Number Swapping
One phone number consists of three sections: Origination, Number, and Action.
․
Origination
can have the following values: IP, FXS, and FXO. IP can be any IP address, a
specified IP address, and a specified IP address plus the port number. FXS and FXO can be a
specific line number (for example FXS1, FXO2 or FXS 1 – 2, etc.)
․
Number
can be the calling number, or the called number. Default is the called number. If it is the
calling number, add CPN before the number as the identifier. The number can use any digit
between 1 to 9, *, ., #, X etc, just like the digit map. The common rules are:
Numbers, such as 114, 61202700
The beginning digits of a number, such as 61xxxx, or 612x, or 61
Expressions such as 268[0-1, 3-9], which indicates a number that starts with 268 and
followed by any number from 0 to 1 or 3 to 9
The search for a matching number follows the principle of “shortest and quickest”. For
example, x equals all numbers; xx equals all two-digit numbers; 12x equals all three-digit
numbers that start with 12
․
Action
defines the processing method and the actual information that has been processed. It
can have three values:
KEEP
: Keep means to keep the number. Another number goes after it. If that number is
positive, it means to count the number from the front; if the number is negative, it means to
count the number from the backward. For example,
30