|
ServerAutoExport is used by the server to create a continuous list of all calls recorded in a standard text file. Because it is run from the MonTel server, it can have no links into the client database.
Server Auto export relies on phone call records only, runs in real time and is expected to be used only in cases where a site still feels the need to have account codes or pin numbers on the phone hand sets. This contrasts with Monex which is used to export disbursement record from the Client Database. See how to use Monex.
The data output is in a format used by Monitor Business Machines for import of telephone disbursement records in a comma and quotes delimited no white space format. The field layout is:
"Date as DD/MM/YY","time as HH:MM:SS", "Extension","Handset code", "APBX", "Disbursement code", "0","Duration as 6 digits of seconds", "Cost as D.CC", "Dialed number with P as a prefix", "Comment as call record with record number", "0", "0", "Department"
Two example records.
"27/04/00","12:14:00","771","0000","APBX","TEL","0","000030","0.00","P093868340","007007 Call record.","0","0","ADMIN"
"27/04/00","12:14:00","771","0000","APBX","TEL","0","000384","0.00","P093868340","007008 Call record.","0","0","ADMIN"
Most of the settings for server auto export are in the [AutoExport] section of the PABX.INI file, along with settings for MONEX. The settings that pertain to the server are prefixed by "Server".
An example of these settings is shown here:
ServerAutoExport = 1
ServerAutoExportFilePathName = "F:\APPS\MONITOR\DATA\Server.txt"
ServerAutoDisbursmentCode = "TEL"
ServerAutoCostThreshold = 0.26
ServerDefaultUserDepartment = "ADMIN"
The server export will not take place if ServerAutoExport = 1 is not present. The path and file name of the file to be exported to is ServerAutoExportFilePathName. This does not need to exist, so it can be simply deleted at any time, and new call records will be added to a new or blank file.
The disbursement code can be specified in ServerAutoDisbursmentCode.
If you only want to see call records of a certain value and above, add ServerAutoCostThreshold and set it to the valuer you require. In the example above it is for calls of 26 cents or more.
Finally ServerDefaultUserDepartment sets the default department for all users. Note that is the user has not been set up, the sever will export a blank entry rather than this default. The same setting in the server section, will allow a specific department for each server or volume that is set up. Finally each user entry can have a specific department specified by adding (DEPT) in front of a department name separated from the other entries by a comma. If you include quotes, make sure they enclose the (DEPT) as well. Please note that this is the only place where the prefix (DEPT) is required.
There can be up to 64 different departments, and each department name can be up to 32 characters in length.
More and up to date information can be found in the PABX.REF file in the support directory.