Configuring the software
3.3 Adding actions
You can tell faxmaster that it should execute a specific script or program after a fax has been sent or could not be sent. This could be useful if you want to update your own database or similar and is done by using the EXECUTE_AFTER_SEND keyword in the configuration file:
EXECUTE_AFTER_SEND=/usr/local/bin/faxafter
The specified program will be called with a number of parameters.
3.4 XFAX and multiple fax devices
To use multiple fax devices, or fax lines, with XFAX first of all you need an XFAX license that permits multiple lines. You can display the number of lines your current license permits using faxmaster
To define which tty:s should be used by XFAX you use the FAXLINE keyword in the XFAX configuration file. If you for example want to use tty1 and tty2 you should use the following:
FAXLINE=tty1:tty2
By default XFAX, when sending a fax, tries to use the first line specified by the FAXLINE
All keywords in the configuration file specify attributes for all lines if not sur- rounded by the LINE ttyxx < … > keyword. If you for example would like to define a different
LINE tty2 <
INIT_STRING=”AT&F&K4”
>
Keywords that may be used for line-specific attributes:
ACCEPT_USERS
AUTOPRINT
CLASS
DENY_USERS
DIAL_TIMEOUT
DIAL_PREFIX
EXIT_STRING
INIT_STRING
MAX_BPS
RECEIVE_ONLY
SEND_ONLY
XON_XOFF
When you display the queues for sent and failed faxes you can use the
XFAX - User’s Guide 4.3a | 10 |