3com SuperStack 3 NBX User Manual

Page of 466
Dial Plan Pretranslators
41
Example: Say that the DDI/DID telephone numbers range from 
508-555-4200 through 508-555-4299. The telephone company sends 
you the last 4 digits of the total telephone number. Internally, you want 
to use extensions 2000 through 2099. You can define a pretranslator to:
Remove (stripLead) the first two digits of the incoming 4-digit 
sequence.
Add (prepend) the digits 20 in front of the remaining 2 digits.
See 
 on 
 for detailed 
information and examples on creating and managing dial plan 
pretranslators.
Pretranslators for
Incoming Calls
For incoming calls, pretranslation reformats the dialed number before it is 
passed to the Incoming dial plan table (Table ID 2). See 
Incoming Pretranslator Example 1
If, for an incoming telephone call, the telephone company passes you 
4-digit numbers from 6100 through 6199, the system can use a 
pretranslator to remove the first digit; the remaining 3 digits can then be 
used as internal extension numbers in a 3-digit dial plan. Tell the system 
which pretranslations you want to perform by defining digit manipulation 
operations (append, prepend, replace, stripLead, or stripTrail) within the 
PreTranslator section of the dial plan configuration file.
Incoming Pretranslator Example 2
Assume the telephone company passes 10-digit numbers to the system 
for each incoming telephone call (for example, numbers in the range 
4567-89-3000 to 4567-89-3500). If the system uses 4-digit extensions in 
the range 2000 to 2500, you could pass an incoming 10-digit number 
such as 4567-89-3210 to extension 2210.
This strategy requires two pretranslation operations: The first operation 
performs a stripLead operation to remove the initial 7 digits, leaving 210. 
The second operation prepends the number 2 in front of the remaining 3 
digits. The result is 2210, which matches an extension within the 
extension range. 
 on 
 shows how to accomplish this pretranslation 
using the dial plan configuration file.