FaxChange news Content User documentation Administrator documentation Index of terms Technical Support Search on-line

WinPABX

Faxchange lets to route incoming faxes according the PABX preselection, see Direct Inbound Routing, PBX configuration. Tools described in the next section can export fax numbers for every user from the Exchange directory and enter them to the route rules database, which is used for incoming faxes delivering. So it is expected that in mailbox properties in Exchange are filled fax numbers for every user.

There are three tools:

ExPABX.exe - command line tool for exporting userlist from Exchange directory using this format:

        user name|exchange address|phone number

Syntax: ExPABX [-sServer] [-pPropertyID] filename

      -s    MS Exchange server name; if not specified, local server is assumed
      -p    PABX property ID, default value is 973602846 = business phone
      -e    user address type (default is SMTP)
filename    name of the output file
-p switch determines which mailbox property contains faxnumber for the user. If omitted, "Business Phone" property is exported. If property is empty (has no value), it is not exported.

ImPABX.exe - command line tool for importing of the file created by previous application to the database of Faxchange routing rules

Syntax: ImPABX [-sServer] [-dLength] filename

      -s    Faxchange server name; if not specified, local server is assumed
      -d    PABX length, standard value is 3
filename    name of the input file
Program scans input file and takes phone numbers. Then uses <PABX length> characters from right side of number (i.e. if number is "61388221" and length=3, "221" is used) and searches Faxchange database for the user, which e-mail is written together with phone number. If such user:

Both programs can be used in batch file. This lets run PABX rules synchronization with Exchange directory automatically by scheduler. Example of the batch file:

del file.txt
expabx file.txt
impabx -d4 file.txt
This batch exports phone numbers to the file.txt file and imports last 4 digits to the route rules database. File.txt is preserved to the next run of the batch.

WinPABX - graphical shell over both previous programs, which simplifies parameters entering and it is designed for interactive work.
Input parameters are names of the Exchange and Faxchange server (local server name is offered by default) and PABX length.
If you want to export different property than "Business Phone", check Non-standard property option and select it from the combobox.
After pressing OK data are exported into TEMP folder and then imported to Faxchange database.

In case of problems you can run Winpabx in debug mode (winpabx.exe -d), it gives you information what parameters are sent to other utilities and allow to check the exported data.

back to top of page