Shanghai New Rock Technologies Inc. Page59/75
Processing Mode
Description and Example
RELAY
Insert prefix of called party number when calling out. The inserted prefix
number follows behind REPLAY.
Example:
IP 010 RELAY 17909
For calls from IP with called party number starting with 010, digit stream
17909 will be outpulsed before the original called party number is being
sending out.
Table 2-28
Routing Destination
Destination
Description and Example
ROUTE NONE
Calling barring.
Example:
IP CPN[1,3-5] ROUTE NONE
Bar all calls from IP, of which the calling numbers start with 1, 3, 4, 5.
ROUTE FXS
Route a call to FXS ports.
Example 1:
IP 800[0-3] ROUTE FXS 1,2,3,4
Select FXS port in a sequential order.
Example 2:
IP 800[0-3] ROUTE FXS 1
Point this call to FXS port 1.
Example 3:
IP 800[0-3] ROUTE FXS 1,2,3,4/g
For terminating the call from IP, ring FXS port 1, 2, 3, 4 simultaneously.
ROUTE FXO
Route a call to FXO port.
Example:
IP x ROUTE FXO 1,2,3,4/r
Select the outgoing call FXO port in a round robin way.
ROUTE IP
Route a call to the IP platform.
Example:
FXS 021 ROUTE IP 228.167.22.34:5060
228.167.22.34:5060 is the IP address of the platform.
2.7.5
Application Examples of Routing Table
1)
Remove digits
FXS 01061202700 KEEP -8
Note: This rule will remove the area code of the called party number.
FXS 021 REMOVE 3
Note: This rule will remove prefix 021.
2)
Insert extra digits at the beginning of digit stream
FXS CPNX ADD 021
Note: Adding prefix 021 to the calling party number.
3)
Insert extra digits at the end of digit stream
FXS CPN6120 ADD -8888