#
# faxconfig - list of fax boards/modems to operate, used by faxsrv(1)
#
# Lines in this file can be of these formats:
#	variable=value
#		(Puts FAXvariable=value into environment)
#		(Not all variables are supported by all boards)
#	faxrun [options]
#		(Forks a FAX server)
#
# GLOBAL VARIABLES
#	debug=[0-9]		(default is 0, no debugging info)
#				Level 7 is best for debugging
#	rcvenabled=[01]		(default is 1, receive enabled)
#	max_tries=[0-9]+	(number of attempts to send;default is 15)
#	wait_times=N1,N2,...NX	(retry waiting times between attempts)
#				wait N1 minutes after 1st failure,
#				N2 minutes after second failure, etc.
#	roundrobin=[01]		0: Always use lowest numbered idle board first
#				1: Schedule boards in turn (keeps a dead line
#				or board from hanging outgoing jobs)
#	keeppartial=[01]	Keep partially recved jobs
#	sendpartial=[01]	Restart partially sent jobs at first bad page
#	lognickname=[01]	Log nickname instead of phone # in txlog
#	logattempts=[01]	Log every attempt in txlog
#	samenumber=[01]		In multiple channel systems, allow a call
#				to a telephone number even if a call is already
#				being placed to that number on another channel.
#	retrywarning=N		Mail warning to user after N tries to send
#
# BOARD VARIABLES
#	dialtone=[0-255]	Seconds to wait for dialtone when dialing
#				For dfax/efax: negative values imply blind
#				dialing after abs(dialtone) seconds, positive
#				values *require* dial tone to be detected within
#				that number of seconds.
#	prefix=[:telno:]	prefix dialing with these digits
#	didparm=[0-9]+		select DID recognition of N digits (bfax only)
#				(add 16 for wink start trunks)
#	callprog=[01]		dis/en-able call progress (bfax only)
#	asciiok=[01]		dis/en-able on board ASCII conversion
#				(bfax only; Rev 6.3 or later ROMs)
#	class2opts=KEY		KEY to used in searching SpoolDir/class2opts
#				for class2 modem options
#	maxtxspeed=[0123]	Maximum Tx Speed (dfax only)
#	mintxspeed=[0123]	Minimum Tx Speed (dfax only)
#				0=2400, 1=4800, 2=7200, 3=9600
#	maxrxspeed=[0123]	Maximum Rx Speed (dfax only)
#	minrxspeed=[0123]	Minimum Rx Speed (dfax only)
#				0=2400, 1=4800, 3=9600
#	dataspeed=SPEED		Enables data and fax on same modem, iff modem
#				can support this feature.  SPEED must be 19200
#				or 38400.
#	initcmd=COMMAND		Run COMMAND after device is opened, with stdin
#				attached to the device.  Typical use is for
#				setting HW flow control. E.G.
#					initcmd=ditty ctspace
#
# faxrun [options]
#
#	-T type		Board type:
#			bfax	- Brooktrout TR111/TR112 faxboard
#			dfax	- DigiBoard FAX/1 or FAX/2 faxboard
#			efax	- External Class 2 serial faxmodem
#			jfax	- Hayes/Quadram JT FAX 9600 faxboard
#			wfax	- WorldPort 2496V42bis faxmodem
#	-D device	Device name:
#			/dev/bfax[0-15]		Brooktrout TR111/112
#			/dev/dfax[0-7][01]	DigiBoard FAX/1 or FAX/2
#			/dev/jfax[0-7]		Hayes/Quadram JT FAX 9600B
#			/dev/mem		Hayes/Quadram, no kernel driver
#			/dev/tty[0-15]		Serial faxmodem
#	-A addr		Device address, used with -D /dev/mem,/dev/bfax
#	-C chan		Device DMA channel, used with -D /dev/bfax
#			WARNING: bfax DMA unreliable. Forget this!
#	-h 'id'		ID string for this location (20 chars)
#	-H 'hdr'	Page header string for this location
#			-H '' means no page header
#			Time and/or date substituted for cftime(3) '%' formats
#			Page number substituted for '%%d' (note two '%''s)
#			bfax,efax: 80 chars, cftime(3) and %%d allowed
#			jfax: 32 chars, cftime(3) allowed, page number fixed.
#			-H "%m/%d/%y %H:%M PC Research Inc.   P.%%02d"
#	-s scantime	Set recv scan time (default 15 seconds)
#	-r		Disable receive
#	-t		Disable transmit
#	-q		Quiet mode
#	-d level	Produce debugging output
#	-L lockname	Create UUCP style lock file named 'lockname'
#			when line is being used for FAX. e.g.:
#				-L /usr/spool/locks/LCK..tty00
#			is the lock name for serial port /dev/tty00
#			Also, tags 'sco', 'svr3', or 'svr4' can be used to let
#			faxrun try to determine the lockfile name.
#
#	faxrun also understands -Sspooldir and -Bboardnum options,
#	but these are automatically passed to faxrun by faxsrv.
#
# EXAMPLES
#
#	DigiBoard FAX/1:
#	    faxrun -T dfax -D /dev/dfax00 -h "555-1212"
#				-H "%m/%d/%y %H:%M  YOUR COMPANY HERE  P.%%02d"
#
#	Hayes/Quadram JT FAX 9600 board using kernel driver:
#	    faxrun -T jfax -D /dev/jfax0 -h "YOUR TELNO HERE"
#
#	Hayes/Quadram JT FAX 9600 board using user mode access:
#	    faxrun -T jfax -D /dev/mem -A 0xCC000 -h "YOUR TELNO HERE"
#
#	Brooktrout TR111 Fax board at IO address 0x250:
#	    faxrun -T bfax -D /dev/bfax0 -A 0x250 -C 3 -h "YOUR TELNO HERE"
#
#	External Class 2 serial FAX modem
#	    class2opts=ChipSet-R9624AC
#	    faxrun -T efax -D /dev/tty00 -h "YOUR TELNO HERE"
#
#	External modems: additional "AT" commands to initialize the
#	modem can be put into file $SPOOLDIR/atcmds.CHANNEL, e.g.
#	/usr/spool/fax/atcmds.1 for channel 1.
#

max_tries	=	10
wait_times	=	1,5,10,15,20,25,30,35,40,45,50,55,60
roundrobin	=	0
keeppartial	=	0
sendpartial	=	0
retrywarning	=	0
lognickname	=	1
logattempts	=	0

dialtone	=	2
faxrun -T dfax -D /dev/dfax00 -h "YOUR TELNO HERE!" -H "%m/%d/%y %H:%M  YOUR COMPANY HERE  P.%%02d/%%02d"
