Dial Plan Configuration File Commands
313
Description Creates a pretranslator entry and specifies a string of digits
that are compared to the incoming digits. If the pretranslator entry
already exists, this command overwrites it with the new information.
Arguments
— An integer in the range 1 through 32768.
nPreTranslatorId
— An integer in the range 1 through 32768.
nEntryId
— The digits to compare to the incoming digits.
szDigits
Example: These example commands create, in pretranslator 1, entries 1
through 10, each of which looks for a different single digit (0 through 9)
in the incoming digits.
PreTranslatorEntry Create 1 1 0
PreTranslatorEntry Create 1 2 1
PreTranslatorEntry Create 1 3 2
PreTranslatorEntry Create 1 4 3
PreTranslatorEntry Create 1 5 4
PreTranslatorEntry Create 1 6 5
PreTranslatorEntry Create 1 7 6
PreTranslatorEntry Create 1 8 7
PreTranslatorEntry Create 1 9 8
PreTranslatorEntry Create 1 10 9
PreTranslatorEntry Delete
Syntax
PreTranslatorEntry Delete nPreTranslatorId nEntryId
Description Deletes a pretranslator entry or deletes all entries for a
particular pretranslator.
Use caution when using this command to delete Pretranslator entries in
an existing dial plan. In general, it is best to delete all tables, routes, and
pretranslators at the beginning of each dial plan configuration file. This
precaution avoids the potential conflicts or unpredictable actions caused
by importing new dial plan entries on top of an existing dial plan.
For instructions on how to edit the dial plan configuration file to delete
existing tables, routes, and pretranslators, see
"Creating Dial Plan
Configuration Files"
on
page
274.
Arguments