Shanghai New Rock Technologies Inc. Page56/75Figure 2-27 Illustrative interface for routing configurationThe routing table with 50 rules in capacity provides two functions including digit transformation andcall routing assignment. Here are the general rules applied by OMs when executing the routing table:1. The routing rules in the table are executed from top to down, and the number matching followsthe principle of minimum & priority matching;2. When there is no rule matched, the call will be processed as follows:a) For outbound calls, calls will be routed to SIP proxy;b) For inbound calls, calls will be routed according to its called party number, and if thecalled party number does not exist, 404 will be returned.3. When matched port is not in idle state, 486 will be returned for FXS port, and 503 will bereturned for FXO port.4. When domain name is used in rule, DNS must be selected and enabled first.Rules must be filled out without any blank at the beginning of each line; otherwise the data can’t bevalidated even if the system prompts successful submit.The routing table is empty by default. The OM will point a call to the SIP proxy server when there isno matched rule for the call.The format of number transformation isSource Number Replacement MethodFor example: “FXS 021 REMOVE 3” means removing the prefix 021 of the called number for callsfrom FXS port, where “FXS” is source, “021” is number, and “REMOVE 3” indicates the method ofnumber transformation.The format of routing rules isSource Number ROUTE Routing Destination