HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] How to decrease Modem Initialization Time
When I send a fax, using "sendfax -n -d telephonenumber file", my modem
starts to compose number about 8 seconds after I executed the command.
I have already inserted in modem config file the strings:
ModemResetDelay: 0
ModemSoftResetCmdDelay: 0
My modem is a USRobotics
56k modem external connected on COM2
So, I wanted to know if there is a
wayto decrease time before modem start to compose number.
This is the
config.ttyS0 file:
AreaCode: 06
FAXNumber:
+39.06.XXX.XXX
LongDistancePrefix: 06
InternationalPrefix: 0039
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 0
SpeakerVolume: on
GettyArgs: "-h %l dx_%s"
LocalIdentifier:
"NothingSetup"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: ""
MaxRecvPages: 25
ModemType: Class1 # use class 1 interface
ModemRate: 19200 # rate for DCE-DTE
communication
ModemFlowControl: xonxoff # software flow
control
#
ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop
resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD
reflects carrier (or not)
ModemNoFlowCmd: AT&H0&I0&R1 #
setup modem for no flow control
ModemHardFlowCmd: AT&H1&I0&R2
# setup modem for hardware flow control
ModemSoftFlowCmd:
AT&H2&I2&R1 # setup modem for software flow control
ModemResultCodesCmd: ATQ0X4 # enable result codes
#
ModemResetDelay: 0
ModemSoftResetCmdDelay: 0
ModemMfrQueryCmd: !
USR
ModemModelQueryCmd: ATI3
ModemRevQueryCmd:
ATI7 # XXX returns a multi-line result
#
# When AT+FCLASS=1
is issued the modem automatically switches
# to software flow control;
these parameters let the fax software
# reset flow control as needed
after entering Class 1.
#
Class1NFLOCmd: AT&H0&I0&R1 #
setup modem for no flow control
Class1HFLOCmd: AT&H1&I0&R2
# setup modem for hardware flow control
Class1SFLOCmd:
"" # modem does this automatically
#
# This should resolve
"DIS/DTC received 3 times" errors:
#
Class1ResponseWaitCmd:
AT+FRS=1 # wait after sending TCF for response
#
# The remainder
of this configuration is included so that the
# modem "idles" in Class
0 while not sending or receiving facsimile.
#
ModemSetupAACmd:
AT+FCLASS=0 # leave modem idling in class 0
ModemAnswerCmd:
AT+FCLASS=1A # answer in Class 1
#
# When using AT+FRS=n we see USR
modems reset themselves in the middle of sessions
# this is not good.
So, we seem to work-around that problem by not using the
# command.
Unfortunately, this isn't an ideal thing.
#
Class1SwitchingCmd:
"<delay\0727>"
Thanks in advance for your help.
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*