Dial Plan Pretranslators 2714 digits of the total telephone number. Internally, you want to useextensions 2000 through 2099. You can define a pretranslator to:■ Remove (stripLead) the first two digits of the incoming 4-digitsequence.■ Add (prepend) the digits 20 in front of the remaining 2 digits.See “Managing Dial Plan Pretranslators” on page 296 for detailedinformation about and examples of how to create and manage dial planpretranslators.Pretranslators forIncoming CallsFor incoming calls, pretranslation reformats the dialed number before it ispassed to the Incoming dial plan table (Table ID 2). See “Incoming DialPlan Table” on page 268. For information about how to manage caller IDand CDR information for incoming VTL calls, see “Creating aPretranslator for VTL Calls” on page 297.Incoming Pretranslator Example 1For an incoming telephone call, if the telephone company passes you4-digit numbers from 6100 through 6199, the system can use apretranslator to remove the first digit; the remaining 3 digits can then beused as internal extension numbers in a 3-digit dial plan. Define digitmanipulation operations (append, prepend, replace, stripLead, orstripTrail) within the PreTranslator section of the dial plan configurationfile to indicate which pretranslations you want to perform.Incoming Pretranslator Example 2Assume the telephone company passes 10-digit numbers to the systemfor each incoming telephone call (for example, numbers in the range4567-89-3000 to 4567-89-3500). If the system uses 4-digit extensions inthe range 2000 to 2500, you could pass an incoming 10-digit numbersuch as 4567-89-3210 to extension 2210.This strategy requires two pretranslation operations: The first operationperforms a stripLead operation to remove the initial 7 digits, leaving 210.The second operation prepends the number 2 in front of the remaining 3digits. The result is 2210, which matches an extension within theextension range. “Sample Solutions Using Dial Plan Configuration FileCommands” on page 320 shows how to accomplish this pretranslationusing the dial plan configuration file.