
www.greatel.net
- 35 -
¾
Expressions such as 322[0-1, 3-9], which indicates a number that starts with 322 and followed by any
number from 0 to 1 or 3 to 9
¾
In the Route Map 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; 32x equals all three-digit numbers that
start with 32
¾
CPNxx indicates to select the route using the numbers following the CPN
Action field can have three values. The rules are:
¾
KEEP, meaning to keep the number as it is. No processing is required
¾
REMOVE, meaning to remove the number. To be exact, this does not remove the entire number, only
the matching digits
¾
ADD, meaning to add digits before the called number. This happens before the selection of digit map
Destination field values can be FXS, IP, CODEC, NONE, etc. The rules are:
¾
Routes that have FXS as the Origination usually have IP as Destination
¾
Routes that have IP as the Origination usually have FXS as Destination
¾
Special application 1: Routes that use ADD in Action have NONE as Destination
¾
Special application 2: Routes that select encoding/decoding formats according to the called numbers
have CODEC as Destination
Destination Information field values use the following rules:
¾
If the Destination is FXS, Destination Information value can be a line, or multiple lines. For example,
route IP 8 REMOVE FXS 1,2,3 indicates to search among FXS lines 1, 2, and 3 for an idle line
¾
If the Destination is IP, Destination Information should be the gateway IP address and the SIP interface
address (if the interface address is not defined, use the default address 5060). For example,
192.168.2.10:5066
¾
If the IP address is a local address, Destination Information can use format localhost:5060 or
127.0.0:5060
¾
Special application 1: If Action is ADD, Destination Information field value is the digits to add
¾
Special application 2: When selecting encoding/decoding formats according to the called numbers,
Destination Information field value is encoding/decoding format. For example, PCMU/20/0 (PCMU is
the encoding format; /20 is the speed; and /0 indicates turning off echo cancellation)
5.7.3
Setting up the Feature Codes
Click the link Feature Code under Advanced Config in Figure 5 – 1. The following displays: