User`s manual
52
numbers information.
- hotline the same function with table command.
4.2.22 [prefix] command
This function can do digits replacement of incoming call from IP side
or PSTN side.
usr/config$ prefix
Prefix setting information and configuration
Usage:
prefix [-pstnrule index oldnumber newnumber (index = 1 ~ 6)]
[-iprule index oldnumber newnumber (index = 1 ~ 6)]
prefix -print
-print Display prefix information and configuration.
-pstnrule Set PSTN incoming prefix rule information.
-iprule Set IP incoming prefix rule information.
Example:
prefix -pstnrule 1 2 8862 : prefix 2 will be replaced with 8862
Parameter Usages:
-print print current setting in prefix command.
-pstnrule to do digit replacement of incoming call from PSTN side.
Ex, to set prefix –pstnrule 1 123 456,which means the
first set of PSTN side rule is: IF user press 123888 after
dialing in Micronet FXO Gateway from PSTN side ,the
real number dialed out will become 456888.
-iprule to do digit replacement of incoming call from IP side. Ex,
to set prefix –iprule 1 456 789,which means the first
set of IP side rule is: IF user press 456000 after dialing in
Micronet FXO Gateway from PSTN side ,the real
number dialed out will become 789000.