Welltech FXS SIP Gateway V.2.9 User Manual
Page 130
- 118 -
FXS Gateway Overview
–print: Check the line status
For example:
usr/config$ line -print
Line information and configuration
Line Reg.
Status
=================
1 No
Ready
2 No
Ready
3 No
Ready
4 No
Ready
Figure 21-56 line -print command
21.7.22 [prefix]
This command is for make rules for drop or insert prefix digits.
usr/config$ prefix
Prefix drop/insert information and configuration
Usage:
prefix -add [prefix number][drop number][insert digits]
prefix -delete index
prefix -modify index [prefix number][drop number][insert number]
prefix -print
Prefix drop/insert information.
prefix
The prefix of dialed number.
drop
Drop
prefix(Enable:1/Disable:0).
insert Insert
digits..
prefix -bylength Insert prefix by number's length Enable:1/Disable:0).
prefix -length The length of the number which we hope to add prefix.
prefix -insert
The prefix(by number's length mode)
Example:
prefix -add prefix 100 drop 1 insert 2000
prefix -add prefix 100 drop 1
prefix -add prefix 100 drop 0 insert 200
prefix -delete 1
prefix -modify 1 prefix 100 drop 0 insert 300