| 1 |
.\" $Id$ |
| 2 |
.\" |
| 3 |
.\" HylaFAX Facsimile Software |
| 4 |
.\" |
| 5 |
.\" Copyright (c) 1990-1996 Sam Leffler |
| 6 |
.\" Copyright (c) 1991-1996 Silicon Graphics, Inc. |
| 7 |
.\" HylaFAX is a trademark of Silicon Graphics |
| 8 |
.\" |
| 9 |
.\" Permission to use, copy, modify, distribute, and sell this software and |
| 10 |
.\" its documentation for any purpose is hereby granted without fee, provided |
| 11 |
.\" that (i) the above copyright notices and this permission notice appear in |
| 12 |
.\" all copies of the software and related documentation, and (ii) the names of |
| 13 |
.\" Sam Leffler and Silicon Graphics may not be used in any advertising or |
| 14 |
.\" publicity relating to the software without the specific, prior written |
| 15 |
.\" permission of Sam Leffler and Silicon Graphics. |
| 16 |
.\" |
| 17 |
.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, |
| 18 |
.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY |
| 19 |
.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. |
| 20 |
.\" |
| 21 |
.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR |
| 22 |
.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, |
| 23 |
.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, |
| 24 |
.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF |
| 25 |
.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE |
| 26 |
.\" OF THIS SOFTWARE. |
| 27 |
.\" |
| 28 |
.if n .po 0 |
| 29 |
.ds Fx \fIHyla\s-1FAX\s+1\fP |
| 30 |
.ds Ps P\s-2OST\s+2S\s-2CRIPT\s+2 |
| 31 |
.TH HYLAFAX-CONFIG ${MANNUM4_5} "$Date$" |
| 32 |
.SH NAME |
| 33 |
config \- \*(Fx configuration database |
| 34 |
.SH DESCRIPTION |
| 35 |
\*(Fx uses a configuration file for the central queueing |
| 36 |
agent and for each facsimile modem attached |
| 37 |
to a machine. |
| 38 |
These files contain information about the modems and about how |
| 39 |
the \*(Fx server processes that service these modem should operate. |
| 40 |
Configuration files are located in the |
| 41 |
.B etc |
| 42 |
subdirectory. |
| 43 |
The configuration file for the |
| 44 |
.IR faxq (${MANNUM1_8}) |
| 45 |
program is named |
| 46 |
.BR config . |
| 47 |
The per-modem configuration files used by the |
| 48 |
.IR faxgetty (${MANNUM1_8}), |
| 49 |
.IR faxsend (${MANNUM1_8}), |
| 50 |
and |
| 51 |
.IR pagesend (${MANNUM1_8}) |
| 52 |
programs have names of the form |
| 53 |
.BI config. devid , |
| 54 |
where |
| 55 |
.I devid |
| 56 |
is an identifier derived from the name of |
| 57 |
the modem's device file; for example |
| 58 |
.I ttym2 |
| 59 |
for |
| 60 |
.IR /dev/ttym2 , |
| 61 |
.I term_10 |
| 62 |
for |
| 63 |
.IR /dev/term/10 . |
| 64 |
.PP |
| 65 |
Configuration files have a simple format and are entirely |
| 66 |
.SM ASCII. |
| 67 |
A configuration parameter is of the form |
| 68 |
.sp .5 |
| 69 |
.ti +0.5i |
| 70 |
\fBtag\fP: \fIvalue\fP |
| 71 |
.br |
| 72 |
.sp .5 |
| 73 |
where a \fItag\fP identifies a parameter and a \fIvalue\fP |
| 74 |
is either a string, number, or boolean value. |
| 75 |
Comments are introduced by the ``#'' character |
| 76 |
and extend to the end of the line. |
| 77 |
String values start at the first non-blank character |
| 78 |
after the ``:'' and continue to the first non-whitespace |
| 79 |
character or, if whitespace is to be included, may be |
| 80 |
enclosed in quote marks (``"''). |
| 81 |
String values enclosed in quote marks may also use the |
| 82 |
standard C programming conventions for specifying escape |
| 83 |
codes; e.g. ``\en'' for a newline character and ``\exxx'' |
| 84 |
for an octal value. |
| 85 |
Numeric values are specified according to the C programming |
| 86 |
conventions (leading ``0x'' for hex, leading ``0'' for octal, otherwise |
| 87 |
decimal), except for a few parameters, such as |
| 88 |
.BR RecvFileMode , |
| 89 |
whose value is interpreted strictly as an octal number |
| 90 |
and |
| 91 |
.BR PageChopThreshold |
| 92 |
whose value is interpreted strictly as a floating point number. |
| 93 |
Boolean values are case insensitive. |
| 94 |
For a true value, either ``Yes'' or ``On'' should |
| 95 |
be used. |
| 96 |
For a false value, use ``No'' or ``Off''. |
| 97 |
.PP |
| 98 |
The following table itemizes the tags and the expected type |
| 99 |
of their value. |
| 100 |
The first part lists items specific to the operation of each |
| 101 |
server, while the second part has items related to the |
| 102 |
servicing of the modem. |
| 103 |
Parameters marked with a \(S1 are used only |
| 104 |
by the \*(Fx scheduler process and should appear only in the file named |
| 105 |
.BR config . |
| 106 |
Parameters marked with a \(S2 are used by both the scheduler and |
| 107 |
the per-device applications and so should appear in all appropriate |
| 108 |
configuration files (i.e. |
| 109 |
.B config |
| 110 |
and any per-device files that make sense). |
| 111 |
Parameters not otherwise marked should appear only in per-device |
| 112 |
configuration files. |
| 113 |
More detailed information about each item is given following the table. |
| 114 |
.sp .5 |
| 115 |
.nf |
| 116 |
.ta \w'ModemAnswerResponseTimeout 'u +\w'integer 'u +\w'\s-1AT+FCLASS=2.0\s+1 'u |
| 117 |
\fBTag Type Default Description\fP |
| 118 |
AdaptiveAnswer boolean \s-1No\s+1 enable adaptive answer of inbound calls |
| 119 |
AdminGroup string \s-1faxadmin\s+1 System user group for administration (if PAM enabled) |
| 120 |
AnswerRotary string \s-1Any\s+1 alternatives for answering calls |
| 121 |
AnswerBias integer \- bias to apply to successful rotary answer |
| 122 |
AreaCode\(S2 string \- local area code |
| 123 |
AuditHook\(S1 string \- command to run for faxq event auditing |
| 124 |
BadPageHandlingMethod string \s-1RTN-SAVE\s+1 bad page received handling method |
| 125 |
BatchLogs\(S1 boolean \s-1Yes\s+1 keep all session logs of a batch in a single log |
| 126 |
CallIDAnswerLength integer \- answer call when CallIDPattern received |
| 127 |
CallIDPattern strint \- call identification pattern string |
| 128 |
CIDName string \- equivalent to CallIDPattern (2) |
| 129 |
CIDNameAnswerLength integer \s-10\s+1 equivalent to CallIDAnswerLength (2) |
| 130 |
CIDNumber string \- equivalent to CallIDPattern (1) |
| 131 |
CIDNumberAnswerLength integer \s-10\s+1 equivalent to CallIDAnswerLength (1) |
| 132 |
ClocalAsRoot boolean \s-1No\s+1 set \s-1CLOCAL\s+1 using root \s-1UID\s+1 |
| 133 |
ContCoverCmd\(S1 string \s-1bin/mkcover\s+1 continuation cover page generation script |
| 134 |
ContCoverPage\(S1 string \- continuation cover page template filename |
| 135 |
CountryCode\(S2 string \- local country code |
| 136 |
CountSkippedPages boolean \s-1Yes\s+1 Count skipped pages in the page counts/totals when sending |
| 137 |
DestControls\(S1 obsolete \- Obsoleted by JobControl |
| 138 |
DeviceMode octal \s-10600\s+1 protection mode to use for modem device |
| 139 |
DialStringRules\(S2 string \- dial string rules file |
| 140 |
DistinctiveRings string \- configuration for distinctive ring cadences |
| 141 |
DRingOff string \- distinctive ring ``off'' cadence indicator |
| 142 |
DRingOn string \- distinctive ring ``on'' cadence indicator |
| 143 |
DynamicConfig string \- script for dynamic receive configuration |
| 144 |
EGettyArgs string \- arguments passed to external getty program |
| 145 |
FAXNumber string \- facsimile modem phone number |
| 146 |
FaxRcvdCmd string \s-1bin/faxrcvd\s+1 notification script for received facsimile |
| 147 |
GettyArgs string \- arguments passed to getty program |
| 148 |
Include\(S2 string \- include another file |
| 149 |
InternationalPrefix\(S2 string \- dialing prefix for international calls |
| 150 |
JobControlCmd\(S1 string \- job control command |
| 151 |
JobReqBusy integer \s-1180\s+1 requeue interval for \s-1BUSY\s+1 dial result |
| 152 |
JobReqDataConn integer \s-1300\s+1 requeue interval for data connection dial result |
| 153 |
JobReqError integer \s-1300\s+1 requeue interval for \s-1ERROR\s+1 dial result |
| 154 |
JobReqNoAnswer integer \s-1300\s+1 requeue interval for \s-1NO ANSWER\s+1 dial result |
| 155 |
JobReqNoCarrier integer \s-1300\s+1 requeue interval for \s-1NO CARRIER\s+1 dial result |
| 156 |
JobReqNoFCon integer \s-1300\s+1 requeue interval for carrier without \s-1+FCON\s+1 dial result |
| 157 |
JobReqOther\(S2 integer \s-1300\s+1 requeue interval for ``other'' problems |
| 158 |
JobReqProto integer \s-160\s+1 requeue interval after fax protocol error |
| 159 |
JobRetryBusy integer \- number of retries for \s-1BUSY\s+1 dial result |
| 160 |
JobRetryDataConn integer \- number of retries for data connection dial result |
| 161 |
JobRetryError integer \- number of retries for \s-1ERROR\s+1 dial result |
| 162 |
JobRetryNoAnswer integer \- number of retries for \s-1NO ANSWER\s+1 dial result |
| 163 |
JobRetryNoCarrier integer 1 number of retries for \s-1NO CARRIER\s+1 dial result |
| 164 |
JobRetryOther integer \- number of retries for ``other'' problems |
| 165 |
LockDataCalls boolean \s-1Yes\s+1 lock modem for the duration of an inbound data call |
| 166 |
LockVoiceCalls boolean \s-1Yes\s+1 lock modem for the duration of an inbound voice call |
| 167 |
LogCalls boolean \s-1Yes\s+1 Log all incoming calls as CALL records in xferfaxlog |
| 168 |
LogFacility\(S2 string \s-1daemon\s+1 \fIsyslog\fP facility name for ServerTracing messages |
| 169 |
LogFileMode octal \s-10600\s+1 protection mode to use for session log files |
| 170 |
LocalIdentifier string \- local station identification string |
| 171 |
LongDistancePrefix string \- dialing prefix for long distance calls |
| 172 |
MaxBatchJobs\(S1 integer 64 max jobs in a batch |
| 173 |
MaxConcurrentCalls\(S1 integer \s-11\s+1 max concurrent jobs to process for a destination |
| 174 |
MaxConsecutiveBadLines integer \s-15\s+1 max consecutive bad rows for \s-1OK\s+1 page quality |
| 175 |
MaxDials\(S1 integer \s-112\s+1 max phone calls to make to transmit a job |
| 176 |
MaxRecvPages integer \s-1\fIunlimited\fP\s+1 max pages to permit in a receive |
| 177 |
MaxSendPages\(S1 integer \s-1\fIunlimited\fP\s+1 max pages to permit in a send |
| 178 |
MaxSetupAttempts integer \s-12\s+1 max attempts to initialize a modem |
| 179 |
MaxTries\(S1 integer \s-13\s+1 max attempts to transmit a job |
| 180 |
MinAcceptedLineCount integer \s-110\s+1 min number of rows for \s-1OK\s+1 page quality |
| 181 |
ModemGroup\(S1 string \- define a name for a set of modems |
| 182 |
ModemPriority integer 255 scheduling priority for outbound jobs |
| 183 |
ModemReadyState string \s-1R\s+1 ``ready state'' sent by \fIfaxgetty\fP |
| 184 |
ModemRingResponse string \- command to respond after hearing RING |
| 185 |
ModemRingsBeforeResponse integer \s-10\s+1 the number of rings before ModemRingResponse |
| 186 |
NoAnswerVoice boolean \s-1false\s+1 disable the answering of voice-indicated calls |
| 187 |
NoCarrierRetrys integer \- Deprecated - See JobRetryNoCarrier |
| 188 |
NotifyCmd\(S1 string \s-1bin/notify\s+1 user notification command script |
| 189 |
PageChop\(S1 string \s-1last\s+1 control automatic truncation of trailing whitespace |
| 190 |
PageChopThreshold\(S1 float \s-13.0\s+1 whitespace truncation threshold (inches) |
| 191 |
PCL2FaxCmd\(S1 string \s-1bin/pcl2fax\s+1 PCL \s-1RIP\s+1 command script |
| 192 |
PercentGoodLines integer \s-195\s+1 percentage of good rows for \s-1OK\s+1 page quality |
| 193 |
PollLockPokeModem boolean \s-1false\s+1 check on modem every time the lock is polled |
| 194 |
PollLockWait\(S2 integer \s-130\s+1 polling interval for lockfile presence/removal (secs) |
| 195 |
PollModemWait integer \s-130\s+1 polling interval when in ``modem wait'' state (secs) |
| 196 |
PollRcvdCmd string \s-1bin/pollrcvd\s+1 delivery script for facsimile received by polling |
| 197 |
PostScriptTimeout\(S1 integer \s-1300\s+1 timeout on \*(Ps interpreter runs (secs) |
| 198 |
PriorityScheduling boolean \s-1\fIsee below\fP\s+1 use available priority job scheduling mechanism |
| 199 |
PS2FaxCmd\(S1 string \s-1bin/ps2fax\s+1 \*(Ps \s-1RIP\s+1 command script |
| 200 |
QualifyCID obsolete \- See \s-1DynamicConfig\s+1 and \s-1RejectCall\s+1 for rejecting calls |
| 201 |
QualifyPWD string \- file of \s-1PWD\s+1 patterns for qualifying senders |
| 202 |
QualifyTSI string \- file of \s-1TSI\s+1 patterns for qualifying senders |
| 203 |
RecvDataFormat string \s-1adaptive\s+1 format for received facsimile data |
| 204 |
RecvFileMode octal \s-10600\s+1 protection mode to use for received facsimile files |
| 205 |
RejectCall boolean \s-1false\s+1 Reject the current call |
| 206 |
RingData string \- distinctive ring data call identifier |
| 207 |
RingExtended string \- extended ring message identifier |
| 208 |
RingFax string \- distinctive ring fax call identifier |
| 209 |
RingsBeforeAnswer integer \s-10\s+1 rings to wait before answering phone |
| 210 |
RingTimeout integer \s-16000\s+1 timeout in ms after RING before reset |
| 211 |
RingVoice string \- distinctive ring voice call identifier |
| 212 |
RTNHandlingMethod string \s-1Retransmit-Ignore\s+1 RTN signal handling method |
| 213 |
SaveUnconfirmedPages boolean \s-1true\s+1 save or delete unconfirmed pages |
| 214 |
SendFaxCmd\(S1 string \s-1bin/faxsend\s+1 fax transmit command script |
| 215 |
SendPageCmd\(S1 string \s-1bin/pagesend\s+1 pager transmit command script |
| 216 |
SendUUCPCmd\(S1 string \s-1bin/uucpsend\s+1 \s-1UUCP\s+1 transmit command script |
| 217 |
ServerTracing\(S2 integer \s-11\s+1 non-session server tracing |
| 218 |
SessionTracing\(S2 integer \s-11\s+1 send and receive session tracing |
| 219 |
SpeakerVolume string \s-1Quiet\s+1 volume level for modem speaker |
| 220 |
TagLineCoverNumString string \- String substition when not counting cover pages |
| 221 |
TagLineFont string \- tag line font filename |
| 222 |
TagLineFormat string \s-1\fIsee below\fP\s+1 tag line format string |
| 223 |
TIFF2FaxCmd\(S1 string \s-1bin/tiff2fax\s+1 \s-1TIFF\s+1 converter command script |
| 224 |
TimeOfDay\(S1 string \s-1Any\s+1 default time-of-day restrictions |
| 225 |
Use2D\(S1 boolean \s-1Yes\s+1 restrict/permit use of 2D-encoded fax data |
| 226 |
UseJobTSI boolean \s-1No\s+1 use job-specified TSI instead of \s-1LocalIdentifier\s+1 |
| 227 |
UseJobTagLine boolean \s-1Yes\s+1 Allow use of job-specified Tagline instead of \s-1TagLineFormat\s+1 |
| 228 |
UUCPLockMode\(S2 octal \s-10600\s+1 protection mode for \s-1UUCP\s+1 lock files |
| 229 |
UUCPLockDir\(S2 string \s-1\fIsee below\fP\s+1 \s-1UUCP\s+1 lockfile directory |
| 230 |
UUCPLockTimeout\(S2 integer \s-130\s+1 time before removing stale \s-1UUCP\s+1 lockfile |
| 231 |
UUCPLockType\(S2 string \s-1\fIsee below\fP\s+1 \s-1UUCP\s+1 lockfile type |
| 232 |
VGettyArgs string \- arguments passed to voice getty program |
| 233 |
WedgedCmd\(S1 string \s-1bin/wedged\s+1 command to run when modem is wedged |
| 234 |
.sp .5 |
| 235 |
ModemAnswerCmd string \s-1ATA\s+1 command for answering phone |
| 236 |
ModemAnswerDataBeginCmd string \- command for start of answered data call |
| 237 |
ModemAnswerDataCmd string \s-1ATA\s+1 command for answering data call |
| 238 |
ModemAnswerDialCmd string \s-1ATA\s+1 command for answering data call |
| 239 |
ModemAnswerFaxBeginCmd string \- command for start of answered fax call |
| 240 |
ModemAnswerFaxCmd string \s-1ATA\s+1 command for answering fax call |
| 241 |
ModemAnswerResponseTimeout integer \s-1180000\s+1 answer command timeout (ms) |
| 242 |
ModemAnswerVoiceBeginCmd string \- command for start of answered voice call |
| 243 |
ModemAnswerVoiceCmd string \s-1ATA\s+1 command for answering voice call |
| 244 |
ModemATCmdDelay integer \s-10\s+1 delay before sending modem an AT cmd (ms) |
| 245 |
ModemBaudRateDelay integer \s-110\s+1 delay (ms) after setting baud rate |
| 246 |
ModemClassQueryCmd string \s-1AT+FCLASS=?\s+1 command for querying modem services |
| 247 |
ModemCommaPauseTimeCmd string \s-1ATS8=2\s+1 command for setting time to pause for ``,'' in dialing string |
| 248 |
ModemDialCmd string \s-1ATDT%s\s+1 command for dialing (%s for number to dial) |
| 249 |
ModemDialResponseTimeout integer \s-1180000\s+1 dialing command timeout (ms) |
| 250 |
ModemDoPhaseCDebug boolean \s-1No\s+1 query modem responses during Phase C transmit |
| 251 |
ModemDTRDropDelay integer \s-175\s+1 delay (ms) between DTR OFF and DTR ON |
| 252 |
ModemEchoOffCmd string \s-1ATE0\s+1 command for disabling command echo |
| 253 |
ModemFlowControl string \s-1XONXOFF\s+1 \s-1DTE-DCE\s+1 flow control scheme |
| 254 |
ModemFrameFillOrder string \s-1LSB2MSB\s+1 bit order for \s-1HDLC\s+1 frames |
| 255 |
ModemHardFlowCmd string \- command for setting hardware flow control between \s-1DTE\s+1 and \s-1DCE\s+1 |
| 256 |
ModemMinSpeed string \s-12400\s+1 minimum acceptable transmit speed |
| 257 |
ModemMfrQueryCmd string \- command for querying modem manufacturer |
| 258 |
ModemModelQueryCmd string \- command for querying modem model |
| 259 |
ModemNoAutoAnswerCmd string \s-1ATS0=0\s+1 command for disabling auto-answer |
| 260 |
ModemNoAutoAnswerCmdDelay integer \s-10\s+1 time, in ms, to pause after a disabling auto-answer |
| 261 |
ModemNoFlowCmd string \- command for disabling hardware flow control between \s-1DTE\s+1 and \s-1DCE\s+1 |
| 262 |
ModemOnHookCmd string \s-1ATH0\s+1 command for placing phone ``on hook'' |
| 263 |
ModemPageDoneTimeout integer \s-1180000\s+1 page send/receive timeout (ms) |
| 264 |
ModemPageStartTimeout integer \s-1180000\s+1 page send/receive timeout (ms) |
| 265 |
ModemRaiseATCommands boolean \s-1Yes\s+1 raise AT commands in configuration to upper-case |
| 266 |
ModemRate integer \s-119200\s+1 baud rate to use for \s-1DCE-DTE\s+1 communication |
| 267 |
ModemReadyCmds string \- additional final commands when resetting modem |
| 268 |
ModemRecvFillOrder string \s-1\fIsee below\fP\s+1 bit order for received facsimile data |
| 269 |
ModemRecvSuccessCmd string \- command to send after a successful reception |
| 270 |
ModemResetCmds string \- additional commands when resetting modem |
| 271 |
ModemResetDelay integer \s-12600\s+1 delay (ms) after placing DTR ON |
| 272 |
ModemResultCodesCmd string \s-1ATQ0\s+1 command for enabling result codes |
| 273 |
ModemRevQueryCmd string \s-1\fIsee below\fP\s+1 command for querying modem firmware revision |
| 274 |
ModemSendBeginCmd string \- command to send on establishing carrier |
| 275 |
ModemSendFillOrder string \s-1LSB2MSB\s+1 bit order for sending facsimile data |
| 276 |
ModemSetVolumeCmd string \s-1\fIsee below\fP\s+1 commands for setting modem speaker volume level |
| 277 |
ModemSetupAACmd string \- command for setting up adaptive answer |
| 278 |
ModemSetupDCDCmd string \- command for setting up \s-1DCD\s+1 handling |
| 279 |
ModemSetupDTRCmd string \- command for setting up \s-1DTR\s+1 handling |
| 280 |
ModemSoftFlowCmd string \- command for setting software flow control between \s-1DTE\s+1 and \s-1DCE\s+1 |
| 281 |
ModemSoftResetCmd string \s-1ATZ\s+1 command for doing a soft reset |
| 282 |
ModemSoftResetCmdDelay integer \s-13000\s+1 time, in ms, to pause after a soft reset |
| 283 |
ModemSoftRTFCC boolean \s-1Yes\s+1 enable software-driven real-time fax compression conversion |
| 284 |
ModemType string \s-1\fIsee below\fP\s+1 modem type |
| 285 |
ModemVerboseResultsCmd string \s-1ATV1\s+1 command for enabling verbose result codes |
| 286 |
ModemWaitForConnect boolean \s-1No\s+1 force server to wait for ``\s-1CONNECT\s+1'' response on answer |
| 287 |
ModemWaitTimeCmd string \s-1ATS7=60\s+1 command for setting time to wait for carrier when dialing |
| 288 |
.sp .5 |
| 289 |
FaxT1Timer integer \s-135000\s+1 \s-1CCITT T.30 T1\s+1 timer (ms) |
| 290 |
FaxT2Timer integer \s-17000\s+1 \s-1CCITT T.30 T2\s+1 timer (ms) |
| 291 |
FaxT4Timer integer \s-13100\s+1 \s-1CCITT T.30 T4\s+1 timer (ms) |
| 292 |
.sp .5 |
| 293 |
Class0Cmd string \s-1AT+FCLASS=0\s+1 Class 0: command to enter class 0 |
| 294 |
.sp .5 |
| 295 |
Class1Cmd string \s-1AT+FCLASS=1\s+1 Class 1: command to enter class 1 |
| 296 |
Class1Cmd string \s-1AT+FCLASS=1.0\s+1 Class 1.0: command to enter class 1 |
| 297 |
Class1AdaptRecvCmd string \- Class 1/1.0: command for adaptive reception support |
| 298 |
Class1ColorJPEGSupport boolean \s-1No\s+1 Class 1/1.0: to enable color JPEG fax support |
| 299 |
Class1EnableV34Cmd string \- Class 1/1.0: command to enable V.34-fax support |
| 300 |
Class1ECMSupport boolean \s-1Yes\s+1 Class 1/1.0: enable T.30-A ECM support |
| 301 |
Class1PersistentECM boolean \s-1Yes\s+1 Class 1/1.0: to continue to correct while in ECM |
| 302 |
Class1ECMFrameSize integer \s-1256\s+1 Class 1/1.0: image frame size in ECM protocol |
| 303 |
Class1ExtendedRes boolean \- Class 1/1.0: enable extended resolution support |
| 304 |
Class1HasRHConnectBug boolean \s-1No\s+1 Class 1/1.0: modem can report CONNECT incorrectly |
| 305 |
Class1HFLOCmd string \- Class 1/1.0: command to set hardware flow control |
| 306 |
Class1FrameOverhead integer \s-14\s+1 Class 1/1.0: extra bytes in a received \s-1HDLC\s+1 frame |
| 307 |
Class1GreyJPEGSupport boolean \s-1No\s+1 Class 1/1.0: to enable grey JPEG fax support |
| 308 |
Class1HookSensitivity integer \s-10\s+1 Class 1/1.0: times to ignore on-hook detection |
| 309 |
Class1JBIGSupport string \s-1\fIsee below\fP\s+1 Class 1/1.0: to enable monochrome JBIG fax support |
| 310 |
Class1MRSupport boolean \s-1Yes\s+1 Class 1/1.0: enable 2-D MR support |
| 311 |
Class1MMRSupport boolean \s-1Yes\s+1 Class 1/1.0: enable 2-D MMR support |
| 312 |
Class1NFLOCmd string \- Class 1/1.0: command to set no flow control |
| 313 |
Class1PageLengthSupport integer \s-17\s+1 Class 1/1.0: coded value for modem page length support |
| 314 |
Class1PageWidthSupport integer \s-17\s+1 Class 1/1.0: coded value for modem page width support |
| 315 |
Class1RecvAbortOK integer \s-1200\s+1 Class 1/1.0: max wait (ms) for ``\s-1OK\s+1'' after recv abort |
| 316 |
Class1RecvIdentTimer integer \s-140000\s+1 Class 1/1.0: max wait (ms) for initial ident frame |
| 317 |
Class1RMPersistence integer \s-12\s+1 Class 1/1.0: times to attempt high-speed carrier recv |
| 318 |
Class1SFLOCmd string \- Class 1/1.0: command to set software flow control |
| 319 |
Class1PPMWaitCmd string \s-1AT+FTS=7\s+1 Class 1/1.0: command to stop and wait before PPM |
| 320 |
Class1ResponseWaitCmd string \- Class 1/1.0: command to wait before TCF response |
| 321 |
Class1Resolutions integer \s-10x7F\s+1 Class 1/1.0: bitmap of supported resolutions |
| 322 |
Class1RMQueryCmd string \s-1AT+FRM=?\s+1 Class 1/1.0: command to query modem data reception rates |
| 323 |
Class1TCFWaitCmd string \s-1AT+FTS=7\s+1 Class 1/1.0: command to stop and wait before TCF |
| 324 |
Class1TMQueryCmd string \s-1AT+FTM=?\s+1 Class 1/1.0: command to query modem data transmission rates |
| 325 |
Class1EOPWaitCmd string \s-1AT+FTS=9\s+1 Class 1/1.0: command to stop and wait before EOP |
| 326 |
Class1ModemHasDLEBug boolean \s-1No\s+1 Class 1/1.0: modem fails to double DLE in V.21 |
| 327 |
Class1MsgRecvHackCmd string \s-1""\s+1 Class 1/1.0: command to avoid +FCERROR before image data |
| 328 |
Class1TCFRecvHackCmd string \s-1""\s+1 Class 1/1.0: command to avoid +FCERROR before TCF |
| 329 |
Class1TCFMaxNonZero integer \s-110\s+1 Class 1/1.0: max% of non-zero data in good \s-1TCF\s+1 |
| 330 |
Class1TCFMinRun integer \s-11000\s+1 Class 1/1.0: minimum zero run in good \s-1TCF\s+1 |
| 331 |
Class1TCFMinRunECMMod integer \s-12\s+1 Class 1/1.0: modify minimum zero run in ECM by this factor |
| 332 |
Class1TCFRecvTimeout integer \s-14500\s+1 Class 1/1.0: max wait (ms) for \s-1TCF\s+1 |
| 333 |
Class1TMConnectDelay integer \s-10\s+1 Class 1/1.0: delay between +FTM CONNECT and data transmission |
| 334 |
Class1SwitchingCmd string \s-1AT+FRS=7\s+1 Class 1/1.0: command to ensure silence after HDLC reception |
| 335 |
Class1ValidateV21Frames boolean \s-1No\s+1 Class 1/1.0: check FCS against received frames |
| 336 |
.sp .5 |
| 337 |
Class2Cmd string \s-1AT+FCLASS=2\s+1 Class 2: command to enter class 2/2.0 |
| 338 |
Class2AbortCmd string \s-1AT+FK\s+1 Class 2: command to abort active session |
| 339 |
Class2APCmd string \s-1AT+FAP\s+1 Class 2: enable support for sending and receiving SUB, SEP, and PWD frames |
| 340 |
Class2APQueryCmd string \s-1AT+FAP=?\s+1 Class 2: query capabilities for sending and receiving SUB, SEP, and PWD frames |
| 341 |
Class2BORCmd string \s-1AT+FBOR=0\s+1 Class 2: command to setup bit order |
| 342 |
Class2BUGCmd string \s-1AT+FBUG=1\s+1 Class 2: command to enable \s-1HDLC\s+1 frame tracing |
| 343 |
Class2CIGCmd string \s-1AT+FCIG\s+1 Class 2: command to set polling identifier |
| 344 |
Class2CRCmd string \s-1AT+FCR=1\s+1 Class 2: command to enable receive capability |
| 345 |
Class2CQCmd string \- Class 2: command to setup copy quality parameters |
| 346 |
Class2CQQueryCmd string \s-1AT+FCQ=?\s+1 Class 2: command to query modem copy quality capabilities |
| 347 |
Class2DCCCmd string \s-1AT+FDCC\s+1 Class 2: command to set modem capabilities |
| 348 |
Class2DCCQueryCmd string \s-1AT+FDCC=?\s+1 Class 2: command to query modem capabilities |
| 349 |
Class2DisableV17Cmd string \- Class 2: command to disable V.17 support |
| 350 |
Class2DISCmd string \s-1AT+FDIS\s+1 Class 2: command to set session parameters |
| 351 |
Class2DDISCmd string \- Class 2: command to set session parameters before dialing |
| 352 |
Class2ECMType string \s-1``2''\s+1 Class 2: ECM specification type to follow |
| 353 |
Class2HexNSF boolean \s-1Yes\s+1 Class 2: parse NSF strings as hex values |
| 354 |
Class2HFLOCmd string \- Class 2: command to set hardware flow control |
| 355 |
Class2JPEGSupport boolean \s-1No\s+1 Class 2: use modem JPEG support |
| 356 |
Class2LIDCmd string \s-1AT+FLID\s+1 Class 2: command to set local identifier string |
| 357 |
Class2MINSPCmd string \s-1AT+FMINSP\s+1 Class 2: command to set minimum transmit speed |
| 358 |
Class2NFLOCmd string \- Class 2: command to set no flow control |
| 359 |
Class2PACmd string \s-1AT+FPA\s+1 Class 2: set polling address string |
| 360 |
Class2PHCTOCmd string \s-1AT+FPHCTO=30\s+1 Class 2: command to set Phase C timeout parameter |
| 361 |
Class2PTSCmd string \s-1AT+FPTS\s+1 Class 2: command to set received page status |
| 362 |
Class2PWCmd string \s-1AT+FPW\s+1 Class 2: set password string |
| 363 |
Class2RecvDataTrigger string \s-1``\e21''\s+1 Class 2: character to send to trigger recv |
| 364 |
Class2RELCmd string \- Class 2: command to enable byte-aligned \s-1EOL\s+1 codes |
| 365 |
Class2SACmd string \s-1AT+FSA\s+1 Class 2: set destination subaddress string |
| 366 |
Class2SendRTC boolean \s-1No\s+1 Class 2: append \s-1RTC\s+1 to page data on transmit |
| 367 |
Class2SFLOCmd string \- Class 2: command to set software flow control |
| 368 |
Class2SPLCmd string \s-1AT+FSPL\s+1 Class 2: command to set polling request |
| 369 |
Class2TBCCmd string \s-1AT+FTBC=0\s+1 Class 2: command to enable stream mode |
| 370 |
Class2UseLineCount boolean \s-1No\s+1 Class 2: use the line count from the firmware decoder |
| 371 |
Class2UseHex boolean \s-1No\s+1 Class 2: parse capabilities strings as hex values |
| 372 |
Class2XmitWaitForXON boolean \s-1Yes\s+1 Class 2: wait for \s-1XON\s+1 before sending facsimile data |
| 373 |
.sp .5 |
| 374 |
Class2Cmd string \s-1AT+FCLASS=2.0\s+1 Class 2.0: command to enter class 2/2.0 |
| 375 |
Class2AbortCmd string \s-1AT+FKS\s+1 Class 2.0: command to abort active session |
| 376 |
Class2APCmd string \s-1AT+FAP\s+1 Class 2.0: enable support for sending and receiving SUB, SEP, and PWD frames |
| 377 |
Class2APQueryCmd string \s-1AT+FAP=?\s+1 Class 2.0: query capabilities for sending and receiving SUB, SEP, and PWD frames |
| 378 |
Class2BORCmd string \s-1AT+FBO=0\s+1 Class 2.0: command to setup bit order |
| 379 |
Class2BUGCmd string \s-1AT+FBU=1\s+1 Class 2.0: command to enable \s-1HDLC\s+1 frame tracing |
| 380 |
Class2CIGCmd string \s-1AT+FPI\s+1 Class 2.0: command to set polling identifier |
| 381 |
Class2CRCmd string \s-1AT+FCR=1\s+1 Class 2.0: command to enable receive capability |
| 382 |
Class2CQCmd string \- Class 2.0: command to setup copy quality parameters |
| 383 |
Class2CQQueryCmd string \s-1AT+FCQ=?\s+1 Class 2.0: command to query modem copy quality capabilities |
| 384 |
Class2DCCCmd string \s-1AT+FCC\s+1 Class 2.0: command to set modem capabilities |
| 385 |
Class2DCCQueryCmd string \s-1AT+FCC=?\s+1 Class 2.0: command to query modem capabilities |
| 386 |
Class2DisableV17Cmd string \- Class 2.0: command to disable V.17 support |
| 387 |
Class2DISCmd string \s-1AT+FIS\s+1 Class 2.0: command to set session parameters |
| 388 |
Class2ECMType string \s-1``2.0''\s+1 Class 2.0: ECM specification type to follow |
| 389 |
Class2HexNSF boolean \s-1Yes\s+1 Class 2.0: parse NSF strings as hex values |
| 390 |
Class2HFLOCmd string \s-1AT+FLO=2\s+1 Class 2.0: command to set hardware flow control |
| 391 |
Class2JPEGSupport boolean \s-1No\s+1 Class 2.0: use modem JPEG support |
| 392 |
Class2LIDCmd string \s-1AT+FLI\s+1 Class 2.0: command to set local identifier string |
| 393 |
Class2MINSPCmd string \s-1AT+FMS\s+1 Class 2.0: command to set minimum transmit speed |
| 394 |
Class2NFLOCmd string \s-1AT+FLO=0\s+1 Class 2.0: command to set no flow control |
| 395 |
Class2NRCmd string \s-1AT+FNR=1,1,1,1\s+1 Class 2.0: command to set negotiation message reporting |
| 396 |
Class2PACmd string \s-1AT+FPA\s+1 Class 2.0: set polling address string |
| 397 |
Class2PHCTOCmd string \s-1AT+FCT=30\s+1 Class 2.0: command to set Phase C timeout parameter |
| 398 |
Class2PIECmd string \s-1AT+FIE=0\s+1 Class 2.0: command to set procedure interrupt handling |
| 399 |
Class2PWCmd string \s-1AT+FPW\s+1 Class 2.0: set password string |
| 400 |
Class2PTSCmd string \s-1AT+FPS\s+1 Class 2.0: command to set received page status |
| 401 |
Class2PTSQueryCmd string \s-1AT+FPS?\s+1 Class 2.0: command to query received page status |
| 402 |
Class2RecvDataTrigger string \s-1``\e22''\s+1 Class 2.0: character to send to trigger recv |
| 403 |
Class2RELCmd string \- Class 2.0: command to enable byte-aligned \s-1EOL\s+1 codes |
| 404 |
Class2RTFCC boolean \s-1No\s+1 Class 2.0: enable real-time fax compression conversion |
| 405 |
Class2SACmd string \s-1AT+FSA\s+1 Class 2.0: set destination subaddress string |
| 406 |
Class2SendRTC boolean \s-1No\s+1 Class 2.0: append \s-1RTC\s+1 to page data on transmit |
| 407 |
Class2SFLOCmd string \s-1AT+FLO=1\s+1 Class 2.0: command to set software flow control |
| 408 |
Class2SPLCmd string \s-1AT+FSP\s+1 Class 2.0: command to set polling request |
| 409 |
Class2TBCCmd string \s-1AT+FPP=0\s+1 Class 2.0: command to enable stream mode |
| 410 |
Class2UseLineCount boolean \s-1No\s+1 Class 2.0: use the line count from the firmware decoder |
| 411 |
Class2UseHex boolean \s-1No\s+1 Class 2.0: parse capabilities strings as hex values |
| 412 |
.sp .5 |
| 413 |
PagerSetupCmds string \- commands for setting up modem for a pager call |
| 414 |
PagerMaxMsgLength integer \s-1128\s+1 max length of a text message |
| 415 |
.sp .5 |
| 416 |
IXOService string \s-1``PG''\s+1 IXO: service identification string |
| 417 |
IXODeviceID string \s-1``1''\s+1 IXO: device identification string |
| 418 |
IXOMaxUnknown integer \s-13\s+1 IXO and UCP: max unknown responses before abort |
| 419 |
IXOIDProbe integer \s-12\s+1 IXO: time between sending \er during ID sequence (secs) |
| 420 |
IXOIDTimeout integer \s-120\s+1 IXO: max time to wait for ID= response (secs) |
| 421 |
IXOLoginRetries integer \s-13\s+1 IXO: max attempts to login |
| 422 |
IXOLoginTimeout integer \s-115\s+1 IXO: max time to complete login (secs) |
| 423 |
IXOGATimeout integer \s-130\s+1 IXO: max time to wait for Go-Ahead response (secs) |
| 424 |
IXOXmitRetries integer \s-13\s+1 IXO and UCP: max retries to send text msg block |
| 425 |
IXOXmitTimeout integer \s-115\s+1 IXO and UCP: max time to transmit text msg block |
| 426 |
IXOAckTimeout integer \s-130\s+1 IXO: max time to wait for msg block ack (secs) |
| 427 |
.fi |
| 428 |
.SH "SERVER-ORIENTED CONFIGURATION PARAMETERS" |
| 429 |
.PP |
| 430 |
These configuration parameters affect the general |
| 431 |
operation of the fax server. |
| 432 |
.TP |
| 433 |
.B AdaptiveAnswer |
| 434 |
Control whether or not an adaptive answering |
| 435 |
strategy is used whereby an incoming call is |
| 436 |
answered in multiple ways according to the list specified in the |
| 437 |
.B AnswerRotary |
| 438 |
parameter. |
| 439 |
For example, if adaptive answering is enabled and |
| 440 |
.B AnswerRotary |
| 441 |
specifies ``fax data'', then an incoming call will |
| 442 |
first be answered as fax using |
| 443 |
.B ModemAnswerFaxCmd |
| 444 |
and then, if that fails, as data using |
| 445 |
.BR ModemAnswerDataCmd . |
| 446 |
If the adaptive answer strategy is not enabled, then calls |
| 447 |
are answered using the appropriate |
| 448 |
.B ModemAnswer*Cmd |
| 449 |
parameter (normally |
| 450 |
.B ModemAnswerCmd |
| 451 |
for unattended operation). |
| 452 |
Note that the adaptive answer strategy depends on many factors |
| 453 |
that limit its usefulness. |
| 454 |
When calls are answered first as fax, |
| 455 |
it typically only works with a Class 1 modem because it is |
| 456 |
important that the sequence of operations related to answering |
| 457 |
as fax be completed in a short enough time that a subsequent |
| 458 |
answer for data be done before the caller times out and hangs |
| 459 |
up the telephone |
| 460 |
(for this reason |
| 461 |
.B Class1RecvIdentTimer |
| 462 |
should be set to a value that is shorter than |
| 463 |
.BR FaxT1Timer .) |
| 464 |
Also, note that it is sometimes necessary to arrange that the phone be |
| 465 |
placed on-hook between successive answers; this can typically be |
| 466 |
done by inserting the appropriate command at the start of the |
| 467 |
second and subsequent |
| 468 |
.BR ModemAnswer*Cmd s. |
| 469 |
.TP |
| 470 |
.B AdminGroup |
| 471 |
Tells PAM what user group is allowed to administer the fax server. |
| 472 |
Only useful if the server is compiled with PAM enabled. |
| 473 |
.TP |
| 474 |
.B AnswerRotary |
| 475 |
The sequence of answering techniques the server should |
| 476 |
``rotate through'' when answer incoming calls. |
| 477 |
Answering techniques are: |
| 478 |
.sp .5 |
| 479 |
.ta \w'\fBName\fP 'u |
| 480 |
.nf |
| 481 |
\fBName Description\fP |
| 482 |
fax answer a fax call |
| 483 |
data answer a data call |
| 484 |
voice answer a voice call |
| 485 |
extern use the \fIvgetty\fP application to answer a call |
| 486 |
any answer a call of any/unknown type |
| 487 |
.fi |
| 488 |
.sp .5 |
| 489 |
When a call is not answered successfully, the server |
| 490 |
advances the rotary to the next specified answering |
| 491 |
technique. |
| 492 |
If |
| 493 |
.B AdaptiveAnswer |
| 494 |
is enabled, the server will try all the answering techniques for |
| 495 |
each incoming call. |
| 496 |
Otherwise, the rotary is advanced |
| 497 |
.I between |
| 498 |
unsuccessful phone calls. |
| 499 |
For example, if |
| 500 |
.B AdaptiveAnswer |
| 501 |
is disabled and |
| 502 |
.B AnswerRotary |
| 503 |
is ``fax data'', |
| 504 |
then the calls will initially be answered as fax until |
| 505 |
the first call is received that does not appear to be |
| 506 |
from a fax machine; after that calls will be answered |
| 507 |
as if they were from a data modem until the next unsuccessful |
| 508 |
call; after which they will one again be answered as fax. |
| 509 |
Only the first three techniques listed are used; any additional |
| 510 |
ones are (silently) ignored. |
| 511 |
See also |
| 512 |
.BR AnswerBias . |
| 513 |
.TP |
| 514 |
.B AnswerBias |
| 515 |
The index into the |
| 516 |
.B AnswerRotary |
| 517 |
list that the server should rotate the list to after |
| 518 |
each successful incoming phone call. |
| 519 |
List indices are numbered starting at zero. |
| 520 |
For example, if |
| 521 |
.B AnswerRotary |
| 522 |
is ``fax data'' and |
| 523 |
.B AnswerBias |
| 524 |
is 1, then after each successful inbound call, the |
| 525 |
next call will be answered as data. |
| 526 |
.TP |
| 527 |
.B AreaCode\(S2 |
| 528 |
The local area code in which the facsimile modem resides. |
| 529 |
This value is passed to the dial string rules that are |
| 530 |
used, for example, |
| 531 |
to formulate canonical phone numbers for dialing (see |
| 532 |
.B DialStringRules |
| 533 |
below.) |
| 534 |
.TP |
| 535 |
.B AuditHook\(S1 |
| 536 |
Specifies a program command and an interest specification indicating which events as |
| 537 |
described in |
| 538 |
.IR faxwatch (${MANNUM1_8}) |
| 539 |
should trigger the execution of the program. For example, this configuration: |
| 540 |
.nf |
| 541 |
|
| 542 |
AuditHook: "bin/hook: J*S*M*R*" |
| 543 |
|
| 544 |
.fi |
| 545 |
would cause bin/hook to be executed upon every event. The arguments passed to the |
| 546 |
hook program are respectively |
| 547 |
.IR <class> , |
| 548 |
.IR <mask> , |
| 549 |
.IR <id> , |
| 550 |
and optionally |
| 551 |
.IR [info] |
| 552 |
where... |
| 553 |
.nf |
| 554 |
|
| 555 |
<class> = JOB | SEND | MODEM | RECV |
| 556 |
<mask> = the specific event |
| 557 |
<id> = id of the job/modem with which the event is associated |
| 558 |
[info] = additional information |
| 559 |
|
| 560 |
.fi |
| 561 |
.TP |
| 562 |
.B BadPageHandlingMethod |
| 563 |
(Class 1/1.0 only) Specifies how to react to a bad page received from the remote sender: |
| 564 |
one of ``\s-1RTN\s+1'', ``\s-1DCN\s+1'', or ``\s-1RTN-SAVE\s+1''. |
| 565 |
|
| 566 |
If a page is received in non-ECM mode with unacceptable quality |
| 567 |
according to |
| 568 |
.BR PercentGoodLines |
| 569 |
or |
| 570 |
.BR MaxConseutiveBadLines |
| 571 |
then it can be somewhat difficult to inform the sender of the problem. |
| 572 |
Historically, \*(Fx has assumed that signalling RTN to the sender will |
| 573 |
accomplish this. However, some senders are incapable of retransmitting |
| 574 |
pages, and to reduce burden they treat an RTN signal as a receipt |
| 575 |
confirmation and proceed to the next page without notifying the sending |
| 576 |
user of the potential problem in readability on the receive-end. (The |
| 577 |
assumption there being that the receiving user will notify the sending |
| 578 |
user if there actually is a readability problem.) |
| 579 |
|
| 580 |
A setting of ``\s-1RTN\s+1'' is the historic behavior and assumes that |
| 581 |
an RTN signal will be enough to get the sender to retransmit or be |
| 582 |
otherwise informed of a potential readability problem on the receive-end. |
| 583 |
The previously-received page data is marked to be overwritten by the next page |
| 584 |
data received from the sender. |
| 585 |
|
| 586 |
A setting of ``\s-1DCN\s+1'' tells \*(Fx to transmit a DCN signal in |
| 587 |
response to the post-page message and should trigger a call abortion by |
| 588 |
the sender. This should clearly indicate a problem in page readability |
| 589 |
to the sender, although the receipt of any following pages in a later |
| 590 |
call cannot be guaranteed. |
| 591 |
|
| 592 |
A setting of ``\s-1RTN-SAVE\s+1'' more closely approximates the behavior |
| 593 |
of other fax receivers (especially fax machines). It causes \*(Fx to |
| 594 |
send the RTN signal but it saves the previously received page data and places |
| 595 |
the next transmitted page data in another page. This is the default |
| 596 |
setting. However, this could result in multiple copies of the same page |
| 597 |
image being saved in the same file - if the sender does indeed retransmit |
| 598 |
the unacceptable pages during the same call. |
| 599 |
.TP |
| 600 |
.B BatchLogs\(S1 |
| 601 |
When sending or receiving multiple documents (denoted by EOM), this |
| 602 |
value determines if the session logs span the entire batch or, if set |
| 603 |
to no, only contain a single document. |
| 604 |
.TP |
| 605 |
.B CallIDPattern |
| 606 |
A string that identifies the caller's identity in any call |
| 607 |
identification messages provided by the modem (such as Caller*ID or DNIS/DID). |
| 608 |
The specified string is compared against any |
| 609 |
unrecognized status messages received from the modem before |
| 610 |
.B ModemAnswerCmd |
| 611 |
is sent to the modem. |
| 612 |
If there is a match, then the remainder |
| 613 |
of the message is returned as |
| 614 |
.B CallIDn |
| 615 |
where n corresponds to the n'th instance that this |
| 616 |
.B CallIDPattern |
| 617 |
is from the top in the modem configuration file. |
| 618 |
For example, for the ZyXEL U-1496 this parameter would be set to |
| 619 |
.nf |
| 620 |
\s-1CallIDPattern: ``CALLER NAME: ''\s+1 (note the trailing space). |
| 621 |
.fi |
| 622 |
If more than one message matches between instances of "RING" messages, then the message remainders are |
| 623 |
concatenated. |
| 624 |
|
| 625 |
The special |
| 626 |
.B CallID |
| 627 |
value of "SHIELDED_DTMF" is used in conjunction with |
| 628 |
.B ModemRingResponse |
| 629 |
and |
| 630 |
.B CallIDAnswerLength. |
| 631 |
After executing |
| 632 |
.B ModemRingResponse, |
| 633 |
HylaFAX will expect |
| 634 |
DTMF data (usually DLE-shielded) for |
| 635 |
.B CallIDn |
| 636 |
until |
| 637 |
.B CallIDAnswerLength |
| 638 |
is reached. Note that if the modem is in voice mode to hear these |
| 639 |
DTMF digits, then it must be returned to fax mode in the |
| 640 |
.B ModemAnswerCmd. |
| 641 |
In order to prevent this feature from losing incoming fax calls, if |
| 642 |
fax sender CNG is detected while waiting for DTMF or if ten seconds |
| 643 |
elapse without sufficient DTMF then the remaining expected digits |
| 644 |
will be populated by whitespace, triggering fax answering. |
| 645 |
|
| 646 |
For example, the following settings will cause HylaFAX to enter |
| 647 |
voice mode and go off-hook when a RING is detected. It will then |
| 648 |
expect four DTMF digits (presumably for routing), and then it will |
| 649 |
pause for 100 ms before returning to fax mode and answering the call. |
| 650 |
.nf |
| 651 |
|
| 652 |
ModemRingResponse: AT+FCLASS=8;H1 |
| 653 |
CallIDPattern: SHIELDED_DTMF |
| 654 |
CallIDAnswerLength: 4 |
| 655 |
ModemAnswerCmd: <delay:100>AT+FCLASS=1;A |
| 656 |
|
| 657 |
.fi |
| 658 |
For modems that do not support AT+FCLASS=8 (such as some USR modems) this |
| 659 |
may be an appropriate equivalent: |
| 660 |
.nf |
| 661 |
|
| 662 |
ModemRingResponse: "AT#CLS=8\\nAT#VLS=4\\nATA" |
| 663 |
CallIDPattern: SHIELDED_DTMF |
| 664 |
CallIDAnswerLength: 4 |
| 665 |
ModemAnswerCmd: "<delay:100>AT+FCLASS=1\\nATA" |
| 666 |
|
| 667 |
.fi |
| 668 |
Multiple entries of |
| 669 |
.B CallIDPattern |
| 670 |
are used together in one modem configuration file in order to capture multiple |
| 671 |
.B CallID |
| 672 |
responses. For example, the following settings would capture "NDID" responses |
| 673 |
from the modem as CallID1, "NMBR" responses from the modem as CallID2, "NAME" |
| 674 |
responses as CallID3, and it would trigger |
| 675 |
.B ModemAnswerCmd |
| 676 |
whenever CallID1 or CallID2 were longer than 7 or 10 characters, respectively. |
| 677 |
.nf |
| 678 |
|
| 679 |
CallIDPattern: "NDID=" |
| 680 |
CallIDAnswerLength: 7 |
| 681 |
CallIDPattern: "NMBR=" |
| 682 |
CallIDAnswerLength: 10 |
| 683 |
CallIDPattern: "NAME=" |
| 684 |
|
| 685 |
.fi |
| 686 |
Note that this example is only given as an example, and probably would cause unexpected |
| 687 |
results. Because pattern-matching ends when |
| 688 |
.B ModemAnswerCmd |
| 689 |
is sent to the modem, if "NDID", "NMBR", and "NAME" responses came from the modem in |
| 690 |
that order, and the "NDID" response was at least 7 characters long, then |
| 691 |
.B ModemAnswerCmd |
| 692 |
would be sent to the modem immediately following the "NDID" response, and the "NMBR" and |
| 693 |
"NAME" responses would be ignored. Generally only one |
| 694 |
.B CallIDAnswerLength |
| 695 |
item should be in a modem configuration file. |
| 696 |
.TP |
| 697 |
.B CallIDAnswerLength |
| 698 |
An integer indicating the minimum number of characters in a |
| 699 |
.B CallID |
| 700 |
matching the previous |
| 701 |
.B CallIDPattern |
| 702 |
to be received when |
| 703 |
.B ModemAnswerCmd |
| 704 |
is sent to the modem irrespective of any |
| 705 |
.B RingsBeforeAnswer |
| 706 |
value greater than zero. This allows the answering of calls |
| 707 |
which deliver CID/DID data but not RINGs. |
| 708 |
For example, |
| 709 |
.nf |
| 710 |
\s-1CallIDAnswerLength: ``7''\s+1 |
| 711 |
.fi |
| 712 |
would cause the call to be answered |
| 713 |
when |
| 714 |
.B CallID2 |
| 715 |
reached a length of seven digits. |
| 716 |
A value of zero for |
| 717 |
.B CallIDAnswerLength |
| 718 |
disables this feature. |
| 719 |
.TP |
| 720 |
.B ClocalAsRoot |
| 721 |
Control whether operations that set the |
| 722 |
.SM CLOCAL |
| 723 |
bit on the modem device special file are done with the effective |
| 724 |
user-ID set to the super-user or the ``fax'' user. |
| 725 |
By default such operations are done as the fax user, except under |
| 726 |
.SM IRIX |
| 727 |
where they are done as the super-user |
| 728 |
(because |
| 729 |
.SM IRIX |
| 730 |
disallows manipulation of |
| 731 |
.SM CLOCAL |
| 732 |
by anyone but the super-user). |
| 733 |
.TP |
| 734 |
.B ContCoverCmd\(S1 |
| 735 |
The command to invoke to generate a continuation cover page; see |
| 736 |
.B ContCoverPage |
| 737 |
and |
| 738 |
.IR mkcover (${MANNUM1_8}). |
| 739 |
.TP |
| 740 |
.B ContCoverPage\(S1 |
| 741 |
A template file to use in creating |
| 742 |
.IR "continuation cover pages" . |
| 743 |
If this parameter is non-null, then the server will pass the |
| 744 |
filename to the command specified by |
| 745 |
.B ContCoverCmd |
| 746 |
to generate cover pages for outbound jobs that are |
| 747 |
continued after protocol errors. |
| 748 |
These cover pages identify the receiver and indicate |
| 749 |
that the document is a continued transmission. |
| 750 |
If this parameter is not specified or is null, then the server |
| 751 |
will not generate continuation cover pages. |
| 752 |
The specified pathname must be relative to the top of the fax server's |
| 753 |
spooling area. |
| 754 |
.TP |
| 755 |
.B CountryCode\(S2 |
| 756 |
The local country code in which the facsimile modem resides. |
| 757 |
As for |
| 758 |
.BR AreaCode , |
| 759 |
this value is passed to the dial string rules for use in |
| 760 |
formulating canonical phone numbers for dialing (among |
| 761 |
other things.) |
| 762 |
.TP |
| 763 |
.B CountSkippedPages |
| 764 |
If a page range has been specified in the job, and pages are being skipped |
| 765 |
during the send, this controls if the pages skipped are counted in the pages |
| 766 |
counted and totaled. If skipped pages are to be counted, it will appear as if |
| 767 |
the pages were instantly sent in 0:00 with no data. The tagline counts will be |
| 768 |
incremented on skipped pages, and faxq will notify clients via triggers of them |
| 769 |
as well. If the are not to be counted, then tagline page counts will act as if |
| 770 |
the pages never existed, and not faxq trigger notifications will be sent. |
| 771 |
.TP |
| 772 |
.B DeviceMode |
| 773 |
The file protection mode that the server should set for the |
| 774 |
modem device file. |
| 775 |
Note that this value is given in octal. |
| 776 |
The default value of 0600 implies that only the |
| 777 |
facsimile user (usually |
| 778 |
.IR uucp ) |
| 779 |
can access the modem. |
| 780 |
See also |
| 781 |
.IR chmod (2). |
| 782 |
.TP |
| 783 |
.B DialStringRules\(S2 |
| 784 |
The pathname of the file that holds the rules for processing |
| 785 |
user-specified dial strings; c.f. |
| 786 |
.IR dialrules (${MANNUM4_5}). |
| 787 |
The specified pathname must be relative to the top of the fax server's |
| 788 |
spooling area; e.g. |
| 789 |
.BR etc/dialrules . |
| 790 |
.TP |
| 791 |
.B DistinctiveRings |
| 792 |
Modern distinctive ring support on most modems indicates the ring cadence |
| 793 |
rather than the older style of ``RING1'', ``RING2'', etc. To indicate |
| 794 |
the ring cadence, |
| 795 |
.B DRingOn |
| 796 |
and |
| 797 |
.B DRingOff |
| 798 |
values are presented by the modem to the |
| 799 |
.I faxgetty |
| 800 |
process. The modem indicates the entire cadence between ``RING'' indications |
| 801 |
Like this: |
| 802 |
.nf |
| 803 |
|
| 804 |
RING |
| 805 |
DROF=40 |
| 806 |
DRON=8 |
| 807 |
DROF=4 |
| 808 |
DRON=8 |
| 809 |
RING |
| 810 |
|
| 811 |
.fi |
| 812 |
The corresponding |
| 813 |
.B DistinctiveRings |
| 814 |
parameter for this ring cadence would be: |
| 815 |
.nf |
| 816 |
|
| 817 |
DistinctiveRings: F-8-4-8 |
| 818 |
|
| 819 |
.fi |
| 820 |
where ``F'' tells the |
| 821 |
.I faxgetty |
| 822 |
process that the ring cadence is for a facsimile (``V'' for voice |
| 823 |
and ``D'' for data), and the other values describe the ring cadence |
| 824 |
with leading and ending |
| 825 |
.B DRingOff |
| 826 |
values ignored. Multiple ring cadences are indicated by delimiting |
| 827 |
them with commas in this fashion: |
| 828 |
.nf |
| 829 |
|
| 830 |
DistinctiveRings: V-20,F-8-4-8,D-4-2-4-8 |
| 831 |
|
| 832 |
.fi |
| 833 |
.TP |
| 834 |
.B DRingOff |
| 835 |
A string that identifies the ``off'' value in any distinctive |
| 836 |
ring cadence, for example ``\s-1DROF=\s+1''. |
| 837 |
See also |
| 838 |
.B DRingOn |
| 839 |
and |
| 840 |
.BR DistinctiveRings . |
| 841 |
.TP |
| 842 |
.B DRingOn |
| 843 |
A string that identifies the ``on'' value in any distinctive |
| 844 |
ring cadence, for example ``\s-1DRON=\s+1''. |
| 845 |
See also |
| 846 |
.B DRingOff |
| 847 |
and |
| 848 |
.BR DistinctiveRings . |
| 849 |
.TP |
| 850 |
.B DynamicConfig |
| 851 |
The pathname of the optional program, e.g. ``etc/localid'', that |
| 852 |
makes dynamic configuration changes, i.e., to |
| 853 |
.B LocalIdentifier, |
| 854 |
based on device ID and call identification. The program is passed those |
| 855 |
values as the parameters ($1 = device id, $2 = CallID1, $3 = CallID2, $4 = CallID3, ...), |
| 856 |
when answering an incoming call. The program can then |
| 857 |
perform local processing as desired to send on standard output the |
| 858 |
configuration items to change in a ``parameter:value'' format, i.e. |
| 859 |
``LocalIdentifier: +1.800.555.1212''. If there are multiple parameters |
| 860 |
to be changed, then each item must be on its own line. |
| 861 |
This is commonly used to dynamically alter the local identification |
| 862 |
of systems which use DID/DNIS, but it can also be used to allow different |
| 863 |
modem configurations for different senders. This program can also set the |
| 864 |
.BR RejectCall |
| 865 |
options to cause the current call to be rejected instead of answered. |
| 866 |
Note that this file must be marked as executable by the faxgetty process. |
| 867 |
.TP |
| 868 |
.B EGettyArgs |
| 869 |
A string that indicates whether or not the server should use an |
| 870 |
an external getty application to deduce and possibly handle an incoming call. |
| 871 |
If the string value is not null, then it is interpreted |
| 872 |
as a set of arguments to pass to the getty program. |
| 873 |
Before supplying the arguments, the string is first scanned |
| 874 |
for ``%''-escape sequences: any appearance of ``%l'' is replaced |
| 875 |
with the tty name and any appearance of ``%s'' is replaced with |
| 876 |
the serial port speed (in decimal). |
| 877 |
Any appearance of escaped numbers 1 through 9 (``%1'' through ``%9'') are replaced |
| 878 |
by the match to the corresponding |
| 879 |
.BR CallIDPattern , |
| 880 |
if present. |
| 881 |
The ``%'' character can be specified with ``%%''. |
| 882 |
If the |
| 883 |
.B EGettyArgs |
| 884 |
parameter is not specified in the configuration file or if |
| 885 |
the string value is null, then ``extern'' connections will be rejected. |
| 886 |
Note that in addition to the specified command line arguments, the |
| 887 |
external getty |
| 888 |
program is invoked with its standard input, output, and error |
| 889 |
descriptors directed to the controlling tty device. |
| 890 |
|
| 891 |
When the external getty application completes, its exit status is evaluated |
| 892 |
and is interpreted to indicate what, if anything, should be done with the call. |
| 893 |
An exit status of ``0'' indicates an unknown call type and that the call should |
| 894 |
be handled as if the external getty program had not been used. An exit status |
| 895 |
of ``1'' indicates a data connection and that the |
| 896 |
.IR getty (${MANNUM1_8}) |
| 897 |
program should be used to handle the call (see |
| 898 |
.BR GettyArgs ) |
| 899 |
after being answered with |
| 900 |
.B ModemAnswerDataBeginCmd . |
| 901 |
An exit status of ``2'' indicates a fax connection that should be handled after |
| 902 |
being answered with |
| 903 |
.BR ModemAnswerFaxBeginCmd . |
| 904 |
An exit status of ``3'' indicates a voice call and that the |
| 905 |
.I vgetty |
| 906 |
program should be used to handle the call (see |
| 907 |
.BR VGettyArgs ) |
| 908 |
after being answered with |
| 909 |
BR ModemAnswerVoiceBeginCmd . |
| 910 |
An exit status of ``4'' is considered to be an error condition. The session |
| 911 |
will be terminated. An exit status of ``5'' is used to indicate that the |
| 912 |
external getty program handled the call entirely, is not an error condition, and |
| 913 |
that the session is to be considered terminated. |
| 914 |
.TP |
| 915 |
.B FAXNumber |
| 916 |
The phone number associated with the facsimile modem. |
| 917 |
This string is used to generate the |
| 918 |
Transmitter Subscriber Identification (\c |
| 919 |
.SM TSI\c |
| 920 |
) and Caller Subscriber Identification (\c |
| 921 |
.SM CSI\c |
| 922 |
) information passed to remote machines\(emunless the |
| 923 |
.B LocalIdentifier |
| 924 |
parameter is explicitly set. |
| 925 |
The |
| 926 |
.B FAXNumber |
| 927 |
is also used to name the session log file where information |
| 928 |
for incoming phone calls is recorded; see |
| 929 |
.IR hylafax-log (${MANNUM4_5}). |
| 930 |
If this phone number is not a fully qualified number |
| 931 |
the values of |
| 932 |
.B AreaCode |
| 933 |
and |
| 934 |
.B CountryCode |
| 935 |
are used to generate the transmitted |
| 936 |
.SM CSI |
| 937 |
and |
| 938 |
.SM TSI. |
| 939 |
.TP |
| 940 |
.B Include\(S2 |
| 941 |
Include the specified file and parse it as a config file |
| 942 |
.TP |
| 943 |
.B InternationalPrefix\(S2 |
| 944 |
The string to use to place an international phone call. |
| 945 |
In the United States, this is ``011''. |
| 946 |
This string is passed to the dial string rules. |
| 947 |
.TP |
| 948 |
.B JobControlCmd\(S1 |
| 949 |
The command to invoke to which provides Job Control information for a |
| 950 |
job. See |
| 951 |
.IR JobControl (${MANNUM1_8}). |
| 952 |
.TP |
| 953 |
.B JobReqBusy |
| 954 |
The delay in seconds to wait before retrying a job whose |
| 955 |
dialing attempt failed with a ``\s-1BUSY\s+1'' status result. |
| 956 |
.TP |
| 957 |
.B JobReqDataConn |
| 958 |
The delay in seconds to wait before retrying a facsimile job whose |
| 959 |
dialing attempt failed because a data modem answered the phone. |
| 960 |
.TP |
| 961 |
.B JobReqError |
| 962 |
The delay in seconds to wait before retrying a job whose |
| 963 |
dialing attempt failed with a ``\s-1ERROR\s+1'' status result. |
| 964 |
.TP |
| 965 |
.B JobReqNoAnswer |
| 966 |
The delay in seconds to wait before retrying a job whose |
| 967 |
dialing attempt failed with a ``\s-1NO ANSWER\s+1'' status result. |
| 968 |
.TP |
| 969 |
.B JobReqNoCarrier |
| 970 |
The delay in seconds to wait before retrying a job whose |
| 971 |
dialing attempt failed with a ``\s-1NO CARRIER\s+1'' status result. |
| 972 |
.TP |
| 973 |
.B JobReqNoFCon |
| 974 |
The delay in seconds to wait before retrying a facsimile job whose |
| 975 |
dialing attempt failed because the initial facsimile protocol |
| 976 |
handshake failed (i.e. no ``\s-1+FCON:\s+1'' result was received |
| 977 |
from a Class 2/2.0 modem). |
| 978 |
.TP |
| 979 |
.B JobReqOther\(S2 |
| 980 |
The delay in seconds to wait before retrying a job that |
| 981 |
failed for a reason not already covered by one of the |
| 982 |
.B JobReq* |
| 983 |
parameters. |
| 984 |
.TP |
| 985 |
.B JobReqProto |
| 986 |
The delay in seconds to wait before retrying a facsimile job that |
| 987 |
failed because of a fax protocol error. |
| 988 |
.TP |
| 989 |
.B JobRetryBusy |
| 990 |
The number of times to redial a phone number after receiving |
| 991 |
a ``\s-1BUSY\s+1'' result code when the number has not |
| 992 |
been successfully dialed before. |
| 993 |
.TP |
| 994 |
.B JobRetryDataConn |
| 995 |
The number of times to redial a phone number after the |
| 996 |
dialing attempt failed because a data modem answered the phone when |
| 997 |
the number has not been successfully dialed before. |
| 998 |
.TP |
| 999 |
.B JobRetryError |
| 1000 |
The number of times to redial a phone number after receiving |
| 1001 |
a ``\s-1ERROR\s+1'' result code when the number has not |
| 1002 |
been successfully dialed before. |
| 1003 |
.TP |
| 1004 |
.B JobRetryNoAnswer |
| 1005 |
The number of times to redial a phone number after the |
| 1006 |
dialing attempt failed because of NO ANSWER when |
| 1007 |
the number has not been successfully dialed before. |
| 1008 |
.TP |
| 1009 |
.B JobRetryNoCarrier |
| 1010 |
The number of times to redial a phone number after the |
| 1011 |
dialing attempt failed because of NO CARRIER when |
| 1012 |
the number has not been successfully dialed before. |
| 1013 |
In normal operation the fax server will treat this result code |
| 1014 |
to mean that a facsimile modem/machine did not answer the |
| 1015 |
phone and reject the transmit job. |
| 1016 |
This is done to avoid repeatedly dialing wrong phone numbers |
| 1017 |
and depends on the modem distinguishing between |
| 1018 |
no carrier and no answer. |
| 1019 |
However, some modems are not capable of reliably |
| 1020 |
distinguishing between no carrier and no answer, or when instructed |
| 1021 |
to do so do not identify a busy signal correctly. |
| 1022 |
For these modems one may find it necessary to increase the |
| 1023 |
value of this parameter to compensate. |
| 1024 |
It is strongly recommended, however, that this value |
| 1025 |
not be set to a large number. |
| 1026 |
.TP |
| 1027 |
.B JobRetryOther |
| 1028 |
The number of times to redial a phone number after the |
| 1029 |
dialing attempt failed for a reason not already covered |
| 1030 |
by one of the other JobRetry* parameters when |
| 1031 |
the number has not been successfully dialed before. |
| 1032 |
.TP |
| 1033 |
.B GettyArgs |
| 1034 |
A string that indicates whether or not the server should invoke |
| 1035 |
the |
| 1036 |
.IR getty (${MANNUM1_8}) |
| 1037 |
program in response to an incoming call from a data modem. |
| 1038 |
If the string value is not null, then it is interpreted |
| 1039 |
as a set of arguments to pass to the getty program. |
| 1040 |
Before supplying the arguments, the string is first scanned |
| 1041 |
for ``%''-escape sequences: any appearance of ``%l'' is replaced |
| 1042 |
with the tty name and any appearance of ``%s'' is replaced with |
| 1043 |
the serial port speed (in decimal). |
| 1044 |
Any appearance of escaped numbers 1 through 9 (``%1'' through ``%9'') are replaced |
| 1045 |
by the match to the corresponding |
| 1046 |
.BR CallIDPattern , |
| 1047 |
if present. |
| 1048 |
The ``%'' character can be specified with ``%%''. |
| 1049 |
If the |
| 1050 |
.B GettyArgs |
| 1051 |
parameter is not specified in the configuration file or if |
| 1052 |
the string value is null, then data connections will be rejected. |
| 1053 |
Note that in addition to the specified command line arguments, the |
| 1054 |
.I getty |
| 1055 |
program is invoked with its standard input, output, and error |
| 1056 |
descriptors directed to the controlling tty device. |
| 1057 |
.TP |
| 1058 |
.B LocalIdentifier |
| 1059 |
The local station identification string to use when transmitting |
| 1060 |
.SM TSI |
| 1061 |
and |
| 1062 |
.SM CSI |
| 1063 |
strings (see |
| 1064 |
.B FAXNumber |
| 1065 |
above). |
| 1066 |
NB: while this string may contain any printable |
| 1067 |
.SM ASCII |
| 1068 |
characters; beware that |
| 1069 |
.SM "CCITT T.30" |
| 1070 |
specifies a restricted character set and some fax modems and machines |
| 1071 |
may reject or not display non-conforming strings. |
| 1072 |
If the local identifier is not specified, a canonical form of the |
| 1073 |
.B FAXNumber |
| 1074 |
is used instead. |
| 1075 |
.TP |
| 1076 |
.B LockDataCalls |
| 1077 |
Hold the |
| 1078 |
.SM UUCP |
| 1079 |
lockfile during the time an inbound data call is processed by the |
| 1080 |
external getty program. |
| 1081 |
If this is disabled then the lockfile will be removed just before |
| 1082 |
the getty program is invoked. |
| 1083 |
Note however that doing this introduces a race condition whereby |
| 1084 |
an outbound program may sneak in and take control of the modem |
| 1085 |
after the inbound call has been accepted, but before the getty |
| 1086 |
program has started up and installed it's own lockfile. |
| 1087 |
.TP |
| 1088 |
.B LockVoiceCalls |
| 1089 |
Hold the |
| 1090 |
.SM UUCP |
| 1091 |
lockfile during the time an inbound data call is processed by the |
| 1092 |
external voice getty program. |
| 1093 |
If this is disabled then the lockfile will be removed just before |
| 1094 |
the voice getty program is invoked. |
| 1095 |
Note however that doing this introduces a race condition whereby |
| 1096 |
an outbound program may sneak in and take control of the modem |
| 1097 |
after the inbound call has been accepted, but before the voice getty |
| 1098 |
program has started up and installed it's own lockfile. |
| 1099 |
.TP |
| 1100 |
.B LogFacility\(S2 |
| 1101 |
The symbolic name for the |
| 1102 |
.IR syslog (3) |
| 1103 |
facility to use when logging error messages and |
| 1104 |
informational/debugging messages requested through the |
| 1105 |
.B ServerTracing |
| 1106 |
parameter. |
| 1107 |
The list of facility names is standardized; it can be found |
| 1108 |
in the system include file |
| 1109 |
.BR <syslog.h> ; |
| 1110 |
comparisons are case-insensitive. |
| 1111 |
.TP |
| 1112 |
.B LogCalls |
| 1113 |
Log all incoming calls into xferfaxlog as CALL records. This allows |
| 1114 |
a quick check of all incoming calls, regardless of fax completion or |
| 1115 |
not in a unified manner with other fax logs. |
| 1116 |
.TP |
| 1117 |
.B LogFileMode |
| 1118 |
The file protection mode that should be used when |
| 1119 |
creating files to hold session logs. |
| 1120 |
Note that this value is given in octal. |
| 1121 |
The default value of 0600 implies that the log files are not |
| 1122 |
generally accessible, which is important if sensitive information |
| 1123 |
such as calling card access codes are logged. |
| 1124 |
If log files are to be publicly accessible, this |
| 1125 |
value may be set, for example, to 0644. |
| 1126 |
See also |
| 1127 |
.IR chmod (2). |
| 1128 |
.TP |
| 1129 |
.B LongDistancePrefix\(S2 |
| 1130 |
The string to use to place a long distance phone call. |
| 1131 |
In the United States, this is ``1''. |
| 1132 |
.TP |
| 1133 |
.B MaxConcurrentCalls\(S1 |
| 1134 |
The default value to use for the maximum number of jobs for the |
| 1135 |
same destination that are processed concurrently. |
| 1136 |
Thus this parameter defines the maximum number of concurrent phone calls |
| 1137 |
to the same destination. |
| 1138 |
Unless all of your fax destinations have multiple fax lines |
| 1139 |
using the same fax number per destination then |
| 1140 |
.B MaxConcurrentCalls |
| 1141 |
is probably best left as the default of 1 and exceptions should |
| 1142 |
be accommodated by the |
| 1143 |
.B JobControl |
| 1144 |
mechanism. |
| 1145 |
.TP |
| 1146 |
.B MaxBatchJobs\(S1 |
| 1147 |
The maximum number of jobs to batch together in a single call. |
| 1148 |
.TP |
| 1149 |
.B MaxConsecutiveBadLines |
| 1150 |
The maximum number of consecutive erroneous rows of image data that |
| 1151 |
the server will receive before it deems a page to have unacceptable |
| 1152 |
copy quality. |
| 1153 |
Setting this parameter to zero causes the server to not check |
| 1154 |
the quality of received facsimile. |
| 1155 |
Facsimile received with error-correction do not have copy quality |
| 1156 |
checking performed. |
| 1157 |
See also |
| 1158 |
.BR PercentGoodLines . |
| 1159 |
.TP |
| 1160 |
.B MaxDials\(S1 |
| 1161 |
The default value for the maximum number of times the server will |
| 1162 |
place a call for an outbound job. |
| 1163 |
This value may be overridden by rules in the |
| 1164 |
.B JobControl |
| 1165 |
mechanism. |
| 1166 |
See also |
| 1167 |
.BR MaxTries . |
| 1168 |
.TP |
| 1169 |
.B MaxRecvPages |
| 1170 |
The maximum number of pages the server will accept in a received |
| 1171 |
facsimile before it aborts the session. |
| 1172 |
.TP |
| 1173 |
.B MaxSendPages\(S1 |
| 1174 |
The default value for the maximum number of pages the server will |
| 1175 |
permit in a transmitted facsimile. |
| 1176 |
Outbound jobs that exceed this limit are rejected. |
| 1177 |
This value may be overridden by rules in the |
| 1178 |
.B JobControl |
| 1179 |
mechanism. |
| 1180 |
.TP |
| 1181 |
.B MaxSetupAttempts |
| 1182 |
The maximum number of times a \*(Fx server program will attempt |
| 1183 |
to initialize a modem before considering it ``\fIwedged\fP''. |
| 1184 |
.TP |
| 1185 |
.B MaxTries\(S1 |
| 1186 |
The default value for the maximum number of times the server will |
| 1187 |
attempt to communicate with a remote site. |
| 1188 |
Note that for a call to be counted against this limit, carrier must |
| 1189 |
be established; |
| 1190 |
this is in contrast to the value of |
| 1191 |
.B MaxDials |
| 1192 |
which limits the number of calls that will be placed on behalf |
| 1193 |
of a job. |
| 1194 |
This value may be overridden by rules in the |
| 1195 |
.B JobControl |
| 1196 |
mechanism. |
| 1197 |
See also |
| 1198 |
.BR MaxDials . |
| 1199 |
.TP |
| 1200 |
.B MinAcceptedLineCount |
| 1201 |
The minimum number of received scanlines allowed on an ``OK'' page. |
| 1202 |
The use of this setting prevents confirmation from being sent for |
| 1203 |
very short pages. |
| 1204 |
.TP |
| 1205 |
.B ModemGroup\(S1 |
| 1206 |
Define a logical name for a set of modem devices. |
| 1207 |
This parameter can be used to define a name that clients can use |
| 1208 |
to refer to a collection of modems. |
| 1209 |
The syntax is ``\fI<name>\fP\:\fI<regex>\fP'' where |
| 1210 |
.I <name> |
| 1211 |
is the name for the group and |
| 1212 |
.I <regex> |
| 1213 |
is a regular expression that |
| 1214 |
.IR faxq (${MANNUM1_8}) |
| 1215 |
matches against known modems. |
| 1216 |
Thus for example, the default modem to use for a job, |
| 1217 |
.BR any , |
| 1218 |
is defined as ``any:.*''. |
| 1219 |
This parameter may be specified multiple times to define multiple |
| 1220 |
modem classes. |
| 1221 |
Modem classes may overlap. |
| 1222 |
The actual set of modems in a modem class that are considered |
| 1223 |
for use may vary based on which modems are believed to be ready for use. |
| 1224 |
.TP |
| 1225 |
.B ModemPriority |
| 1226 |
The scheduling priority to use for a modem. |
| 1227 |
Priority values are in the range 0 to 255 with lesser values signifying |
| 1228 |
higher (more desirable) priority. |
| 1229 |
The \*(Fx scheduler process assigns the highest |
| 1230 |
priority modem that is ready for use when scheduling an outbound job. |
| 1231 |
|
| 1232 |
If multiple available modems in a job's selected |
| 1233 |
.B ModemGroup |
| 1234 |
have the same |
| 1235 |
.B ModemPriority |
| 1236 |
value, then the \*(Fx scheduler assigns jobs to them in |
| 1237 |
a round-robin fashion. |
| 1238 |
.TP |
| 1239 |
.B NoAnswerVoice |
| 1240 |
Whether or not to disable the answering of calls indicated as |
| 1241 |
voice (e.g. by |
| 1242 |
.B DistinctiveRings |
| 1243 |
). |
| 1244 |
.TP |
| 1245 |
.B NoCarrierRetrys |
| 1246 |
This is mapped onto \s-1JobRetryNoCarrier\s+1 |
| 1247 |
.TP |
| 1248 |
.B ModemReadyState |
| 1249 |
Define the |
| 1250 |
.I state |
| 1251 |
transmitted to the \*(Fx scheduler process each time a modem |
| 1252 |
is made ready by a |
| 1253 |
.I faxgetty |
| 1254 |
process. |
| 1255 |
State is one of: ``R'' (ready for use), ``B'' (busy), or ``D'' (down). |
| 1256 |
The modem state can be used to control whether or not modems are assigned |
| 1257 |
to outbound jobs. |
| 1258 |
A modem's state is initially set to ``R'' (ready). |
| 1259 |
Modem state can be dynamically changed with the |
| 1260 |
.IR faxstate (${MANNUM1_8}) |
| 1261 |
program or by setting this configuration parameter with the |
| 1262 |
.IR faxconfig (${MANNUM1_8}) |
| 1263 |
program. |
| 1264 |
.TP |
| 1265 |
.B ModemRingResponse |
| 1266 |
This can be used |
| 1267 |
to cause the command defined by |
| 1268 |
.B ModemRingResponse |
| 1269 |
to be sent to the modem after hearing at least |
| 1270 |
.B ModemRingsBeforeResponse |
| 1271 |
RINGs in order to receive DID-DTMF data, for example. |
| 1272 |
.TP |
| 1273 |
.B ModemRingsBeforeResponse |
| 1274 |
This defines the minimum number of RINGs that must be heard before |
| 1275 |
.B ModemRingResponse |
| 1276 |
is first sent to the modem. |
| 1277 |
.TP |
| 1278 |
.B NotifyCmd\(S2 |
| 1279 |
The command to invoke to notify a client of a job status change; see |
| 1280 |
.IR notify (${MANNUM1_8}). |
| 1281 |
.TP |
| 1282 |
.B PageChop\(S1 |
| 1283 |
Whether or not to automatically truncate trailing whitespace on |
| 1284 |
pages of outbound facsimile (when possible). |
| 1285 |
If page chopping is enabled, then pages with at least |
| 1286 |
.B PageChopThreshold |
| 1287 |
trailing whitespace on a page will be transmitted as a ``short page'' |
| 1288 |
if the receiver is capable of accepting variable-length pages. |
| 1289 |
The possible values are: ``last'' to enable chopping of the last |
| 1290 |
page of each document, ``all'' to enable chopping of all pages, or |
| 1291 |
``none'' to disable page chopping. |
| 1292 |
.TP |
| 1293 |
.B PageChopThreshold\(S1 |
| 1294 |
The minimum amount of trailing whitespace that must be present |
| 1295 |
on a page before page chopping will be attempted; see |
| 1296 |
.BR PageChop . |
| 1297 |
Note that this value is specified in inches. |
| 1298 |
.TP |
| 1299 |
.B PCL2FaxCmd\(S1 |
| 1300 |
The command to invoke to convert a HP-PCL document submitted |
| 1301 |
for transmission to |
| 1302 |
.SM TIFF/F, |
| 1303 |
suitable for transmission. |
| 1304 |
.TP |
| 1305 |
.B PercentGoodLines |
| 1306 |
The minimum percentage of good rows of image data required |
| 1307 |
for a received facsimile page to be deemed to have acceptable |
| 1308 |
copy quality. |
| 1309 |
Setting this parameter to zero causes the server to not |
| 1310 |
check the quality of received facsimile. |
| 1311 |
Facsimile received with error-correction do not have copy quality |
| 1312 |
checking performed. |
| 1313 |
See also |
| 1314 |
.BR MaxConsecutiveBadLines . |
| 1315 |
.TP |
| 1316 |
.B PollLockPokeModem |
| 1317 |
When polling for the presence/removal of a |
| 1318 |
.SM UUCP |
| 1319 |
lockfile, also test to make sure the modem is still reachable. |
| 1320 |
This is useful for scenarios where the modem is apt to become |
| 1321 |
disconnected while the modem is idle, such as an external modem |
| 1322 |
that may lose power, where the administrator wants notification |
| 1323 |
of this (as a ``wedged'' condition). |
| 1324 |
.TP |
| 1325 |
.B PollLockWait |
| 1326 |
When polling for the presence/removal of a |
| 1327 |
.SM UUCP |
| 1328 |
lockfile, the time (in seconds) to wait between checks. |
| 1329 |
Lockfile polling occurs to ensure the fax server doesn't collide |
| 1330 |
with another process using the modem. |
| 1331 |
.TP |
| 1332 |
.B PollModemWait |
| 1333 |
The time (in seconds) to wait between checks |
| 1334 |
for a modem to become ready for use. |
| 1335 |
Modem polling occurs when a modem fails to reset cleanly. |
| 1336 |
.TP |
| 1337 |
.B PriorityScheduling |
| 1338 |
Indicates whether the \*(Fx scheduler should utilize available |
| 1339 |
priority job scheduling mechanisms to enhance realtime execution, |
| 1340 |
particularly with Class 1 configurations on older or slower |
| 1341 |
systems. |
| 1342 |
|
| 1343 |
Currently |
| 1344 |
.B PriorityScheduling |
| 1345 |
is available for IRIX, SVR/4, HP-UX, and POSIX-compliant |
| 1346 |
(i.e. Linux) operating systems. The default value |
| 1347 |
varies to maintain traditional \*(Fx behavior. On IRIX, |
| 1348 |
SVR/4, and HP-UX systems where the configure script detects one of the |
| 1349 |
functions schedctl(), priocntl() or rtprio() the default is true. |
| 1350 |
The only other supported priority mechanism |
| 1351 |
is POSIX sched_setscheduler(), which is used on Linux, OpenServer and possibly |
| 1352 |
other systems. On such systems, as well as on systems where no priority |
| 1353 |
scheduling mechanism exists, the default is false." |
| 1354 |
.TP |
| 1355 |
.B PS2FaxCmd\(S1 |
| 1356 |
The command to invoke to convert a \*(Ps document submitted |
| 1357 |
for transmission to |
| 1358 |
.SM TIFF/F, |
| 1359 |
suitable for transmission; |
| 1360 |
see |
| 1361 |
.IR ps2fax (${MANNUM1_8}). |
| 1362 |
.TP |
| 1363 |
.B QualifyPWD |
| 1364 |
A string that specifies whether or not the identity of |
| 1365 |
calling facsimile machines should be checked against an access |
| 1366 |
control list before receiving facsimile. |
| 1367 |
If |
| 1368 |
.B QualifyPWD |
| 1369 |
is non-null, then only messages from facsimile machines identified |
| 1370 |
in the file specified by the string (typically \fBetc/passwd\fP) |
| 1371 |
will be accepted; similar to |
| 1372 |
.B QualifyTSI. |
| 1373 |
.TP |
| 1374 |
.B QualifyTSI |
| 1375 |
A string that specifies whether or not the identity of |
| 1376 |
calling facsimile machines should be checked against an access |
| 1377 |
control list before receiving facsimile. |
| 1378 |
If |
| 1379 |
.B QualifyTSI |
| 1380 |
is non-null, then only messages from facsimile machines identified |
| 1381 |
in the file specified by the string (typically \fBetc/tsi\fP) |
| 1382 |
will be accepted; see |
| 1383 |
.IR tsi (${MANNUM4_5}). |
| 1384 |
If |
| 1385 |
.B QualifyTSI |
| 1386 |
is not specified in the configuration file, or the value is |
| 1387 |
null, then all incoming facsimile messages will be accepted. |
| 1388 |
.TP |
| 1389 |
.B RecvDataFormat |
| 1390 |
The data format (compression scheme) to write received facsimile data |
| 1391 |
when copy quality checking is performed on the host. |
| 1392 |
(When copy quality checking is not done by the server, for example when |
| 1393 |
error correction protocol is used, the received |
| 1394 |
facsimile data is written exactly as it is received from the modem.) |
| 1395 |
The format may be one: ``1-D MH'', ``2-D MR'', ``2-D MMR'', or ``adaptive''. |
| 1396 |
An ``adaptive'' format causes the received data to be written using |
| 1397 |
the data format negotiated by the sender and receiver. |
| 1398 |
Note that while 2-D MMR is the most space-efficient data format |
| 1399 |
the resultant file may not be viewable (certain commonly used programs |
| 1400 |
do not properly read multi-strip TIFF with 2-D MMR data). |
| 1401 |
.TP |
| 1402 |
.B RecvFileMode |
| 1403 |
The file protection mode that should be used when |
| 1404 |
creating files to hold incoming facsimile. |
| 1405 |
Note that this value is given in octal. |
| 1406 |
The default value of 0600 implies that only the |
| 1407 |
facsimile user can read received facsimile. |
| 1408 |
If incoming facsimile are to be publicly accessible, this |
| 1409 |
value may be set, for example, to 0644. |
| 1410 |
See also |
| 1411 |
.IR chmod (2). |
| 1412 |
.TP |
| 1413 |
.B RejectCall |
| 1414 |
If this is set to true, the current call will not be answered, and will |
| 1415 |
be rejected. This option has no effect if set in the configuration file, |
| 1416 |
but when set by the |
| 1417 |
.BR DynamicConfig |
| 1418 |
program, controls the current call. This options supersedes the obsolete |
| 1419 |
.BR QualifyCID |
| 1420 |
option. |
| 1421 |
.TP |
| 1422 |
.B RingData |
| 1423 |
A modem status string that identifies that an incoming call is |
| 1424 |
for data use. |
| 1425 |
This string should be set when a phone line has been setup with |
| 1426 |
\fIdistinctive ring\fP service. |
| 1427 |
See also |
| 1428 |
.B RingFax |
| 1429 |
and |
| 1430 |
.BR RingVoice . |
| 1431 |
.TP |
| 1432 |
.B RingExtended |
| 1433 |
An identifier which matches the initial portion of an extended RING |
| 1434 |
message sent by the modem to relay CID and/or DNIS data instead of |
| 1435 |
sending it formatted on separate lines. |
| 1436 |
.TP |
| 1437 |
.B RingFax |
| 1438 |
A modem status string that identifies that an incoming call is |
| 1439 |
for facsimile use. |
| 1440 |
This string should be set when a phone line has been setup with |
| 1441 |
\fIdistinctive ring\fP service. |
| 1442 |
See also |
| 1443 |
.B RingData |
| 1444 |
and |
| 1445 |
.BR RingVoice . |
| 1446 |
.TP |
| 1447 |
.B RingsBeforeAnswer |
| 1448 |
The number of rings to wait before answering the phone. |
| 1449 |
If this value is set to 0, then the phone will only |
| 1450 |
be answered in response to an explicit answer command; see |
| 1451 |
.IR faxanswer (${MANNUM1_8}). |
| 1452 |
.TP |
| 1453 |
.B RingTimeout |
| 1454 |
If a ring is heard and the call is not answered, the time in |
| 1455 |
ms to wait before reinitializing the modem for the next call. |
| 1456 |
.TP |
| 1457 |
.B RingVoice |
| 1458 |
A modem status string that identifies that an incoming call is |
| 1459 |
for voice use. |
| 1460 |
This string should be set when a phone line has been setup with |
| 1461 |
\fIdistinctive ring\fP service. |
| 1462 |
See also |
| 1463 |
.B RingData |
| 1464 |
and |
| 1465 |
.BR RingFax . |
| 1466 |
.TP |
| 1467 |
.B RTNHandlingMethod |
| 1468 |
Specifies how to react to an RTN signal received from the remote: |
| 1469 |
one of ``\s-1Retransmit\s+1'', ``\s-1Giveup\s+1'',``\s-1Ignore\s+1'', |
| 1470 |
or ``\s-1Retransmit-Ignore\s+1''. |
| 1471 |
|
| 1472 |
``\s-1Retransmit\s+1'' assumes that the page is not received successfully. |
| 1473 |
HylaFAX will make up to two additional attempts to send the page, |
| 1474 |
decreasing signalling rate and retraining. If RTN continues, |
| 1475 |
up to 2 additional calls will be placed. The downside is that if the remote |
| 1476 |
always responds with RTN, the page will be sent 9 times and no following |
| 1477 |
pages will be sent. Many fax machines will not behave this way, although |
| 1478 |
T.30 specification seems clear that this is the intent of the RTN signal. |
| 1479 |
|
| 1480 |
Many fax machines will interpret RTN as meaning to not send the same data |
| 1481 |
again. That is because RTN may indicate problems with flow control, |
| 1482 |
incorrectly encoded T.4 data, or some incompatibility other than line noise. |
| 1483 |
Fax machines that interpret RTN this way will disconnect and require a manual |
| 1484 |
retransmission. This ``over and out'' behaviour can be activated by the |
| 1485 |
``\s-1Giveup\s+1'' value. The advantage to this behavior is that the same |
| 1486 |
page of image data will not be sent multiple times, but the downside is that |
| 1487 |
the following pages will not be sent. |
| 1488 |
|
| 1489 |
``\s-1Ignore\s+1'' is similar to ``\s-1Giveup\s+1'' in that it makes the |
| 1490 |
assumption the data cannot be automatically accepted by the receiver. However, |
| 1491 |
rather than disconnecting the page of image data is abandoned and processing moves |
| 1492 |
on to the next. The remote is left to decide what to do with the unacceptable |
| 1493 |
page of image data. The downside to this behavior, is that the remote may or may |
| 1494 |
not have kept the page, depending on its interpretation of the RTN signal - but |
| 1495 |
it does allow us to continue on to the next page. |
| 1496 |
|
| 1497 |
``\s-1Retransmit-Ignore\s+1'' is a combination of ``\s-1Retransmit\s+1'' and |
| 1498 |
``\s-1Ignore\s+1''. The page of image data is retransmitted up to two additional |
| 1499 |
times, but rather than disconnecting after a third RTN signal for the same page, |
| 1500 |
processing then continues on to the next page. This approach is an effort to |
| 1501 |
satisfy both interpretations of an RTN signal. It allows the receiver to hopefully |
| 1502 |
receive a better copy of the image data while not failing to send subsequent pages. |
| 1503 |
If the receiver saves or prints a copy of pages for which it transmits RTN, then it |
| 1504 |
could save or print up to three copies of every page. |
| 1505 |
.TP |
| 1506 |
.B SaveUnconfirmedPages |
| 1507 |
Whether or not to save a received facsimile image page if the sender disconnects |
| 1508 |
without sending the post-page message, without hearing our message confirmation, |
| 1509 |
without retraining as requested, or otherwise breaks fax protocol following such |
| 1510 |
pages for which the sender should not have a ``receipt confirmation''. |
| 1511 |
.TP |
| 1512 |
.B SendFaxCmd\(S1 |
| 1513 |
The command to use to process outbound facsimile jobs; see |
| 1514 |
.IR faxsend (${MANNUM1_8}). |
| 1515 |
.TP |
| 1516 |
.B SendPageCmd\(S1 |
| 1517 |
The command to use to process outbound pager jobs; see |
| 1518 |
.IR pagesend (${MANNUM1_8}). |
| 1519 |
.TP |
| 1520 |
.B SendUUCPCmd\(S1 |
| 1521 |
The command to use to process outbound |
| 1522 |
.SM UUCP |
| 1523 |
jobs. |
| 1524 |
This parameter is not currently used, it is for future development. |
| 1525 |
.TP |
| 1526 |
.B ServerTracing\(S2 |
| 1527 |
A number that controls the generation of tracing |
| 1528 |
information by a server when not actively sending or |
| 1529 |
receiving facsimile. |
| 1530 |
Tracing is divided into |
| 1531 |
.I areas |
| 1532 |
that are individually controlled. |
| 1533 |
To enable tracing of multiple areas of operation, the |
| 1534 |
flag associated with each area should be bit-or'd to |
| 1535 |
form the value for this tag. |
| 1536 |
.ne 1i |
| 1537 |
.sp .5 |
| 1538 |
.ta \w'\fB131072 (0x20000) \fP'u +\w'Modem Communications 'u |
| 1539 |
.nf |
| 1540 |
\fBFlag Area Description\fP |
| 1541 |
1 (0x00001) Server Operation queue management and general operation |
| 1542 |
2 (0x00002) \s-1FAX\s+1/\s-1IXO\s+1 Protocol \s-1T.30\s+1 facsimile protocol or \s-1IXO/TAP\s+1 protocol |
| 1543 |
4 (0x00004) Modem Operations modem hardware manipulation |
| 1544 |
8 (0x00008) Modem Communications commands passed between host and modem |
| 1545 |
16 (0x00010) Timeouts timer operations |
| 1546 |
32 (0x00020) Modem Capabilities modem capabilities |
| 1547 |
64 (0x00040) \s-1HDLC\s+1 Frames binary \s-1T.30 HDLC\s+1 frames |
| 1548 |
128 (0x00080) Binary Modem \s-1I/O\s+1 binary communication between host and modem |
| 1549 |
256 (0x00100) Server State Transitions server program state transitions |
| 1550 |
512 (0x00200) Queue Management job queue management |
| 1551 |
1024 (0x00400) Copy Quality copy quality checking of received facsimile |
| 1552 |
2048 (0x00800) Job Management low-level job management |
| 1553 |
4096 (0x01000) \s-1IXO\s+1 Protocol low-level \s-1IXO\s+1 protocol |
| 1554 |
8192 (0x02000) Config File Parsing unknown configuration file parameters |
| 1555 |
16384 (0x04000) FIFO Messages inter-application messages |
| 1556 |
32768 (0x08000) Modem State Transitions modem state changes (down, busy, ready) |
| 1557 |
65536 (0x10000) Dial Rules dialstring rules parsing and execution |
| 1558 |
131072 (0x20000) Docq Changes document reference handling |
| 1559 |
262144 (0x40000) TIFF library any messages produced by the TIFF library |
| 1560 |
524288 (0x80000) ECM Frames binary \s-1T.30-A HDLC\s+1 ECM frames |
| 1561 |
.sp .5 |
| 1562 |
.fi |
| 1563 |
For example, to enable tracing of server operations and |
| 1564 |
protocol operations, a value of 1+2=3 should be specified. |
| 1565 |
\fBNB: tracing timeouts and/or binary modem \s-1I/O\s+1 can adversely |
| 1566 |
affect the operation of the fax server; enabling these areas |
| 1567 |
should be done with extreme care.\fP |
| 1568 |
.IP |
| 1569 |
Server tracing is directed to |
| 1570 |
.IR syslog (3) |
| 1571 |
using the \fIfacility\fP specified with the |
| 1572 |
.B LogFacility |
| 1573 |
configuration parameter. |
| 1574 |
Note that |
| 1575 |
.IR syslogd (${MANNUM1_8}) |
| 1576 |
must be configured to capture |
| 1577 |
.IR facility.info , |
| 1578 |
.IR facility.debug , |
| 1579 |
.IR facility.warning , |
| 1580 |
and |
| 1581 |
.I facility.err |
| 1582 |
messages. |
| 1583 |
See |
| 1584 |
.IR hylafax-log (${MANNUM4_5}) |
| 1585 |
for a description of the logged messages. |
| 1586 |
.TP |
| 1587 |
.B SessionTracing\(S2 |
| 1588 |
A number that controls the generation of tracing information |
| 1589 |
by a server while sending or receiving facsimile. |
| 1590 |
The number is interpreted identically to |
| 1591 |
.B ServerTracing. |
| 1592 |
Note that session tracing is placed in log files in the |
| 1593 |
.B log |
| 1594 |
subdirectory; see |
| 1595 |
.IR hylafax-log (${MANNUM4_5}) |
| 1596 |
for more information. |
| 1597 |
.TP |
| 1598 |
.B SpeakerVolume |
| 1599 |
The volume level that the in-modem speaker should be |
| 1600 |
adjusted to while in command mode. |
| 1601 |
The possible values are: |
| 1602 |
.ne 1i |
| 1603 |
.sp .5 |
| 1604 |
.ta \w'\fBMedium\fP 'u |
| 1605 |
.nf |
| 1606 |
\fBValue Description\fP |
| 1607 |
Off silent |
| 1608 |
Quiet almost inaudible |
| 1609 |
Low tolerable in privacy |
| 1610 |
Medium loud enough to hear in the next room |
| 1611 |
High intolerable |
| 1612 |
.sp .5 |
| 1613 |
.fi |
| 1614 |
Note that the speaker is always turned off once carrier is established. |
| 1615 |
Also beware that some modems support fewer volume settings; |
| 1616 |
see |
| 1617 |
.BR ModemSetVolumeCmd . |
| 1618 |
.TP |
| 1619 |
.B TagLineCoverNumString |
| 1620 |
|
| 1621 |
Setting TagLineCoverNumString instructs faxsend to not include the cover pages |
| 1622 |
in the normal page numbering mechanism. The page numbers used in the tagline |
| 1623 |
generation will adjusted to not count the cover pages, and the TagLineCoverNumString value |
| 1624 |
wil be used instead of a page number on the tagline of the cover page. |
| 1625 |
.TP |
| 1626 |
.B TagLineFont |
| 1627 |
The filename of the font to use in imaging |
| 1628 |
.I "tag lines" |
| 1629 |
across the top of each transmitted page. |
| 1630 |
Fonts must be stored in the Portable Compiled Font (\c |
| 1631 |
.SM PCF\c |
| 1632 |
) format used by the X11 Window System. |
| 1633 |
Filenames are specified relative to the root of the spooling area; |
| 1634 |
e.g. etc/lutRS18.pcf. |
| 1635 |
If no font is specified, if a null filename is specified, or if |
| 1636 |
the specified font file is not readable, then tag lines will not |
| 1637 |
be generated. |
| 1638 |
See also |
| 1639 |
.BR TagLineFormat . |
| 1640 |
.TP |
| 1641 |
.B TagLineFormat |
| 1642 |
The format string to use when imaging |
| 1643 |
.I "tag lines" |
| 1644 |
across the top of each transmitted page. |
| 1645 |
This string may include escape codes that cause various items |
| 1646 |
to be interpolated into the imaged tag line. |
| 1647 |
Any escape code supported by |
| 1648 |
.IR strftime (3C) |
| 1649 |
may be used as well as the following server-implemented codes: |
| 1650 |
.sp .5 |
| 1651 |
.ta \w'\fBEscape\fP 'u |
| 1652 |
.nf |
| 1653 |
\fBEscape\fP \fBDescription\fP |
| 1654 |
%%a destination subaddress |
| 1655 |
%%c destination company name |
| 1656 |
%%C sender's company name |
| 1657 |
%%d destination phone number |
| 1658 |
%%g destination geographic location |
| 1659 |
%%G sender's geographic location |
| 1660 |
%%i job identifier |
| 1661 |
%%I group identifier |
| 1662 |
%%j user-specified job tag |
| 1663 |
%%l \fBLocalIdentifier\fP or canonicalized \fBFAXNumber\fP |
| 1664 |
%%m sender's electronic mail address |
| 1665 |
%%n canonicalized \fBFAXNumber\fP |
| 1666 |
%%p current page number of session |
| 1667 |
%%P current page number of job |
| 1668 |
%%r receiver's name |
| 1669 |
%%s sender's name |
| 1670 |
%%S subject |
| 1671 |
%%t total pages in session |
| 1672 |
%%T total pages in job |
| 1673 |
%%v destination voice number |
| 1674 |
%%V sender's voice number |
| 1675 |
%%% ``%'' |
| 1676 |
.fi |
| 1677 |
.sp .5 |
| 1678 |
In addition, the format string may indicate that |
| 1679 |
text is to be centered in multiple equal-sized |
| 1680 |
.I fields |
| 1681 |
by separating text with ``|'' characters. |
| 1682 |
For example, ``a|b|c'' would cause the tag line to be broken up into |
| 1683 |
three equal-sized areas with the strings ``a'', ``b'', and ``c'' |
| 1684 |
centered within each region. |
| 1685 |
The default tag line format string is ``From %%n|%c|Page %%P of %%T''. |
| 1686 |
The differences between the %%p or %%P and the %%t or %%T options are noticed |
| 1687 |
when a fax job is retried after an incomplete attempt and only the previously |
| 1688 |
unsent pages are then queued in a successive session. |
| 1689 |
See also |
| 1690 |
.BR TagLineFont . |
| 1691 |
.TP |
| 1692 |
.B TIFF2FaxCmd\(S1 |
| 1693 |
The command to invoke to convert a TIFF submitted |
| 1694 |
for transmission to |
| 1695 |
.SM TIFF/F, |
| 1696 |
suitable for transmission; see |
| 1697 |
.IR tiff2fax (${MANNUM1_8}). |
| 1698 |
.TP |
| 1699 |
.B TimeOfDay\(S1 |
| 1700 |
The default time-of-day restrictions to apply to outbound jobs. |
| 1701 |
Outbound jobs will be processed only during the specified time. |
| 1702 |
Any jobs submitted outside this time period will be held until |
| 1703 |
the start of this time. |
| 1704 |
The syntax for time-of-day restrictions is designed to be compatible |
| 1705 |
with the syntax used by the |
| 1706 |
.SM UUCP |
| 1707 |
software. |
| 1708 |
The following |
| 1709 |
.SM BNF |
| 1710 |
describes the syntax: |
| 1711 |
.sp .5 |
| 1712 |
.nf |
| 1713 |
.ft C |
| 1714 |
Syntax = tod ["," tod] |
| 1715 |
tod = <days><timerange> |
| 1716 |
days = "Any" | "Wk" | <dayname>+ | nothing |
| 1717 |
dayname = "Sun" | "Mon" | "Tue" | "Wed" | "Thu" | "Fri" | "Sat" |
| 1718 |
timerange = <start> "-" <end> | nothing |
| 1719 |
start = <24hrtime> |
| 1720 |
end = <24hrtime> |
| 1721 |
24hrtime = {0-9}{0-9}{0-9}{0-9} |
| 1722 |
nothing = |
| 1723 |
.ft P |
| 1724 |
.fi |
| 1725 |
.sp .5 |
| 1726 |
where \fIstart\fP and \fIend\fP are 24-hour times, day names can be either |
| 1727 |
2- or 3-characters, and a null day or time specification means |
| 1728 |
any time or day. |
| 1729 |
White space and other syntactic sugar may be freely inserted between |
| 1730 |
tokens but may not be inserted between 24-hour times in the time range. |
| 1731 |
.IP |
| 1732 |
This value may be overridden by rules in the |
| 1733 |
.B JobControl |
| 1734 |
mechanism. |
| 1735 |
.TP |
| 1736 |
.B Use2D\(S1 |
| 1737 |
Control the use of 2D-encoded data for transmitted facsimile. |
| 1738 |
.TP |
| 1739 |
.B UseJobTagLine |
| 1740 |
Allow the use of the job-specified tagline instead of the configured |
| 1741 |
.B TaglineFormat |
| 1742 |
.TP |
| 1743 |
.B UUCPLockMode\(S2 |
| 1744 |
The file protection mode that should be used when creating |
| 1745 |
.SM UUCP |
| 1746 |
lockfiles. |
| 1747 |
Note that this value is given in octal. |
| 1748 |
.TP |
| 1749 |
.B UUCPLockDir\(S2 |
| 1750 |
The pathname of the directory in which |
| 1751 |
.SM UUCP |
| 1752 |
lockfiles are to be created. |
| 1753 |
.TP |
| 1754 |
.B UUCPLockTimeout\(S2 |
| 1755 |
The time in seconds to wait before removing a \fIstale\fP |
| 1756 |
.SM UUCP |
| 1757 |
lockfile (i.e. a lockfile whose owner does not appear to exist). |
| 1758 |
If this value is set to 0, then the fax server will never |
| 1759 |
remove a stale lockfile. |
| 1760 |
.TP |
| 1761 |
.B UUCPLockType\(S2 |
| 1762 |
A string that specifies the type of |
| 1763 |
.SM UUCP |
| 1764 |
lockfile to create. |
| 1765 |
The string may be one of ``ascii'' or ``binary'' |
| 1766 |
depending on whether the process-ID of the lock owner |
| 1767 |
is written to the file as an ascii string or as a binary value, respectively. |
| 1768 |
In addition, two prefixes may be used to control the format of |
| 1769 |
the lock filename. |
| 1770 |
If the type string is prefixed with a ``+'', then |
| 1771 |
.SM SVR4-\c |
| 1772 |
style filenames are generated using the major device number of the |
| 1773 |
tty device and the major and minor device |
| 1774 |
numbers for the filesystem on which the tty device resides. |
| 1775 |
If the type string is prefixed with a ``\-'', then any upper |
| 1776 |
case letters in the device part of the lockfile name are converted |
| 1777 |
to lower case letters; |
| 1778 |
for example, ``LCK..ttyA01'' is converted to ``LCK..ttya01''. |
| 1779 |
This upper-to-lower case conversion is useful for systems such as |
| 1780 |
.SM SCO |
| 1781 |
where the convention is to name devices with upper-case letters, but |
| 1782 |
create lockfiles with lower-case letters. |
| 1783 |
.TP |
| 1784 |
.B VGettyArgs |
| 1785 |
A string that indicates whether or not the server should invoke |
| 1786 |
a voice getty program |
| 1787 |
in response to an incoming voice call. |
| 1788 |
If the string value is not null, then it is interpreted |
| 1789 |
as a set of arguments to pass to the \fIvgetty\fP program. |
| 1790 |
Before supplying the arguments, the string is first scanned |
| 1791 |
for ``%''-escape sequences: any appearance of ``%l'' is replaced |
| 1792 |
with the tty name and any appearance of ``%s'' is replaced with |
| 1793 |
the serial port speed (in decimal). |
| 1794 |
Any appearance of escaped numbers 1 through 9 (``%1'' through ``%9'') are replaced |
| 1795 |
by the match to the corresponding |
| 1796 |
.BR CallIDPattern , |
| 1797 |
if present. |
| 1798 |
The ``%'' character can be specified with ``%%''. |
| 1799 |
If the |
| 1800 |
.B VGettyArgs |
| 1801 |
parameter is not specified in the configuration file or if |
| 1802 |
the string value is null, then voice connections will be rejected. |
| 1803 |
Note that in addition to the specified command line arguments, the |
| 1804 |
.I vgetty |
| 1805 |
program is invoked with its standard input, output, and error |
| 1806 |
descriptors directed to the controlling tty device. |
| 1807 |
.TP |
| 1808 |
.B WedgedCmd\(S1 |
| 1809 |
The command to invoke when a modem is deemed ``\fIwedged\fP''; see |
| 1810 |
.IR wedged (${MANNUM1_8}). |
| 1811 |
.SH "MODEM-ORIENTED CONFIGURATION PARAMETERS" |
| 1812 |
.PP |
| 1813 |
This section lists configuration parameters that are specific |
| 1814 |
to the setup and operation of the modem. |
| 1815 |
All |
| 1816 |
.I commands |
| 1817 |
must be specified exactly as they are to be transmitted to the modem |
| 1818 |
(note that this is a departure from previous versions of this software |
| 1819 |
that automatically prepended ``\s-1AT\s+1'' to each line of commands |
| 1820 |
sent to the modem). |
| 1821 |
When multi-line commands are required, enclose the commands in |
| 1822 |
quote marks (``"'') and insert a newline character ``\en'' where |
| 1823 |
lines should be broken. |
| 1824 |
An example of a multi-line command string is |
| 1825 |
``\s-1AT+FCQ=1\enAT+FBADMUL=20\enAT+FBADLIN=10\s+1''. |
| 1826 |
.PP |
| 1827 |
Command strings sent to the modem may include command |
| 1828 |
escapes that force the host to alter the |
| 1829 |
.SM DTE-DCE |
| 1830 |
communication rate, the flow control scheme used between |
| 1831 |
the host and modem, delay for a period of time, flush input |
| 1832 |
data, and wait for a specific response from the modem. |
| 1833 |
The following escape codes are interpreted: |
| 1834 |
.ne 1i |
| 1835 |
.sp .5 |
| 1836 |
.RS |
| 1837 |
.nf |
| 1838 |
.ta \w'<play:filename> 'u |
| 1839 |
\fBEscape\fP \fBEffect\fP |
| 1840 |
<none> enable no flow control between \s-1DTE\s+1 and \s-1DCE\s+1 |
| 1841 |
<xon> enable software flow control between \s-1DTE\s+1 and \s-1DCE\s+1 |
| 1842 |
<rts> enable hardware flow control between \s-1DTE\s+1 and \s-1DCE\s+1 |
| 1843 |
<2400> set the \s-1DCE-DTE\s+1 baud rate to 2400 bps |
| 1844 |
<4800> set the \s-1DCE-DTE\s+1 baud rate to 4800 bps |
| 1845 |
<9600> set the \s-1DCE-DTE\s+1 baud rate to 9600 bps |
| 1846 |
<19200> set the \s-1DCE-DTE\s+1 baud rate to 19200 bps |
| 1847 |
<38400> set the \s-1DCE-DTE\s+1 baud rate to 38400 bps |
| 1848 |
<57600> set the \s-1DCE-DTE\s+1 baud rate to 57600 bps |
| 1849 |
<76800> set the \s-1DCE-DTE\s+1 baud rate to 76800 bps |
| 1850 |
<115200> set the \s-1DCE-DTE\s+1 baud rate to 115200 bps |
| 1851 |
<delay:N> delay N x 10 ms on the host (0 <= N <= 255) |
| 1852 |
<flush> flush any pending input data from the modem |
| 1853 |
<waitfor:R> wait for the response R from the modem (see below) |
| 1854 |
<play:filename> play the specified audio file (see below) |
| 1855 |
.fi |
| 1856 |
.RE |
| 1857 |
.sp .5 |
| 1858 |
Note that commands to the left of an escape code are |
| 1859 |
sent to the modem before the associated actions are |
| 1860 |
carried out on the host. |
| 1861 |
This may be important when changing baud rates, as the result code |
| 1862 |
from a command may be returned at the new baud rate. |
| 1863 |
Also, beware that not all baud rates are supported by all |
| 1864 |
systems and modems; the set of baud rates supported by a host is |
| 1865 |
usually listed in |
| 1866 |
.IR stty (1). |
| 1867 |
.PP |
| 1868 |
The ``<waitfor:..>'' escape can be used to override the default |
| 1869 |
behaviour which is to wait for an ``\s-1OK\s+1'' response to a |
| 1870 |
command sent to the modem. |
| 1871 |
The possible response codes are: |
| 1872 |
.ne 1i |
| 1873 |
.sp .5 |
| 1874 |
.RS |
| 1875 |
.nf |
| 1876 |
.ta \w'\s-1NODIALTONE\s+1 'u |
| 1877 |
\s-1NOTHING\s+1 a null response |
| 1878 |
\s-1OK\s+1 the default response |
| 1879 |
\s-1CONNECT\s+1 ``\s-1CONNECT...\s+1'' |
| 1880 |
\s-1NOANSWER\s+1 ``\s-1NO ANSWER...\s+1'' |
| 1881 |
\s-1NOCARRIER\s+1 ``\s-1NO CARRIER...\s+1'' |
| 1882 |
\s-1NODIALTONE\s+1 ``\s-1NO DIALTONE...\s+1'' |
| 1883 |
\s-1BUSY\s+1 ``\s-1BUSY\s+1'' |
| 1884 |
\s-1OFFHOOK\s+1 ``\s-1PHONE OFF-HOOK\s+1'' |
| 1885 |
\s-1RING\s+1 ``\s-1RING...\s+1'' |
| 1886 |
\s-1ERROR\s+1 error status from modem |
| 1887 |
\s-1VCON\s+1 voice connection indicator |
| 1888 |
\s-1OTHER\s+1 any unrecognized modem response |
| 1889 |
.fi |
| 1890 |
.RE |
| 1891 |
.sp .5 |
| 1892 |
For example ``\s-1ATO\er<waitfor:CONNECT>\s+1'' would send |
| 1893 |
``\s-1ATO\s+1\er'' to the modem and then wait for a response |
| 1894 |
with a leading ``\s-1CONNECT\s+1'' in it; and |
| 1895 |
``\s-1ATS99=2\er<delay:2><flush><waitfor:NOTHING>\s+1'' would send |
| 1896 |
``\s-1ATS99=2\er\s+1'' to the modem, delay 20 ms, flush any |
| 1897 |
input from the modem, and then continue (not wait for any response). |
| 1898 |
.PP |
| 1899 |
The ``<play:filename>'' escape can be used to play a raw audio file with |
| 1900 |
a voice modem. This feature can be used, for example, to play a brief |
| 1901 |
audio message after picking up the line but before answering. A |
| 1902 |
configuration example may be: |
| 1903 |
.nf |
| 1904 |
|
| 1905 |
ModemRingResponse: "AT+FCLASS=8;H1\enAT+VSM=131\enAT+VLS=1\enAT+VTX\en<waitfor:CONNECT><play:/sounds/enter-extension.raw><waitfor:OK>AT+VTS=[933,,150]" |
| 1906 |
ModemAnswerCmd: "<delay:100>AT+FCLASS=1;A" |
| 1907 |
CallIDPattern: SHIELDED_DTMF |
| 1908 |
CallIDAnswerLength: 4 |
| 1909 |
|
| 1910 |
.fi |
| 1911 |
In this example using an IS-101 voice-compliant modem, a RING indication from |
| 1912 |
the modem will cause the modem to be placed in voice mode, set ulaw audio |
| 1913 |
compression, and via the connected phone line play back the etc/play1.raw |
| 1914 |
audio file, which may say, "After the tone enter a four-digit extension, then |
| 1915 |
start the fax." Following the message a tone is played. |
| 1916 |
.TP |
| 1917 |
.B ModemAnswerCmd |
| 1918 |
The command to answer the phone. |
| 1919 |
If possible, this command should generate a result string that |
| 1920 |
identifies whether the incoming call is from a facsimile, voice, |
| 1921 |
or data modem. |
| 1922 |
Typically this auto-detection is configured ahead of time; e.g. |
| 1923 |
for Class 2 modems with the ``\s-1AT+FAA=1\s+1'' command. |
| 1924 |
.IP |
| 1925 |
The following table describes how the result codes are interpreted by |
| 1926 |
the facsimile server. |
| 1927 |
.nf |
| 1928 |
.sp .5 |
| 1929 |
.ta \w'\s-1CONNECT FAX\s+1 'u +\w'No Dialtone 'u +\w'Unknown 'u +\w'Unknown 'u |
| 1930 |
\fBResult String\fP \fBDefault\fP \fBClass 1\fP \fBClass 2\fP \fBClass2.0\fP |
| 1931 |
\s-1CONNECT FAX\s+1 Fax \- \- \- \- |
| 1932 |
\s-1CONNECT\s+1 Data Unknown \- \- |
| 1933 |
\s-1NO ANSWER\s+1 No Answer \- \- \- |
| 1934 |
\s-1NO CARRIER\s+1 No Carrier \- \- \- |
| 1935 |
\s-1NO DIALTONE\s+1 No Dialtone \- \- \- |
| 1936 |
\s-1ERROR\s+1 Error \- \- \- |
| 1937 |
\s-1FAX\s+1 Fax \- \- \- |
| 1938 |
\s-1DATA\s+1 Data \- \- \- |
| 1939 |
\s-1+FCON\s+1 \- \- Fax Fax |
| 1940 |
\s-1+FCO\s+1 \- \- Fax Fax |
| 1941 |
\s-1+FDM\s+1 \- \- Data Data |
| 1942 |
\s-1+FHNG:\s+1 \- \- Error Error |
| 1943 |
\s-1VCON\s+1 \- \- Voice Voice |
| 1944 |
.ta |
| 1945 |
.fi |
| 1946 |
.sp .5 |
| 1947 |
The ``Default'' column indicates the interpretation made for the |
| 1948 |
result string in either class 1 or 2 unless explicitly |
| 1949 |
overridden. |
| 1950 |
The ``Class 1'' column indicates result strings handled specially |
| 1951 |
for modems operating in class 1, the |
| 1952 |
``Class 2'' column indicates special handling for modems |
| 1953 |
operating in class 2, and the ``Class 2.0'' column indicates |
| 1954 |
special handling for modems operating in class 2.0. |
| 1955 |
.I Unknown |
| 1956 |
entries imply that interpretation is based on the way in which the |
| 1957 |
call was answered; if answering is done for an explicit call type, |
| 1958 |
that type is assumed, otherwise a Fax call is presumed. |
| 1959 |
.TP |
| 1960 |
.B ModemAnswerDataBeginCmd |
| 1961 |
The command to send to the modem once a data |
| 1962 |
connection has been established. |
| 1963 |
.TP |
| 1964 |
.B ModemAnswerDataCmd |
| 1965 |
The command to explicitly answer the phone for a data connection. |
| 1966 |
This command must generate a result string that |
| 1967 |
identifies the incoming call is from a data modem. |
| 1968 |
If this parameter is not specified or is null, then the value of |
| 1969 |
.B ModemAnswerCmd |
| 1970 |
is used instead. |
| 1971 |
See also |
| 1972 |
.B AdaptiveAnswer |
| 1973 |
and |
| 1974 |
.BR AnswerRotary . |
| 1975 |
.TP |
| 1976 |
.B ModemAnswerDialCmd |
| 1977 |
The command to explicitly answer the phone for a dialed connection. |
| 1978 |
This command must generate a result string that |
| 1979 |
identifies the incoming call is from a facsimile modem. |
| 1980 |
If this parameter is not specified or is null, then the value of |
| 1981 |
.B ModemAnswerCmd |
| 1982 |
is used instead. |
| 1983 |
.TP |
| 1984 |
.B ModemAnswerFaxBeginCmd |
| 1985 |
The command to send to the modem once a facsimile |
| 1986 |
connection has been established. |
| 1987 |
.TP |
| 1988 |
.B ModemAnswerFaxCmd |
| 1989 |
The command to explicitly answer the phone for a facsimile connection. |
| 1990 |
This command must generate a result string that |
| 1991 |
identifies the incoming call is from a facsimile modem. |
| 1992 |
If this parameter is not specified or is null, then the value of |
| 1993 |
.B ModemAnswerCmd |
| 1994 |
is used instead. |
| 1995 |
See also |
| 1996 |
.B AdaptiveAnswer |
| 1997 |
and |
| 1998 |
.BR AnswerRotary . |
| 1999 |
.TP |
| 2000 |
.B ModemAnswerVoiceBeginCmd |
| 2001 |
The command to send to the modem once a voice |
| 2002 |
connection has been established. |
| 2003 |
.TP |
| 2004 |
.B ModemAnswerVoiceCmd |
| 2005 |
The command to explicitly answer the phone for a voice connection. |
| 2006 |
This command must generate a result string that |
| 2007 |
identifies the incoming call is for voice. |
| 2008 |
If this parameter is not specified or is null, then the value of |
| 2009 |
.B ModemAnswerCmd |
| 2010 |
is used instead. |
| 2011 |
See also |
| 2012 |
.B AdaptiveAnswer |
| 2013 |
and |
| 2014 |
.BR AnswerRotary . |
| 2015 |
.TP |
| 2016 |
.B ModemAnswerResponseTimeout |
| 2017 |
The maximum time, in milliseconds, to wait for a response from |
| 2018 |
the modem after sending |
| 2019 |
.BR ModemAnswerCmd . |
| 2020 |
Note that you may want to shorten this value when using the |
| 2021 |
server-based adaptive answer strategy; see |
| 2022 |
.BR AdaptiveAnswer . |
| 2023 |
.TP |
| 2024 |
.B ModemATCmdDelay |
| 2025 |
A delay, in milliseconds, that should be performed before each |
| 2026 |
``AT'' command string is sent to the modem. |
| 2027 |
.TP |
| 2028 |
.B ModemBaudRateDelay |
| 2029 |
The amount of time, in milliseconds, to pause after setting the |
| 2030 |
baud rate on the serial line. |
| 2031 |
This is only needed for hosts and modems (such as USRs) where |
| 2032 |
setting the serial line parameters does not take effect immediately. |
| 2033 |
.TP |
| 2034 |
.B ModemCommaPauseTimeCmd |
| 2035 |
The command to set the time, |
| 2036 |
in seconds, that the modem should pause when encountering |
| 2037 |
a ``,'' modifier in the dialing string. |
| 2038 |
.TP |
| 2039 |
.B ModemDialCmd |
| 2040 |
The command to place a phone call. |
| 2041 |
The string is assumed to be suitable for use |
| 2042 |
as a parameter to the |
| 2043 |
.IR sprintf (3S) |
| 2044 |
function; so the ``%'' character should be escaped as ``%%''. |
| 2045 |
The dial command must include a single ``%s'' where the number |
| 2046 |
that is to be dialed is to be substituted. |
| 2047 |
Facilities such as tone or pulse dialing, outgoing prefixes |
| 2048 |
to route though a \s-1PBX\s+1, |
| 2049 |
and so on should be included in the |
| 2050 |
dialing command string. |
| 2051 |
It is also important that, if possible, a trailing ``@'' |
| 2052 |
symbol should be included so that the modem |
| 2053 |
returns result codes that distinguish between no answer and no carrier. |
| 2054 |
Use of the ``@'' permits the server to reduce the probability |
| 2055 |
that a wrong number is continually redialed. |
| 2056 |
If the modem does not support this facility, then it may be |
| 2057 |
necessary to raise the number of retries done when a |
| 2058 |
``\s-1NO CARRIER\s+1'' result is returned. |
| 2059 |
.TP |
| 2060 |
.B ModemDialResponseTimeout |
| 2061 |
The maximum time to wait, in milliseconds, for a response from |
| 2062 |
the modem after sending |
| 2063 |
This value should be longer than the timeout programmed into the |
| 2064 |
modem through the |
| 2065 |
.B ModemWaitTimeCmd |
| 2066 |
parameter. |
| 2067 |
This additional server-based timeout is provided to guard against |
| 2068 |
modems that can ``lock up'' when dialing the telephone. |
| 2069 |
.TP |
| 2070 |
.B ModemDoPhaseCDebug |
| 2071 |
Whether or not to query the modem for responses during image data |
| 2072 |
transmission. Normally the modem should not produce any responses |
| 2073 |
during Phase C data transmission. However, in some debugging |
| 2074 |
scenarios (i.e. some Class 2.1 modems may show debugging information) |
| 2075 |
it may be appropriate to query the modem for responses during |
| 2076 |
the data transmission. |
| 2077 |
.TP |
| 2078 |
.B ModemDTRDropDelay |
| 2079 |
The time, in milliseconds, to pause between placing |
| 2080 |
.SM DTR |
| 2081 |
OFF and |
| 2082 |
.SM DTR |
| 2083 |
ON while resetting a modem. This value should be at |
| 2084 |
least equal to the time-value of the analogous S-register, |
| 2085 |
usually S25. |
| 2086 |
.TP |
| 2087 |
.B ModemEchoOffCmd |
| 2088 |
The command to disable echoing of commands sent to the modem. |
| 2089 |
.TP |
| 2090 |
.B ModemFlowControl |
| 2091 |
The type of flow control to use between |
| 2092 |
.SM DTE |
| 2093 |
and \s-1DCE\s+1; |
| 2094 |
one of ``\s-1NONE\s+1'', ``\s-1XONXOFF\s+1'' and ``\s-1RTSCTS\s+1''. |
| 2095 |
This value is used to select the string sent to the modem |
| 2096 |
to initially establish |
| 2097 |
.SM DTE-DCE |
| 2098 |
flow control; one of |
| 2099 |
.BR ModemNoFlowCmd , |
| 2100 |
.BR ModemSoftFlowCmd , |
| 2101 |
and |
| 2102 |
.BR ModemHardFlowCmd . |
| 2103 |
The current flow control setting is also used to select the |
| 2104 |
appropriate flow control command to send to the modem when |
| 2105 |
the software switches to Class 1, 2, or 2.0; see |
| 2106 |
.BR Class1HFLOCmd , |
| 2107 |
.BR Class1NFLOCmd , |
| 2108 |
.BR Class1SFLOCmd , |
| 2109 |
.BR Class2HFLOCmd , |
| 2110 |
.BR Class2NFLOCmd , |
| 2111 |
and |
| 2112 |
.BR Class2SFLOCmd . |
| 2113 |
.IP |
| 2114 |
The server supports both software and hardware flow control |
| 2115 |
for Class 1, Class 2, and Class 2.0 modems. |
| 2116 |
Whether to use hardware or software flow control depends |
| 2117 |
on the capabilities of the modem |
| 2118 |
and the host hardware and operating system. |
| 2119 |
Communication rates above 9600 baud often require that hardware |
| 2120 |
flow control be used for reliable |
| 2121 |
.SM DTE-DCE |
| 2122 |
communication. |
| 2123 |
However, beware that many modems only support software |
| 2124 |
flow control when sending or receiving facsimile. |
| 2125 |
.IP |
| 2126 |
Note that modems usually support software flow control even |
| 2127 |
if they have no explicit AT-command to activate it; in this case |
| 2128 |
it is switched on when the modem enters fax mode, having |
| 2129 |
AT+FCLASS=... from \s-1DTE\s+1. |
| 2130 |
.TP |
| 2131 |
.B ModemFrameFillOrder |
| 2132 |
The bit order to expect for received |
| 2133 |
.SM HDLC |
| 2134 |
frames and to use when formulating |
| 2135 |
.SM HDLC |
| 2136 |
frames to send. |
| 2137 |
This value may be either |
| 2138 |
.SM LSB2MSB |
| 2139 |
when bits are ordered from least-significant-bit to |
| 2140 |
most-significant-bit (as in the |
| 2141 |
.SM CCITT |
| 2142 |
specification) or |
| 2143 |
.SM MSB2LSB |
| 2144 |
when bits are ordered in the reverse direction. |
| 2145 |
.TP |
| 2146 |
.B ModemHardFlowCmd |
| 2147 |
The command to setup hardware (\s-1RTS/CTS\s+1) |
| 2148 |
flow control between |
| 2149 |
.SM DTE |
| 2150 |
and |
| 2151 |
.SM DCE. |
| 2152 |
.TP |
| 2153 |
.B ModemMinSpeed |
| 2154 |
The minimum acceptable signalling rate for transmitting facsimile |
| 2155 |
page data. |
| 2156 |
Possible values are: 2400, 4800, 7200, 9600, 12200, and 14400. |
| 2157 |
.TP |
| 2158 |
.B ModemMfrQueryCmd |
| 2159 |
The command to send to the modem to get the manufacturer |
| 2160 |
identification string. |
| 2161 |
If this parameter is not set, then it is initialized |
| 2162 |
to ``\s-1AT+FMFR?\s+1'' for Class 2 modems, or |
| 2163 |
to ``\s-1AT+FMI?\s+1'' for Class 2.0 modems, or |
| 2164 |
to ``\s-1ATI3\s+1'' for Class 1 modems. |
| 2165 |
If the parameter begins with a ``!'', then the remainder of the |
| 2166 |
string is taken to be the identification string and no command |
| 2167 |
is issued to the modem. |
| 2168 |
.TP |
| 2169 |
.B ModemModelQueryCmd |
| 2170 |
The command to send to the modem to get the model identification string. |
| 2171 |
If this parameter is not set, then it is initialized to |
| 2172 |
to ``\s-1AT+FMDL?\s+1'' for Class 2 modems, or |
| 2173 |
to ``\s-1AT+FMM?\s+1'' for Class 2.0 modems, or |
| 2174 |
to ``\s-1ATI0\s+1'' for Class 1 modems. |
| 2175 |
If the parameter begins with a ``!'', then the remainder of the |
| 2176 |
string is taken to be the identification string and no command |
| 2177 |
is issued to the modem. |
| 2178 |
.TP |
| 2179 |
.B ModemNoAutoAnswerCmd |
| 2180 |
The command to stop the modem from automatically |
| 2181 |
answering when the phone rings. |
| 2182 |
.TP |
| 2183 |
.B ModemNoAutoAnswerCmdDelay |
| 2184 |
The time, in milliseconds, to pause after receiving the OK following |
| 2185 |
.B ModemNoAutoAnswerCmd |
| 2186 |
before any further commands are sent to the modem. All input from |
| 2187 |
the modem is flushed after pausing. |
| 2188 |
.TP |
| 2189 |
.B ModemNoFlowCmd |
| 2190 |
The command to disable flow control between |
| 2191 |
.SM DTE |
| 2192 |
and |
| 2193 |
.SM DCE. |
| 2194 |
.TP |
| 2195 |
.B ModemOnHookCmd |
| 2196 |
The command to place the phone ``on hook'' |
| 2197 |
(i.e. hangup). |
| 2198 |
.TP |
| 2199 |
.B ModemPageDoneTimeout |
| 2200 |
The maximum time to wait, in milliseconds, for a response |
| 2201 |
from the modem after sending a page of facsimile data (e.g. |
| 2202 |
the time to wait for a response to a Class 2/2.0 |
| 2203 |
.SM AT+FET |
| 2204 |
command). |
| 2205 |
.TP |
| 2206 |
.B ModemPageStartTimeout |
| 2207 |
The maximum time to wait, in milliseconds, for an initial |
| 2208 |
response from the modem when sending a page of facsimile data |
| 2209 |
(e.g. the time to wait for a response to a Class 2/2.0 |
| 2210 |
.SM AT+FDR |
| 2211 |
command). |
| 2212 |
.TP |
| 2213 |
.B ModemRaiseATCommands |
| 2214 |
Indicates whether or not all configuration AT commands for the modem should |
| 2215 |
be raised to upper-case automatically. The standard is for all upper-case |
| 2216 |
to be used in AT commands, and indeed, some rare modems have been known |
| 2217 |
to malfunction with lower-case commands. However, sometimes an administrator |
| 2218 |
may want to use lower-case commands in a rare condition such as to work |
| 2219 |
around modem blacklisting of dialed numbers. |
| 2220 |
.TP |
| 2221 |
.B ModemRate |
| 2222 |
The baud rate to use for DCE-DTE communication. |
| 2223 |
This value may be one of: 115200, 76800, 57600, 38400, 19200, 9600, 4800, |
| 2224 |
2400, 1200. |
| 2225 |
The default value is 19200 because many modems lock the |
| 2226 |
rate at 19200 when sending or receiving facsimile. |
| 2227 |
Note that not all values are supported by all operating |
| 2228 |
systems and modems; consult |
| 2229 |
.IR stty (1) |
| 2230 |
for the available rates on your system. |
| 2231 |
.TP |
| 2232 |
.B ModemReadyCmds |
| 2233 |
A string of commands to issue to the modem during reception initialization. |
| 2234 |
This string is sent to the modem |
| 2235 |
.I after |
| 2236 |
the standard set of configuration commands required by the fax server. This |
| 2237 |
is done, for example, to un-busy a DID line so that calls can come through. |
| 2238 |
.TP |
| 2239 |
.B ModemRecvFillOrder |
| 2240 |
The bit order to expect for received facsimile data. |
| 2241 |
This value may be either |
| 2242 |
.SM LSB2MSB |
| 2243 |
when bits are ordered from least-significant-bit to |
| 2244 |
most-significant-bit (as in the |
| 2245 |
.SM CCITT |
| 2246 |
specification) or |
| 2247 |
.SM MSB2LSB |
| 2248 |
when bits are ordered in the reverse direction. |
| 2249 |
According to the various specifications all modems should return |
| 2250 |
data in |
| 2251 |
.SM LSB2MSB |
| 2252 |
order. |
| 2253 |
However most Class 2 modems (except maybe only Multitech) use |
| 2254 |
.SM MSB2LSB |
| 2255 |
for compatibility with modems that were built with |
| 2256 |
Rockwell hardware/firmware that included a bug |
| 2257 |
that was too widespread to correct. |
| 2258 |
.IP |
| 2259 |
If this parameter is not set, then it is autodetected and set to |
| 2260 |
.SM LSB2MSB |
| 2261 |
for Class 1 and Class 2.0 modems and |
| 2262 |
.SM MSB2LSB |
| 2263 |
for non-Multitech Class 2 modems. However this may be wrong for |
| 2264 |
your modem, so you will have to specify this parameter explicitly. |
| 2265 |
.TP |
| 2266 |
.B ModemRecvSuccessCmd |
| 2267 |
A string of commands to issue to the modem after a successful |
| 2268 |
receive session before the call is disconnected. |
| 2269 |
.TP |
| 2270 |
.B ModemResetCmds |
| 2271 |
A string of commands to issue to the modem during initialization. |
| 2272 |
This string is sent to the modem |
| 2273 |
.I before |
| 2274 |
the standard set of configuration commands required by the fax server. |
| 2275 |
Note that these commands \fBshould not include normal |
| 2276 |
reset commands that are specified through other parameters\fP. |
| 2277 |
For example, commands to setup flow control, |
| 2278 |
.SM DCD |
| 2279 |
handling, |
| 2280 |
.SM DTR |
| 2281 |
handling, etc. should be specified through the appropriate |
| 2282 |
configuration parameters and not through this parameter. |
| 2283 |
In addition the soft reset command (usually ``\s-1ATZ\s+1'') |
| 2284 |
should not be included in this string; the servers issue this |
| 2285 |
command explicitly. |
| 2286 |
.TP |
| 2287 |
.B ModemResetDelay |
| 2288 |
The time, in milliseconds, to pause after setting |
| 2289 |
.SM DTR |
| 2290 |
ON, while resetting a modem. |
| 2291 |
.SM DTR |
| 2292 |
ON does not respond with ``OK'', so this parameter should |
| 2293 |
be long enough to allow the modem time to be ready for |
| 2294 |
.B ModemSoftResetCmd |
| 2295 |
successively. |
| 2296 |
.TP |
| 2297 |
.B ModemResultCodesCmd |
| 2298 |
The command to enable result codes. |
| 2299 |
.TP |
| 2300 |
.B ModemRevQueryCmd |
| 2301 |
The command to send to the modem to get a firmware revision identification |
| 2302 |
string. |
| 2303 |
If this parameter is not set, then it is initialized to |
| 2304 |
``\s-1AT+FREV?\s+1'' for Class 2 modems, or |
| 2305 |
to ``\s-1AT+FMR?\s+1'' for Class 2.0 modems. |
| 2306 |
If the parameter begins with a ``!'', then the remainder of the |
| 2307 |
string is taken to be the identification string and no command |
| 2308 |
is issued to the modem. |
| 2309 |
.TP |
| 2310 |
.B ModemSendBeginCmd |
| 2311 |
The command to send to the modem upon establishing carrier during |
| 2312 |
a transmit operation. |
| 2313 |
This parameter is useful for systems that are incapable of enabling |
| 2314 |
hardware flow control without |
| 2315 |
.SM DCD |
| 2316 |
asserted. |
| 2317 |
.TP |
| 2318 |
.B ModemSendFillOrder |
| 2319 |
The bit order the modem expects for transmitted facsimile data. |
| 2320 |
This value may be either |
| 2321 |
.SM LSB2MSB |
| 2322 |
or |
| 2323 |
.SM MSB2LSB |
| 2324 |
(see also |
| 2325 |
.B ModemRecvFillOrder |
| 2326 |
above.) |
| 2327 |
Virtually all modems expect transmitted facsimile data in |
| 2328 |
.SM LSB2MSB |
| 2329 |
bit order. |
| 2330 |
.TP |
| 2331 |
.B ModemSetVolumeCmd |
| 2332 |
The commands to use to set the modem speaker volume levels. |
| 2333 |
There should be five whitespace-separated commands, |
| 2334 |
one each for setting the |
| 2335 |
volume to ``Off'', ``Quiet'', ``Low'', ``Medium'', and ``High''; |
| 2336 |
the default is ``"\s-1\&ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1\s+1"''. |
| 2337 |
See also |
| 2338 |
.BR SpeakerVolume . |
| 2339 |
.TP |
| 2340 |
.B ModemSetupAACmd |
| 2341 |
The command to setup |
| 2342 |
.I "adaptive answer" |
| 2343 |
support in the modem\-if available. |
| 2344 |
Adaptive answer is the term used for the ability to |
| 2345 |
distinguish between calls from facsimile, voice, and |
| 2346 |
data sources. |
| 2347 |
Note that this string is the last command issued by the device |
| 2348 |
drivers during setup, so the command string |
| 2349 |
may, if necessary, switch to a different |
| 2350 |
operating mode (e.g. on some Rockwell-based modems it is necessary |
| 2351 |
to issue the ``\s-1AT+FAA=1\s0'' command in Class 0). |
| 2352 |
.TP |
| 2353 |
.B ModemSetupDCDCmd |
| 2354 |
The command to setup |
| 2355 |
.SM DCD |
| 2356 |
handling. |
| 2357 |
On most systems the facsimile server will enable |
| 2358 |
the \s-1CLOCAL\s+1 flag on the tty device to which |
| 2359 |
the modem is connected. |
| 2360 |
This should insure that the system does not close an open |
| 2361 |
file descriptor associated with the modem if carrier is dropped. |
| 2362 |
Thus, for most systems and modems |
| 2363 |
.B ModemSetupDCDCmd |
| 2364 |
should setup |
| 2365 |
.SM DCD |
| 2366 |
to reflect carrier. |
| 2367 |
.TP |
| 2368 |
.B ModemSetupDTRCmd |
| 2369 |
The command to setup |
| 2370 |
.SM DTR |
| 2371 |
handling so that the modem is reset when the |
| 2372 |
.SM DTR |
| 2373 |
signal is lowered by the host. |
| 2374 |
The facsimile server uses this facility to insure that modems |
| 2375 |
are not left in a ``locked up'' state. |
| 2376 |
.TP |
| 2377 |
.B ModemSoftFlowCmd |
| 2378 |
The command to setup software (\s-1XON/XOFF\s+1) |
| 2379 |
flow control between |
| 2380 |
.SM DTE |
| 2381 |
and |
| 2382 |
.SM DCE. |
| 2383 |
.TP |
| 2384 |
.B ModemSoftResetCmd |
| 2385 |
The command to force a soft reset of the modem. |
| 2386 |
.TP |
| 2387 |
.B ModemSoftResetCmdDelay |
| 2388 |
The time, in milliseconds, to pause after receiving the OK following |
| 2389 |
.B ModemSoftResetCmd |
| 2390 |
before any further commands are sent to the modem. |
| 2391 |
.TP |
| 2392 |
.B ModemSoftRTFCC |
| 2393 |
Whether or not to enable software-driven Real-Time Fax Compression Conversion. |
| 2394 |
RTFCC allows HylaFAX to convert the image compression between MH MR and MMR |
| 2395 |
formats regardless of how faxq formatted the image file. |
| 2396 |
Note that when using RTFCC, the |
| 2397 |
compression format of the file will be ignored, thus the ``-1'', ``-2'', |
| 2398 |
and ``-3'' options for sendfax, ps2fax, and others will only influence how the |
| 2399 |
document is prepared by faxq and will not influence the |
| 2400 |
actual negotiated session parameters. |
| 2401 |
.B Class2RTFCC |
| 2402 |
takes precedence over |
| 2403 |
.B ModemSoftRTFCC |
| 2404 |
and if both are enabled, then software-driven RTFCC will not be performed |
| 2405 |
in favor of the firmware-driven RTFCC. |
| 2406 |
.TP |
| 2407 |
.B ModemType |
| 2408 |
This parameter must be set to one of: ``Class2'', ``Class2.0'', |
| 2409 |
or ``Class1''; |
| 2410 |
to indicate that the modem is a Class 2-, |
| 2411 |
Class 2.0-, or Class 1-style modem, respectively. |
| 2412 |
If this parameter is not set, then it is autodetected and |
| 2413 |
the highest supported fax class is used. |
| 2414 |
.TP |
| 2415 |
.B ModemVerboseResultsCmd |
| 2416 |
The command to enable verbose, as opposed to numeric, result codes. |
| 2417 |
.TP |
| 2418 |
.B ModemWaitForConnect |
| 2419 |
If enabled, the facsimile server will not consider a connection |
| 2420 |
established when answering an incoming call until a |
| 2421 |
``\s-1CONNECT\s+1'' status string is received. |
| 2422 |
This is useful mainly for Rockwell \s-1RC32ACL\s+1-based |
| 2423 |
modems that send ``\s-1FAX\s+1'' and ``\s-1DATA\s+1'' status |
| 2424 |
messages before sending ``\s-1CONNECT\s+1''. |
| 2425 |
.TP |
| 2426 |
.B ModemWaitTimeCmd |
| 2427 |
The command to set the |
| 2428 |
number of seconds to wait for a carrier signal |
| 2429 |
when placing a call or answering the phone. |
| 2430 |
.SH "T.30 PROTOCOL CONFIGURATION PARAMETERS" |
| 2431 |
.PP |
| 2432 |
The following parameters apply to the implementation of the |
| 2433 |
.SM "CCITT T.30" |
| 2434 |
facsimile protocol in the Class 1 device driver. |
| 2435 |
They should not be changed without full understanding of the |
| 2436 |
operation of the server. |
| 2437 |
.TP |
| 2438 |
.B FaxT1Timer |
| 2439 |
The value of the |
| 2440 |
.SM T1 |
| 2441 |
timer in milliseconds. |
| 2442 |
This timer is used to time out the initial session contact; |
| 2443 |
i.e. receipt of \s-1DIS/DCS\s+1. |
| 2444 |
.TP |
| 2445 |
.B FaxT2Timer |
| 2446 |
The value of the |
| 2447 |
.SM T2 |
| 2448 |
timer in milliseconds. |
| 2449 |
This timer is used to time out receiving responses and commands. |
| 2450 |
.TP |
| 2451 |
.B FaxT4Timer |
| 2452 |
The value of the |
| 2453 |
.SM T4 |
| 2454 |
timer in milliseconds. |
| 2455 |
This timer is used to time out the reception of |
| 2456 |
.SM HDLC |
| 2457 |
frames and, usually, trigger frame retransmissions. |
| 2458 |
.SH "CLASS 1 MODEM CONFIGURATION PARAMETERS" |
| 2459 |
.PP |
| 2460 |
The following parameters are specific to the configuration |
| 2461 |
of Class 1-style modems; they should not be changed lightly: |
| 2462 |
.TP |
| 2463 |
.B Class1Cmd |
| 2464 |
The command to set the modem into Class 1 operation. |
| 2465 |
.TP |
| 2466 |
.B Class1AdaptRecvCmd |
| 2467 |
The command used to enable adaptive reception support (usually |
| 2468 |
``AT+FAR=1''). This feature is new in T.31, and many modems |
| 2469 |
will not support it. This feature may reduce the number of |
| 2470 |
reception failures due to errors cascading from +FCERROR messages. |
| 2471 |
.TP |
| 2472 |
.B Class1ColorJPEGSupport |
| 2473 |
Whether or not to enable support for T.30-E full-color facsimile |
| 2474 |
with JPEG compression. Enabling this automatically enables |
| 2475 |
.B Class1GreyJPEGSupport. |
| 2476 |
.TP |
| 2477 |
.B Class1EnableV34Cmd |
| 2478 |
The command to enable V.34-fax support with at least the desired |
| 2479 |
maximum primary channel rate. |
| 2480 |
.TP |
| 2481 |
.B Class1ECMSupport |
| 2482 |
Whether or not to support T.30-A error correction protocol. Use of |
| 2483 |
ECM will require 64 kilobytes of free memory per modem in active use. |
| 2484 |
.TP |
| 2485 |
.B Class1PersistentECM |
| 2486 |
Whether or not to continue to retransmit and allow one to continue to |
| 2487 |
receive image data in ECM protocol |
| 2488 |
which is not accepted as valid after four successive attempts. |
| 2489 |
.TP |
| 2490 |
.B Class1ECMFrameSize |
| 2491 |
The size in bytes of image frames to transmit during ECM protocol. |
| 2492 |
This setting will also indicate a preference in receive sessions. |
| 2493 |
The only acceptable values are 64 and 256. A setting of 64 may |
| 2494 |
be useful on high-load systems and possibly environments with |
| 2495 |
extremely poor line quality. |
| 2496 |
.TP |
| 2497 |
.B Class1ExtendedRes |
| 2498 |
Whether or not to support resolutions other than normal and fine. |
| 2499 |
This option has been deprecated by |
| 2500 |
.B Class1Resolutions. |
| 2501 |
.TP |
| 2502 |
.B Class1FrameOverhead |
| 2503 |
The number of extraneous bytes in |
| 2504 |
.SM HDLC |
| 2505 |
frames sent to the host in response to an ``\s-1AT+FRH\s+1'' command. |
| 2506 |
For modems that properly implement the Class 1 interface, this |
| 2507 |
number should be 4 (the default). |
| 2508 |
.TP |
| 2509 |
.B Class1GreyJPEGSupport |
| 2510 |
Whether or not to enable support for T.30-E greyscale facsimile |
| 2511 |
with JPEG compression. This is always enabled if |
| 2512 |
.B Class1ColorJPEGSupport |
| 2513 |
is enabled. |
| 2514 |
.TP |
| 2515 |
.B Class1HookSensitivity |
| 2516 |
The number of times to ignore on-hook detections and merely treat them |
| 2517 |
as command or modem errors. |
| 2518 |
.TP |
| 2519 |
.B Class1JBIGSupport |
| 2520 |
Whether or not to enable support for T.85 monochrome facsimile |
| 2521 |
with JBIG compression. Options are ``true'' for support in both |
| 2522 |
sending and receiving, ``false'' for no support, ``send'' for |
| 2523 |
support only in sending, and ``receive'' for support only in |
| 2524 |
receiving. If, during the build process a compatible JBIG library |
| 2525 |
was found then send support is enabled by default. If, during |
| 2526 |
the build process the TIFF tools are found to support JBIG then |
| 2527 |
receive support is enabled by default. |
| 2528 |
.TP |
| 2529 |
.B Class1HasRHConnectBug |
| 2530 |
A Class 1 modem should only report CONNECT after AT+FRH=3 when |
| 2531 |
V.21 HDLC data is detected. However, some modems will incorrectly |
| 2532 |
report CONNECT after AT+FRH=3 whenever any carrier is present. In |
| 2533 |
such cases |
| 2534 |
.B Class1HasRHConnectBug |
| 2535 |
should be set to ``true''. |
| 2536 |
.TP |
| 2537 |
.B Class1HFLOCmd |
| 2538 |
The command to setup hardware (\s-1RTS/CTS\s+1) |
| 2539 |
flow control between |
| 2540 |
.SM DTE |
| 2541 |
and |
| 2542 |
.SM DCE |
| 2543 |
when operating in Class 1. |
| 2544 |
This command is issued immediately after sending the |
| 2545 |
.B Class1Cmd |
| 2546 |
to switch the modem to Class 1 operation. |
| 2547 |
.TP |
| 2548 |
.B Class1MRSupport |
| 2549 |
Whether or not to enable support for two-dimensional Modified Read |
| 2550 |
(MR) image data format compression. |
| 2551 |
.TP |
| 2552 |
.B Class1MMRSupport |
| 2553 |
Whether or not to enable support for two-dimensional Modified Modified Read |
| 2554 |
(MMR) image data format compression. Note that MMR support requires also |
| 2555 |
ECM support to be enabled. |
| 2556 |
.TP |
| 2557 |
.B Class1NFLOCmd |
| 2558 |
The command to setup no flow control between |
| 2559 |
.SM DTE |
| 2560 |
and |
| 2561 |
.SM DCE |
| 2562 |
when operating in Class 1. |
| 2563 |
This command is issued immediately after sending the |
| 2564 |
.B Class1Cmd |
| 2565 |
to switch the modem to Class 1 operation. |
| 2566 |
.TP |
| 2567 |
.B Class1PageLengthSupport |
| 2568 |
The coded value for page lengths supported by the modem. The only |
| 2569 |
correct values and meanings are these: ``1'', A4 page length; ``3'', both |
| 2570 |
A4 and B4 page length; ``7'', unlimited page length. |
| 2571 |
.TP |
| 2572 |
.B Class1PageWidthSupport |
| 2573 |
The coded value for page widths supported by the modem. The only |
| 2574 |
correct values and meanings are these: ``1'', A4 page width; ``3'', both |
| 2575 |
A4 and B4 page width; ``7'', all of A4, B4, and A3 page widths. |
| 2576 |
.TP |
| 2577 |
.B Class1PPMWaitCmd |
| 2578 |
The command used to stop and wait before sending the post page message, |
| 2579 |
except before sending EOP, when |
| 2580 |
.B Class1EOPWaitCmd |
| 2581 |
is used instead. We must ensure that the high-speed carrier has |
| 2582 |
stopped completely. |
| 2583 |
According to T.30, Chapter 5, Note 4, this delay should be 75 +/- 20 ms. |
| 2584 |
.TP |
| 2585 |
.B Class1ResponseWaitCmd |
| 2586 |
The command used to stop and wait after sending TCF, before attempting to |
| 2587 |
receive a training response from the remote. Set this to ``AT+FRS=1'' if |
| 2588 |
you experience ``DIS/DTC received 3 times'' errors. |
| 2589 |
.TP |
| 2590 |
.B Class1Resolutions |
| 2591 |
A bitmapped (bit-or'd) value indicating the resolutions to be supported during facsimile |
| 2592 |
operation. Individual resolutions follow Table 21/T.32 and are defined as follows: |
| 2593 |
.ne 1i |
| 2594 |
.sp .5 |
| 2595 |
.ta \w'\fB131072 (0x20) \fP'u +\w'Modem Communications 'u |
| 2596 |
.nf |
| 2597 |
\fBBit Description\fP |
| 2598 |
0 (0x00) R8 x 3.85 l/mm, Normal |
| 2599 |
1 (0x01) R8 x 7.7 l/mm, Fine |
| 2600 |
2 (0x02) R8 x 15.4 l/mm, Superfine |
| 2601 |
4 (0x04) R16 x 15.4 l/mm, Hyperfine |
| 2602 |
8 (0x08) 200 dpi x 100 l/inch |
| 2603 |
16 (0x10) 200 dpi x 200 l/inch |
| 2604 |
32 (0x20) 200 dpi x 400 l/inch |
| 2605 |
64 (0x40) 300 dpi x 300 l/inch |
| 2606 |
.sp .5 |
| 2607 |
.fi |
| 2608 |
Thus, a value of 3 would indicate support for normal, fine, and superfine resolutions. |
| 2609 |
.TP |
| 2610 |
.B Class1RMQueryCmd |
| 2611 |
The command to send to the modem to get the list of supported reception bit-rates. |
| 2612 |
If the parameter begins with a ``!'', then the remainder of the |
| 2613 |
string is taken to be the modem response and no command is issued to the modem. |
| 2614 |
.TP |
| 2615 |
.B Class1TCFWaitCmd |
| 2616 |
The command used to stop and wait before sending TCF, similar to |
| 2617 |
.B Class1PPMWaitCmd. |
| 2618 |
According to T.30, Chapter 5, Note 3, this delay should be 75 +/- 20 ms. |
| 2619 |
.TP |
| 2620 |
.B Class1TMQueryCmd |
| 2621 |
The command to send to the modem to get the list of supported transmission bit-rates. |
| 2622 |
If the parameter begins with a ``!'', then the remainder of the |
| 2623 |
string is taken to be the modem response and no command is issued to the modem. |
| 2624 |
.TP |
| 2625 |
.B Class1EOPWaitCmd |
| 2626 |
The command used to stop and wait before sending the post page message |
| 2627 |
similar to |
| 2628 |
.B Class1PPMWaitCmd. |
| 2629 |
We allow a different setting in the case of EOP, however, because |
| 2630 |
empirically some machines may need more time. |
| 2631 |
.TP |
| 2632 |
.B Class1ModemHasDLEBug |
| 2633 |
Used to indicate that the modem does not correctly duplicate DLE characters |
| 2634 |
in the V.21 communication to the DTE. |
| 2635 |
.TP |
| 2636 |
.B Class1MsgRecvHackCmd |
| 2637 |
If receive failures occur due to +FCERROR just prior to image data |
| 2638 |
reception, setting |
| 2639 |
.B Class1MsgRecvHackCmd |
| 2640 |
to AT+FRS=1 may help. |
| 2641 |
.TP |
| 2642 |
.B Class1RecvAbortOK |
| 2643 |
The time, in milliseconds, to wait for an ``\s-1OK\s+1'' result code |
| 2644 |
from the modem after aborting an |
| 2645 |
.SM HDLC |
| 2646 |
frame receive (``\s-1AT+FRH=3\s+1''). |
| 2647 |
If this number is zero, then the modem is assumed to not correctly |
| 2648 |
implement aborting and instead the driver will wait 200ms, |
| 2649 |
flush any input, and then send ``\s-1AT\en\s+1'' and wait |
| 2650 |
100ms for an ``\s-1OK\s+1'' result. |
| 2651 |
.TP |
| 2652 |
.B Class1RecvIdentTimer |
| 2653 |
The time, in milliseconds, to wait for an initial |
| 2654 |
.SM DCS |
| 2655 |
when receiving a facsimile. |
| 2656 |
.SM CCITT |
| 2657 |
recommendation |
| 2658 |
.SM T.30 |
| 2659 |
specifies this as the value of the |
| 2660 |
.SM T1 |
| 2661 |
timer. |
| 2662 |
However, adaptive answering schemes such as that described |
| 2663 |
above under the |
| 2664 |
.B AdaptiveAnswer |
| 2665 |
parameter may require that this timer be shortened. |
| 2666 |
.TP |
| 2667 |
.B Class1RMPersistence |
| 2668 |
The number of times that an attempt to receive the high-speed data carrier |
| 2669 |
should be made, resulting in +FCERROR, before the low-speed message carrier |
| 2670 |
reception is attempted. Some modems are quick to (perhaps incorrectly) |
| 2671 |
return +FCERROR, and for those modems a value of 2 or 3 should be used. |
| 2672 |
For modems that are not quick to return +FCERROR, a value of 1 should be used. |
| 2673 |
Proper tuning of this can provide a type of "adaptive reception control" |
| 2674 |
for modems that accurately return +FCERROR without supporting |
| 2675 |
.B Class1AdaptRecvCmd. |
| 2676 |
For those modems that support |
| 2677 |
.B Class1AdaptRecvCmd, |
| 2678 |
.B Class1RMPersistence |
| 2679 |
should probably not be set at 1, although +FCERROR should almost never occur |
| 2680 |
with such modems. |
| 2681 |
.IP |
| 2682 |
If the modem does not support the reporting of +FCERROR or adaptive reception |
| 2683 |
control, then |
| 2684 |
.B Class1RMPersistence |
| 2685 |
should probably be set at 0, which causes the timeout looking for the high-speed |
| 2686 |
data carrier to be shortened, thus increasing the likelihood of recovery from |
| 2687 |
any dissynchronization. When |
| 2688 |
.B Class1RMPersistence |
| 2689 |
is other than 0 it is assumed that the +FCERROR reporting or |
| 2690 |
.B Class1AdaptRecvCmd |
| 2691 |
is functional and therefore the timeout looking for the high-speed data carrier |
| 2692 |
is lengthened. |
| 2693 |
.TP |
| 2694 |
.B Class1SwitchingCmd |
| 2695 |
The command used to ensure that the sending facsimile device has turned |
| 2696 |
off its modulator (i.e. loss-of-carrier) |
| 2697 |
as recommended by T.31: Appendix II.1. |
| 2698 |
.TP |
| 2699 |
.B Class1SFLOCmd |
| 2700 |
The command to setup software (\s-1XON/XOFF\s+1) flow control between |
| 2701 |
.SM DTE |
| 2702 |
and |
| 2703 |
.SM DCE |
| 2704 |
when operating in Class 1. |
| 2705 |
This command is issued immediately after sending the |
| 2706 |
.B Class1Cmd |
| 2707 |
to switch the modem to Class 1 operation. |
| 2708 |
.TP |
| 2709 |
.B Class1TCFMaxNonZero |
| 2710 |
The maximum percentage of non-zero data bytes |
| 2711 |
permitted in an acceptable received |
| 2712 |
.SM TCF. |
| 2713 |
Note that this number does not include any leading non-zero data |
| 2714 |
in the received data. |
| 2715 |
See also |
| 2716 |
.BR Class1TCFMinRun . |
| 2717 |
.TP |
| 2718 |
.B Class1TCFMinRun |
| 2719 |
The duration, in milliseconds, of the minimum run of zero data in |
| 2720 |
an acceptable received |
| 2721 |
.SM TCF. |
| 2722 |
This value should be specified according to a 1.5 second |
| 2723 |
transmission of zero data (i.e. it should be between 0 and 1500). |
| 2724 |
See also |
| 2725 |
.B Class1TCFMaxNonZero |
| 2726 |
and |
| 2727 |
.BR Class1TCFMinRunECMMod . |
| 2728 |
.TP |
| 2729 |
.B Class1TCFMinRunECMMod |
| 2730 |
The factor by which |
| 2731 |
.B Class1TCFMinRun |
| 2732 |
should be modified in the case of an ECM session. As ECM protocol |
| 2733 |
allows retransmissions it is commonly faster to accept a lesser-quality |
| 2734 |
data stream and the subsequent retransmisisons than it is to allow |
| 2735 |
the communication speed to slow down (where the demodulation may still |
| 2736 |
not produce an ideal data stream, anyway). |
| 2737 |
.TP |
| 2738 |
.B Class1TCFRecvHackCmd |
| 2739 |
If receive failures occur due to +FCERROR just prior to TCF data |
| 2740 |
reception, setting |
| 2741 |
.B Class1TCFRecvHackCmd |
| 2742 |
to AT+FRS=1 may help. |
| 2743 |
.TP |
| 2744 |
.B Class1TCFRecvTimeout |
| 2745 |
The maximum time to wait, in milliseconds, for the first byte and |
| 2746 |
again for the entirety of |
| 2747 |
the Training Check (\c |
| 2748 |
.SM TCF\c |
| 2749 |
) message data that is received during the |
| 2750 |
training phase of the facsimile reception protocol. |
| 2751 |
.TP |
| 2752 |
.B Class1TMConnectDelay |
| 2753 |
The time, in milliseconds, to delay after receiving CONNECT following +FTM |
| 2754 |
before sending image data. T.31 8.3.3 requires the modem to respond with |
| 2755 |
CONNECT before the modulation training pattern. If transmission begins |
| 2756 |
before the remote has successfully completed its own modulation training |
| 2757 |
pattern then data, especially during TCF, could be lost. Many modems do |
| 2758 |
not follow T.31 in this regard, and thus the default is zero; however its |
| 2759 |
use with such modems would likely have a negligible effect. |
| 2760 |
.TP |
| 2761 |
.B Class1ValidateV21Frames |
| 2762 |
Whether or not to use the FCS bits of received V.21 HDLC frames to check |
| 2763 |
the validity of the frame itself. Most Class 1 modems perform this |
| 2764 |
check independently (per T.31 7.4) and do not require this feature to be |
| 2765 |
enabled. |
| 2766 |
.SH "CLASS 2 AND 2.0 MODEM CONFIGURATION PARAMETERS" |
| 2767 |
.PP |
| 2768 |
The following parameters are specific to the configuration |
| 2769 |
of Class 2- and Class 2.0-style modems: |
| 2770 |
.TP |
| 2771 |
.B Class2Cmd |
| 2772 |
The command to set the modem into Class 2/2.0 operation. |
| 2773 |
.TP |
| 2774 |
.B Class2AbortCmd |
| 2775 |
The command to use to abort an established session. |
| 2776 |
After using this command to abort a session, |
| 2777 |
the fax software will send |
| 2778 |
.B ModemOnHookCmd |
| 2779 |
and then reset the modem by dropping |
| 2780 |
.SM DTR . |
| 2781 |
.TP |
| 2782 |
.B Class2APCmd |
| 2783 |
A largely unused option for modems supporting ITU-T.32, Class 2.1, |
| 2784 |
standards. This command would be used to enable sending and receiving |
| 2785 |
SUB, SEP, and PWD frames. |
| 2786 |
.TP |
| 2787 |
.B Class2APQueryCmd |
| 2788 |
A largely unused option for modems supporting ITU-T.32, Class 2.1, |
| 2789 |
standards. This command would be used to query the capabilities of |
| 2790 |
sending and receiving SUB, SEP, and PWD frames. |
| 2791 |
The value ``none'' may be used if the modem does not support any |
| 2792 |
.B Class2APQueryCmd. |
| 2793 |
.TP |
| 2794 |
.B Class2BORCmd |
| 2795 |
The command to setup the bit order of sent and |
| 2796 |
received facsimile data. |
| 2797 |
Usually the command ``\s-1AT+FBOR=0\s+1'' is used |
| 2798 |
so that data is sent and received in |
| 2799 |
.I direct |
| 2800 |
bit order (\s-1LSB2MSB\s+1). |
| 2801 |
Some modems, such as the Everex 24/96D, |
| 2802 |
must use reversed bit order for |
| 2803 |
Phase B and D data exchanges to avoid a bug that results in |
| 2804 |
garbage data being placed in the padding of |
| 2805 |
.SM EOL |
| 2806 |
codes. |
| 2807 |
The bit order specified by this command must correspond |
| 2808 |
to the settings of the |
| 2809 |
.B ModemSendFillOrder |
| 2810 |
and |
| 2811 |
.B ModemRecvFillOrder |
| 2812 |
parameters. |
| 2813 |
.TP |
| 2814 |
.B Class2BUGCmd |
| 2815 |
The command to use to enable or disable the tracing of |
| 2816 |
.SM HDLC |
| 2817 |
frames sent and received by the modem. |
| 2818 |
This tracing information should be returned to the host in ``\s-1+FHR:\s+1'' |
| 2819 |
and ``\s-1+FHT:\s+1'' status strings. |
| 2820 |
Note that many Class 2 modems do not support this facility, |
| 2821 |
which is largely used for diagnostic purposes. |
| 2822 |
The value ``none'' may be used if the modem does not support any |
| 2823 |
.B Class2BUGCmd. |
| 2824 |
.TP |
| 2825 |
.B Class2CIGCmd |
| 2826 |
The command used to set a polling identifier. |
| 2827 |
This string is inserted into the format ``\s-1%s="<id>"\s+1''. |
| 2828 |
.TP |
| 2829 |
.B Class2CQCmd |
| 2830 |
The command to use to set up parameters for copy quality checking. |
| 2831 |
For example, for an Everex 24/96D modem this parameter might be set to |
| 2832 |
``\s-1AT+FCQ=1\enAT+FBADMUL=20\enAT+FBADLIN=10\s+1''. |
| 2833 |
.B Class2CQCmd |
| 2834 |
should be configured to set-up all available copy quality services |
| 2835 |
available per |
| 2836 |
.B Class2CQQueryCmd. |
| 2837 |
To disable features that are available, configure |
| 2838 |
.B Class2CQQueryCmd |
| 2839 |
with a ``!'', and then set |
| 2840 |
.B Class2CQCmd |
| 2841 |
accordingly. |
| 2842 |
.TP |
| 2843 |
.B Class2CQQueryCmd |
| 2844 |
The command to send to the modem to get the copy quality capabilities string. |
| 2845 |
If the parameter begins with a ``!'', then the remainder of the |
| 2846 |
string is taken to be the capabilities string and no command |
| 2847 |
is issued to the modem; this can be used together with the |
| 2848 |
.B Class2CQCmd |
| 2849 |
to force copy quality checking to be done in the server instead |
| 2850 |
of in the modem. |
| 2851 |
See also |
| 2852 |
.B PercentGoodLines |
| 2853 |
and |
| 2854 |
.B MaxConsecutiveBadLines |
| 2855 |
for parameters used to do server copy quality checking. If copy quality |
| 2856 |
checking is configured to be done by the modem then it is not done by the server. |
| 2857 |
.TP |
| 2858 |
.B Class2CRCmd |
| 2859 |
The command to use to enable the reception of facsimile. |
| 2860 |
.TP |
| 2861 |
.B Class2DCCCmd |
| 2862 |
The command used to set modem capabilities. |
| 2863 |
This string is inserted into the format |
| 2864 |
``\s-1%s=vr,br,wd,ln,df,ec,bf,st\s+1''. |
| 2865 |
.TP |
| 2866 |
.B Class2DCCQueryCmd |
| 2867 |
The command to send to the modem to get the Class 2/2.0 capabilities. |
| 2868 |
If the parameter begins with a ``!'', then the remainder of the |
| 2869 |
string is taken to be the capabilities string and no command |
| 2870 |
is issued to the modem. |
| 2871 |
.TP |
| 2872 |
.B Class2DDISCmd |
| 2873 |
The command to set session parameters before dialing. |
| 2874 |
This string is inserted into the format |
| 2875 |
``\s-1%s=vr,br,wd,ln,df,ec,bf,st\s+1''. |
| 2876 |
Setting this parameter enables support for Class 2 modems that do not |
| 2877 |
properly implement the ``\s-1AT+FDIS\s+1'' command by |
| 2878 |
setting up session parameters before dialing the telephone. |
| 2879 |
.TP |
| 2880 |
.B Class2DISCmd |
| 2881 |
The command used to set the current session parameters. |
| 2882 |
This string is inserted into the format |
| 2883 |
``\s-1%s=vr,br,wd,ln,df,ec,bf,st\s+1''. |
| 2884 |
.TP |
| 2885 |
.B Class2ECMType |
| 2886 |
The interpretation of the EC parameter in the modem DCC response varies |
| 2887 |
between the Class 2, ``2'', and Class 2.0, ``2.0'', specifications. This |
| 2888 |
configuration parameter allows the administrator to specify which type to |
| 2889 |
use. The corresponding specification type is used by default. |
| 2890 |
.TP |
| 2891 |
.B Class2HexNSF |
| 2892 |
Whether or not to parse the NSF strings reported by the modem |
| 2893 |
using hexadecimal values. By default, they are parsed as hexadecimal values. |
| 2894 |
.TP |
| 2895 |
.B Class2HFLOCmd |
| 2896 |
The command to setup hardware (\s-1RTS/CTS\s+1) |
| 2897 |
flow control between |
| 2898 |
.SM DTE |
| 2899 |
and |
| 2900 |
.SM DCE |
| 2901 |
when operating in Class 2/2.0. |
| 2902 |
This command is issued immediately after sending the |
| 2903 |
.B Class2Cmd |
| 2904 |
to switch the modem to Class 2/2.0 operation. |
| 2905 |
For Class 2.0 operation the default is ``\s-1AT+FLO=2\s+1''. |
| 2906 |
.TP |
| 2907 |
.B Class2JPEGSupport |
| 2908 |
Whether or not to enable and utilize the JPEG support found in the modem. |
| 2909 |
.TP |
| 2910 |
.B Class2LIDCmd |
| 2911 |
The command used to set the local identifier string. |
| 2912 |
This string is inserted into the format ``\s-1%s="<id>"\s+1'' |
| 2913 |
.TP |
| 2914 |
.B Class2MINSPCmd |
| 2915 |
The command used to set the minimum acceptable speed to be negotiated |
| 2916 |
for transmitting page data. |
| 2917 |
This string is inserted into the format ``\s-1%s=<speed>\s+1'' |
| 2918 |
.TP |
| 2919 |
.B Class2NFLOCmd |
| 2920 |
The command to setup no flow control between |
| 2921 |
.SM DTE |
| 2922 |
and |
| 2923 |
.SM DCE |
| 2924 |
when operating in Class 2/2.0. |
| 2925 |
This command is issued immediately after sending the |
| 2926 |
.B Class2Cmd |
| 2927 |
to switch the modem to Class 2 operation. |
| 2928 |
For Class 2.0 operation the default is ``\s-1AT+FLO=0\s+1''. |
| 2929 |
.TP |
| 2930 |
.B Class2NRCmd |
| 2931 |
(\fIClass 2.0 only\fP) |
| 2932 |
The command to setup negotiation message reporting. |
| 2933 |
For the correct operation of the Class 2.0 driver |
| 2934 |
this command must enable the reporting of: |
| 2935 |
receiver parameters, transmitter parameters, and ID strings. |
| 2936 |
It is not necessary to enable reporting of non-standard frames |
| 2937 |
for correct operation of the Class 2.0 driver. |
| 2938 |
.TP |
| 2939 |
.B Class2PACmd |
| 2940 |
A largely unused option for modems supporting ITU-T.32, Class 2.1, |
| 2941 |
standards. This command would be used to set up the polling address |
| 2942 |
string enabled by the |
| 2943 |
.BR Class2APCmd . |
| 2944 |
.TP |
| 2945 |
.B Class2PHCTOCmd |
| 2946 |
The command to use to set the Phase C timeout parameter (in seconds). |
| 2947 |
The value ``none'' may be used if the modem does not support any |
| 2948 |
.B Class2PHCTOCmd. |
| 2949 |
.TP |
| 2950 |
.B Class2PIECmd |
| 2951 |
(\fIClass 2.0 only\fP) |
| 2952 |
The command to use to control procedure interrupt handling. |
| 2953 |
Procedure interrupts should be disabled because |
| 2954 |
\*(Fx does not provide a mechanism for dispatching procedure interrupts |
| 2955 |
to an administrator. |
| 2956 |
.TP |
| 2957 |
.B Class2PTSCmd |
| 2958 |
The command to use to set the received page status code. |
| 2959 |
When copy quality checking is done in the host, this command may be |
| 2960 |
used to control the post-page response delivered to the sender. |
| 2961 |
Beware that some modems do not properly implement this command |
| 2962 |
in which case the server should be configured to not do copy quality |
| 2963 |
check: see the |
| 2964 |
.B PercentGoodLines |
| 2965 |
and |
| 2966 |
.B MaxConsecutiveBadLines |
| 2967 |
parameters to understand how to defeat copy quality checking. |
| 2968 |
.TP |
| 2969 |
.B Class2PTSQueryCmd |
| 2970 |
The command to use to query the received page status code. |
| 2971 |
This command may be used to determine the post-page response returned from |
| 2972 |
the receiver. |
| 2973 |
Beware that some modems do not properly implement this command |
| 2974 |
in which case this setting should be set to ``none''. |
| 2975 |
.TP |
| 2976 |
.B Class2PWCmd |
| 2977 |
A largely unused option for modems supporting ITU-T.32, Class 2.1, |
| 2978 |
standards. This command would be used to set up the password |
| 2979 |
string enabled by the |
| 2980 |
.BR Class2APCmd . |
| 2981 |
.TP |
| 2982 |
.B Class2RecvDataTrigger |
| 2983 |
The character to send to the modem to trigger the transmission |
| 2984 |
of received data from the modem to the host. |
| 2985 |
This character is specified to be |
| 2986 |
.SM DC1 |
| 2987 |
(octal 21) in the |
| 2988 |
draft specification 2388-A and |
| 2989 |
.SM DC2 |
| 2990 |
(octal 22) in the 2388-B |
| 2991 |
specification. |
| 2992 |
Most Class 2 modems accept |
| 2993 |
.SM DC1 |
| 2994 |
or both |
| 2995 |
.SM DC1 |
| 2996 |
and |
| 2997 |
.SM DC2. |
| 2998 |
Some modems however only accept |
| 2999 |
.SM DC2. |
| 3000 |
Note that string parameters may use C-style escape sequences, |
| 3001 |
so |
| 3002 |
.SM DC2, |
| 3003 |
for example, would be specified as ``"\e022"''. |
| 3004 |
.TP |
| 3005 |
.B Class2RELCmd |
| 3006 |
The command to use to enable the delivery of byte-aligned |
| 3007 |
.SM EOL |
| 3008 |
codes in received facsimile. |
| 3009 |
If this parameter is defined, then received facsimile data |
| 3010 |
will be marked to indicate that |
| 3011 |
.SM EOL |
| 3012 |
codes are byte-aligned; otherwise they will be marked as |
| 3013 |
not (necessarily) having byte-aligned codes. |
| 3014 |
.TP |
| 3015 |
.B Class2RTFCC |
| 3016 |
Whether or not to enable MultiTech's Real-Time Fax Compression Conversion |
| 3017 |
which is available in later firmware revisions for the MT5634ZBA-V92, |
| 3018 |
MT5634ZPX-PCI-V92, and other models. RTFCC allows HylaFAX to convert the |
| 3019 |
image compression between MH MR and MMR formats regardless of how faxq |
| 3020 |
formatted the image file. If RTFCC is available with your firmware, then |
| 3021 |
the response to ``AT+FFC=?'' is non-zero. Note that when using RTFCC, the |
| 3022 |
compression format of the file will be ignored, thus the ``-1'', ``-2'', |
| 3023 |
and ``-3'' options for sendfax, ps2fax, and others will not influence the |
| 3024 |
actual negotiated session parameters. |
| 3025 |
.TP |
| 3026 |
.B Class2SACmd |
| 3027 |
A largely unused option for modems supporting ITU-T.32, Class 2.1, |
| 3028 |
standards. This command would be used to set up the destination |
| 3029 |
subaddress string enabled by the |
| 3030 |
.BR Class2APCmd . |
| 3031 |
.TP |
| 3032 |
.B Class2SendRTC |
| 3033 |
Whether or not to append an explicit ``Return To Control'' (\s-1RTC\s+1) |
| 3034 |
signal to the page data when transmitting. |
| 3035 |
The Class 2 and Class 2.0 specs (i.e. SP-2388-A and TIA/EIA-592) state |
| 3036 |
that the modem will append |
| 3037 |
.SM RTC |
| 3038 |
when it receives the post-page message command from the host; this |
| 3039 |
parameter is provided in case the modem does not correctly implement |
| 3040 |
this. |
| 3041 |
.TP |
| 3042 |
.B Class2SFLOCmd |
| 3043 |
The command to setup software (\s-1XON/XOFF\s+1) flow control between |
| 3044 |
.SM DTE |
| 3045 |
and |
| 3046 |
.SM DCE |
| 3047 |
when operating in Class 2/2.0. |
| 3048 |
This command is issued immediately after sending the |
| 3049 |
.B Class2Cmd |
| 3050 |
to switch the modem to Class 2/2.0 operation. |
| 3051 |
For Class 2.0 operation the default is ``\s-1AT+FLO=1\s+1''. |
| 3052 |
.TP |
| 3053 |
.B Class2SPLCmd |
| 3054 |
The command to use to enable a polling request. |
| 3055 |
The value ``none'' may be used if the modem does not support any |
| 3056 |
.B Class2SPLCmd. |
| 3057 |
.TP |
| 3058 |
.B Class2TBCCmd |
| 3059 |
The command to use to enable stream-mode communication between the |
| 3060 |
host and modem. |
| 3061 |
The value ``none'' may be used if the modem does not support any |
| 3062 |
.B Class2TBCCmd. |
| 3063 |
.TP |
| 3064 |
.B Class2UseLineCount |
| 3065 |
Whether or not to use the line count reported to HylaFAX by the |
| 3066 |
modem firmware decoder. |
| 3067 |
.TP |
| 3068 |
.B Class2UseHex |
| 3069 |
Whether or not to parse the capabilities strings reported by the modem |
| 3070 |
using hexadecimal values. By default, they are parsed as decimal values. |
| 3071 |
.TP |
| 3072 |
.B Class2XmitWaitForXON |
| 3073 |
Whether or not to wait for an |
| 3074 |
.SM XON |
| 3075 |
character from the modem |
| 3076 |
before sending facsimile data to the modem for transmission. |
| 3077 |
Note that this is only relevant for modems that conform to the |
| 3078 |
Class 2 spec (i.e. SP-2388-A). |
| 3079 |
The Class 2.0 specification states that the host may transmit |
| 3080 |
data immediately upon receiving |
| 3081 |
.SM CONNECT |
| 3082 |
and that no |
| 3083 |
.SM XON |
| 3084 |
character will be sent to the host. |
| 3085 |
.SH "PAGER-RELATED CONFIGURATION PARAMETERS" |
| 3086 |
.PP |
| 3087 |
The following parameters are specific to the configuration |
| 3088 |
and operation of the IXO/TAP and UCP support for sending pager messages |
| 3089 |
and GSM SM. Parameter not used for UCP are marked with |
| 3090 |
``(\fIIXO/TAP only\fP)''. |
| 3091 |
.TP |
| 3092 |
.B PagerSetupCmds |
| 3093 |
The commands to send to a modem to prepare the modem for a |
| 3094 |
call to pager service provider. |
| 3095 |
Typically these commands place direct the modem to communicate |
| 3096 |
with the service provider at 300 bps using the V.21 protocol. |
| 3097 |
Per-service provider command strings can be setup in the |
| 3098 |
info database; see |
| 3099 |
.IR hylafax-info (${MANNUM4_5}). |
| 3100 |
.TP |
| 3101 |
.B PagerMaxMsgLength |
| 3102 |
The maximum length for a pager text message. |
| 3103 |
Messages longer than this number are truncated. |
| 3104 |
Per-service provider message lengths can be setup in the |
| 3105 |
info database; see |
| 3106 |
.IR hylafax-info (${MANNUM4_5}). |
| 3107 |
.TP |
| 3108 |
.B IXOService |
| 3109 |
(\fIIXO/TAP only\fP) |
| 3110 |
The service identification string transmitted as part of the |
| 3111 |
.SM IXO/TAP |
| 3112 |
protocol. |
| 3113 |
.TP |
| 3114 |
.B IXODeviceID |
| 3115 |
(\fIIXO/TAP only\fP) |
| 3116 |
The terminal device identification string transmitted as part of the |
| 3117 |
.SM IXO/TAP |
| 3118 |
protocol. |
| 3119 |
.TP |
| 3120 |
.B IXOMaxUnknown |
| 3121 |
The maximum number of unrecognized messages that will be accepted |
| 3122 |
at various stages of the |
| 3123 |
.SM IXO/TAP |
| 3124 |
protocol before the sender will abort and hangup the phone. |
| 3125 |
.TP |
| 3126 |
.B IXOIDProbe |
| 3127 |
(\fIIXO/TAP only\fP) |
| 3128 |
The time, in seconds, between sending a ``\er'' during the |
| 3129 |
initial ID recognition sequence of the |
| 3130 |
.SM IXO/TAP |
| 3131 |
protocol. |
| 3132 |
.TP |
| 3133 |
.B IXOIDTimeout |
| 3134 |
(\fIIXO/TAP only\fP) |
| 3135 |
The maximum time, in seconds, to wait for the initial ID response from |
| 3136 |
the service provider. |
| 3137 |
.TP |
| 3138 |
.B IXOLoginRetries |
| 3139 |
(\fIIXO/TAP only\fP) |
| 3140 |
The maximum number of attempts to login to a service provider. |
| 3141 |
.TP |
| 3142 |
.B IXOLoginTimeout |
| 3143 |
(\fIIXO/TAP only\fP) |
| 3144 |
The maximum time, in seconds, to wait to complete the login procedure. |
| 3145 |
.TP |
| 3146 |
.B IXOGATimeout |
| 3147 |
(\fIIXO/TAP only\fP) |
| 3148 |
The maximum time, in seconds, to wait for a Go-Ahead message from the service |
| 3149 |
provider. |
| 3150 |
.TP |
| 3151 |
.B IXOXmitRetries |
| 3152 |
The maximum number of times to try sending a text message block |
| 3153 |
in a single call. |
| 3154 |
.TP |
| 3155 |
.B IXOXmitTimeout |
| 3156 |
The maximum time, in seconds, to try transmitting a text message block. |
| 3157 |
.TP |
| 3158 |
.B IXOAckTimeout |
| 3159 |
(\fIIXO/TAP only\fP) |
| 3160 |
integer \s-130\s+1 IXO: max time to wait for msg block ack (secs) |
| 3161 |
The maximum time, in seconds, to wait for an acknowledgement |
| 3162 |
to a transmitted message. |
| 3163 |
.SH "PROTOTYPE CONFIGURATION FILES" |
| 3164 |
Per-modem configuration files are typically derived from |
| 3165 |
prototype files that have been created for known modems. |
| 3166 |
These prototype files are kept in the |
| 3167 |
.B config |
| 3168 |
subdirectory and, by convention, have names |
| 3169 |
that identify a brand or type of modem and the |
| 3170 |
.SM DTE-DCE |
| 3171 |
flow control scheme the prototype files configures. |
| 3172 |
The |
| 3173 |
.IR faxaddmodem (${MANNUM1_8}) |
| 3174 |
program that is used to configure a modem for use with |
| 3175 |
\*(Fx selects a prototype configuration file using information |
| 3176 |
retrieved from the modem and comments embedded in the prototype files. |
| 3177 |
For Class 1 modems the product ID code returned by the command |
| 3178 |
``\s-1ATI0\s+1'' |
| 3179 |
and the response from the command |
| 3180 |
``\s-1ATI3\s+1'' |
| 3181 |
are used to select a prototype configuration file, while for Class 2 |
| 3182 |
modems the manufacturer and model as returned by |
| 3183 |
``\s-1AT+FMFR?\s+1'' and ``\s-1AT+FMDL?\s+1'', respectively, are |
| 3184 |
used (or ``\s-1AT+FMI?\s+1'' and ``\s-1AT+FMM?\s+1'' for |
| 3185 |
Class 2.0 modems). |
| 3186 |
.PP |
| 3187 |
A Class 1 prototype configuration file is identified for use by |
| 3188 |
.I faxaddmodem |
| 3189 |
by searching for a comment of the form: |
| 3190 |
.nf |
| 3191 |
.sp .5 |
| 3192 |
\fC# CONFIG:CLASS1:144:.*:RTSCTS: Manufacturer='AT&T' Model=Dataport\fR |
| 3193 |
.sp .5 |
| 3194 |
.fi |
| 3195 |
In this example ``144'' is the product ID code for an \s-1AT&T\s+1 DataPort |
| 3196 |
modem, ``.*'' is a regular expression matched against the result string |
| 3197 |
returned by the ``\s-1ATI3\s+1'' command, |
| 3198 |
and ``\s-1RTSCTS\s+1'' indicates the modem is configured to |
| 3199 |
use hardware flow control during fax operation. |
| 3200 |
The remainder of the line is evaluated by the |
| 3201 |
.IR sh (1) |
| 3202 |
and used to specify the modem's manufacturer and model (since Class 1 |
| 3203 |
modems do not have standard commands to query this information). |
| 3204 |
.PP |
| 3205 |
Class 2 and 2.0 prototype configuration files match the string |
| 3206 |
``\fImanufacturer\fP-\fImodel\fP-\fIflowcontrol\fP'' against a |
| 3207 |
.IR sh (1) |
| 3208 |
glob pattern specified in the configuration file, where |
| 3209 |
.I manufacturer |
| 3210 |
and |
| 3211 |
.I model |
| 3212 |
are the strings returned by querying the modem and |
| 3213 |
.I flowcontrol |
| 3214 |
is either ``\s-1RTSCTS\s+1'' for hardware flow control or |
| 3215 |
``\s-1XONXOFF\s+1'' for software flow control. |
| 3216 |
For example: |
| 3217 |
.sp .5 |
| 3218 |
\fC# CONFIG: CLASS2: ZyXEL*-RTSCTS\fP |
| 3219 |
.br |
| 3220 |
\fC# CONFIG: CLASS2.0: USRobotics*-XONXOFF\fP |
| 3221 |
.sp .5 |
| 3222 |
are configuration comments that appear in the prototype file for |
| 3223 |
a \s-1ZyXEL 1496E\s+1 with Class 2 support, and for a US Robotics Courier |
| 3224 |
modem with Class 2.0 firmware. |
| 3225 |
.PP |
| 3226 |
The |
| 3227 |
.I faxaddmodem |
| 3228 |
program merges server-specific configuration parameters |
| 3229 |
into a prototype configuration according to comments |
| 3230 |
placed in the prototype file. |
| 3231 |
All lines between ``\s-1BEGIN-SERVER\s+1'' and ``\s-1END-SERVER\s+1'' |
| 3232 |
comments are placed with the appropriate server configuration |
| 3233 |
parameters. |
| 3234 |
Note that this means modem-related configuration parameters |
| 3235 |
must be placed outside this area of the file. |
| 3236 |
.SH "SEE ALSO" |
| 3237 |
.IR faxaddmodem (${MANNUM1_8}), |
| 3238 |
.IR faxq (${MANNUM1_8}), |
| 3239 |
.IR faxgetty (${MANNUM1_8}), |
| 3240 |
.IR faxsend (${MANNUM1_8}), |
| 3241 |
.IR hylafax-server (${MANNUM4_5}) |