3Com NBX 100 Network Router User Manual


 
116 CHAPTER 2: DIAL PLAN
Arguments
nRouteId — An integer in the range 1 through 32768.
nEntryId — An integer in the range 1 through 32768 specifying the timed
route entry to which this operation applies.
nOperId — An integer in the range 1 through 32768. The
system processes the list of operations in ascending nOperId order
(nOperId 1 first).
szOperation — The name of the digit manipulation operation to perform:
stripLead, stripTrail, replace, prepend, append.
szValue — The value used by the operation, either the string of digits to
prepend, append, replace with, or the number of digits to strip.
Sample Solutions
Using Dial Plan
Configuration File
Commands
This section describes several requirements that a customer might have,
and for each one, provides a sample solution. An explanation follows
each step in the solution.
For a detailed explanation of each command, see
Dial Plan
Configuration File Commands on page 100.
Customer Requirement 1. Assume that the telephone company
passes 4-digit numbers to the NBX system for each incoming telephone
call (for example, numbers in the range 5200 through 5300). If the
system uses 3-digit extensions in the range 200 through 300, you could
define a single pretranslation operation that performed a stripLead to
remove the first digit. For example, the system could remove the number
five from an incoming number such as 5278, and pass the call to
extension 278.
To accomplish the pretranslation:
PreTranslator Create 1 4-to-3-digit T1 DID/DDI Pretranslator
Explanation: Create pretranslator table 1, called “4-to-3-digit T1
DID/DDI Pretranslator.”
PreTranslatorEntry Create 1 1 5
Explanation: Create, in pretranslator table 1, entry number 1, which
applies when the first digit in the sequence is 5.