Specifications
HYLAFAX-CONFIG(5F) HYLAFAX-CONFIG(5F)
response to a command sent to the modem. The possible response codes are:
NOTHING anull response
OK the default response
CONNECT ‘‘CONNECT...’’
NOANSWER ‘‘NO ANSWER...’’
NOCARRIER ‘‘NO CARRIER...’’
NODIALTONE ‘‘NO DIALTONE...’’
BUSY ‘‘BUSY’’
OFFHOOK ‘‘PHONE OFF-HOOK’’
RING ‘‘RING...’’
ERROR error status from modem
VCON voice connection indicator
OTHER anyunrecognized modem response
Forexample ‘‘AT O\r<waitfor:CONNECT>’’ would send ‘‘AT O \r’’tothe modem and then wait for a response
with a leading ‘‘CONNECT’’ init; and ‘‘ATS99=2\r<delay:2><flush><waitfor:NOTHING>’’ would send
‘‘ATS99=2\r’’ tothe modem, delay 20 ms, flush anyinput from the modem, and then continue (not wait for
anyresponse).
The ‘‘<play:filename>’’escape can be used to play a rawaudio file with a voice modem. This feature can
be used, for example, to play a brief audio message after picking up the line but before answering. Acon-
figuration example may be:
ModemRingResponse: "AT+FCLASS=8;H1\nAT+VSM=131\nAT+VLS=1\nAT+VTX\n<waitfor:CONNECT><play:/sounds/enter
ModemAnswerCmd: "<delay:100>AT+FCLASS=1;A"
CallIDPattern: SHIELDED_DTMF
CallIDAnswerLength: 4
In this example using an IS-101 voice-compliant modem, a RING indication from the modem will cause
the modem to be placed in voice mode, set ulawaudio compression, and via the connected phone line play
back the etc/play1.rawaudio file, which may say,"After the tone enter a four-digit extension, then start the
fax." Following the message a tone is played.
ModemAnswerCmd
The command to answer the phone. If possible, this command should generate a result string that
identifies whether the incoming call is from a facsimile, voice, or data modem. Typically this
auto-detection is configured ahead of time; e.g. for Class 2 modems with the ‘‘AT+FAA=1’’ com-
mand.
The following table describes howthe result codes are interpreted by the facsimile server.
Result String Default Class 1Class 2 Class2.0
CONNECT FAX Fax−−−−
CONNECT Data Unknown − −
NO ANSWER No Answer −−−
NO CARRIER No Carrier −−−
NO DIALTONE No Dialtone −−−
ERROR Error − −−
FAX Fax−−−
DATA Data − −−
+FCON −−FaxFax
+FCO −−FaxFax
+FDM −−Data Data
+FHNG: −−Error Error
VCON −−Voice Voice
The ‘‘Default’’column indicates the interpretation made for the result string in either class 1 or 2
$Date$ 22