Technical information
INSTALLATION AND ADMINISTRATION GUIDE
104
Intermediate dial string conversion
The next part of dial string conversion involves categorizing it as internal, local, long distance, or international based
on the dial string variables stored in the $VSIFAX/lib/vsisrv.ini file.
Note
By default, the dial string variables are set to normal U.S. telephone requirements. If your local telephone system
does not follow U.S. standards, reset these values.
Dial string variables are stored in the DEVICE section of the vsisrv.ini. server configuration file. The fax
administrator should determine the appropriate settings for the dial string variables and edit the
$VSIFAX/lib/vsisrv.ini file in the $VSIFAX/lib directory, as needed.
The dial string variables in the vsisrv.ini file are:
Entry Default Description
area-code Area code for the phone line used by this device.
country-
code
1
The country code for the phone line used by this device.
dial-
convert
ON
Set OFF to disable any dial string conversion.
dial-cvt-
program
The name of an external program that will output to standard output the results of its
conversion. Its output is used to create the converted dial string. This program is called with
the following arguments:
-p <prefix> Dial <prefix>, if defined.
-s <suffix> Dial <suffix>, if defined.
-a <code> Area <code>, if defined.
<number> Dial string to convert.
dial-prefix A prefix, such as "9", or "8," to be prepended to a dial string before sending. This is usually
used to access outside lines.
dial-suffix Suffix appended to a dial string before sending.
intl-access
011
The dial prefix needed to make international calls.
intl-prefix
An alternate prefix (instead of LongDistPrefix) for dialing an international call.
intl-suffix An alternate suffix for dialing an international call.
local-num-
len
7
The number of digits in the local number for the phone line used by this device.
long-dist-
access
1
Dial string needed to make long distance calls.
long-dist-
prefix
Prefix prepended to a dial string (instead of DialPrefix) if the number is determined to be a
long distance number. This is usually used for phone systems that use access codes for long
distance calls.
long-dist-
suffix
Suffix appended to a dial string (but before DialSuffix) if the number is determined to be a
long distance number. This is usually used for phone systems that use account numbers for
toll calls.
Assuming that D is the number of digits in the dial string, the following logic is used to determine whether it
represents an internal, local, long distance, or international number:
If D < LocalNumLen, then the dial string is an internal telephone extension.
If D = LocalNumLen, then the dial string is a local telephone number.
If LocalNumLen < D < LocalNumLen + AreaCode, then the dial string is a long distance telephone number.