MTSNDFAX
Sends a Request file (SERVERID.REQUEST) to the host via HTTPClient to see if there are any faxes for it to send. In the REQUEST file is a list of all the sites it can fax. It will stay connected and wait for a request response file (SERVERID.RESPONSE) from the host server. It will wait up to 120 seconds before it aborts.
MTWEBSVR
Receives the HTTPClient call from MTSNDFAX and calls an instance of MTREQSVR with the appropriate information.
MTREQSVR
Copies the SERVERID.REQUEST file to the System\Fax\Request folder. It will then monitor this folder looking for the RESPONSE file (SERVERID.RESPONSE). This waiting period is up to 90 seconds before it aborts. If it aborts, it will let the calling MTSNDFAX know it never got a REPONSE file.
MTFAX
It will look in the Request folder. If MTFAX finds a .REQUEST file(s) in the request folder, it will look to see if there is a fax that needs to be sent for that requesting MTSNDFAX.
If there is a fax, it will assemble the document (NOTE: All other distribution processes let MTREPTSVR do this function – this is unique to MTFAX) and create the TIFF image via FAXMAN. Once the fax image has been created, it will create a RESPONSE file letting the MTSNDFAX know the name, faxing information, and where this fax image is located to download. It will do this process for EACH REQUEST file found in the Request folder before it goes to process the complete folder requests.
If there is no fax to be done, it will create a RESPONSE file for that SERVERID stating that there is nothing to fax.
MTREQSVR
When it sees the SERVERID.RESPONSE file in the system\Fax\Request folder. It will copy that to the web download/upload location (System\Web\ZSYS) folder and let MTWEBSVR.DLL know it is done with its job. It will wait up to 90 seconds for MTFAX to create this RESPONSE file. If it takes longer than 90 seconds, it will report the error to MTWEBSVR so it can let MTSNDFAX know.
MTSNDFAX
Receives the RESPONSE file back from the HTTPClient connection. If there is no fax to send, it will wait the specified time configured in the JobCtrl manager before it asks again. If there is a fax to be sent, it will then get the created fax image from the host and send the fax out.
MTSNDFAX
Upon completion of the fax process, error or success, MTSNDFAX will create a completion file (SERVERID. REQUEST). In this complete REQUEST file is the results of the fax. It will stay connected and wait for a complete response file (SERVERID.RESPONSE) from the host server. It will wait up to 120 seconds before it aborts.
MTWEBSVR
Receives the HTTPClient call from MTSNDFAX and calls an instance of MTREQSVR with the appropriate information.
MTREQSVR
Copies the SERVERID.REQUEST file to the System\Fax\Complete folder. It will then monitor this folder looking for the RESPONSE file (SERVERID.RESPONSE). This waiting period is up to 90 seconds before it aborts. If it aborts, it will let the calling MTSNDFAX know it never got a RESPONSE file.
MTFAX
It will monitor the System\Fax\Complete folder looking for .REQUEST file(s). If it sees request file(s), it will open each one and update the database accordingly. Once the database has been updated, it will create a SERVERID.RESPONSE file letting the MTSNDFAX know it received the complete REQUEST file. It will do this process for EACH REQUEST file found in the complete folder before it goes to process the request folder requests (MTSNDFAX asking what to fax).
MTREQSVR
When it sees the SERVERID.RESPONSE file in the system\Fax\Complete folder. It will copy that to the web download/upload location (System\Web\ZSYS) folder and let MTWEBSVR.DLL know it is done with its job. It will wait up to 90 seconds for MTFAX to create this complete RESPONSE file. If it takes longer than 90 seconds, it will report the error to MTWEBSVR so it can let MTSNDFAX know.
MTSNDFAX
Receives the complete RESPONSE file back from the HTTPClient connection. It will verify the RESPONSE file is valid and not an error file. If the RESPONSE file is valid, MTSNDFAX starts the process over again by asking the host if it has any faxes to send.
If the RESPONSE file is invalid or does not come back in the specified time or gets an error response from MTREQSVR, it will send the complete request over again until the hosts acknowledges this Request. This is to make sure the system is updating accordingly and to prevent multiple faxes to be sent to the client. It will never ask for new faxes until this process is completed with a valid RESPONSE file from MTFAX. Restarting MTSNDFAX will allow the process to start over with asking for faxes to send.