HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

timeout on initialization using USR 56K faxmodem



Hi all.
As seen in our log (below), we are having a timeout on initialization using
USR 56K faxmodem (BSD OS 4.0, hylafax v4.0pl2).  I have experimented and
searched/browsed the log looking for similar problems (I found two, but no
solutions!).

A common thread that I am seeing is that we're using xonxoff, while others
are rtscts.  But I have tried the latter and tried dropping the flowrate to
9600, then 2400, to no avail.

I'm also concerned that the log shows a "\\r" in the modem command trace,
while everyone else has "\r".  We looked at the source C++, however, and saw
that this was just a constant added to the trace string.

Finally, we CAN get the modem to respond and dial, using the SAME init
string (sans \\r, of course) by just using tip.  But when hylafax takes
over, we time out.

Any hints would be apreciated!
Regards,
Michael


======================LOG=================================================
May 21 18:49:27 sissy FaxSend[527]: MODEM set DTR OFF
May 21 18:49:27 sissy FaxSend[527]: DELAY 2600 ms
May 21 18:49:29 sissy FaxSend[527]: MODEM set DTR ON
May 21 18:49:29 sissy FaxSend[527]: MODEM set baud rate: 9600 baud, input
flow XON/XOFF, output flow XON/XOFF
May 21 18:49:29 sissy FaxSend[527]: MODEM flush i/o
May 21 18:49:29 sissy FaxSend[527]: <-- [15:ATE0V1Q0S0=0H0\\r]
May 21 18:49:34 sissy FaxSend[527]: MODEM TIMEOUT: reading line from modem
May 21 18:49:34 sissy FaxSend[527]: MODEM <Timeout>
May 21 18:49:34 sissy FaxSend[527]: MODEM set DTR OFF
May 21 18:49:34 sissy FaxSend[527]: DELAY 2600 ms
May 21 18:49:37 sissy FaxSend[527]: MODEM set DTR ON
May 21 18:49:37 sissy FaxSend[527]: MODEM set baud rate: 9600 baud, input
flow XON/XOFF, output flow XON/XOFF
May 21 18:49:37 sissy FaxSend[527]: MODEM flush i/o
May 21 18:49:37 sissy FaxSend[527]: <-- [15:ATE0V1Q0S0=0H0\\r]
May 21 18:49:42 sissy FaxSend[527]: MODEM TIMEOUT: reading line from modem
May 21 18:49:42 sissy FaxSend[527]: MODEM <Timeout>
May 21 18:49:42 sissy FaxSend[527]: MODEM set DTR OFF
May 21 18:49:42 sissy FaxSend[527]: /dev/tty1a0: Can not initialize modem.
============================================================================
=======
Below I have appended an excerpt from the configuration portion of the log
May 21 18:49:27 sissy FaxSend[527]: servertracing = 0x2FFFF (line 40)
May 21 18:49:27 sissy FaxSend[527]: sessiontracing = 0x2FFFF (line 41)
May 21 18:49:27 sissy FaxSend[527]: recvfilemode = 0600 (line 42)
May 21 18:49:27 sissy FaxSend[527]: logfilemode = 0600 (line 43)
May 21 18:49:27 sissy FaxSend[527]: devicemode = 0600 (line 44)
May 21 18:49:27 sissy FaxSend[527]: Unknown configuration parameter
"ringsbeforeanswer" ignored at line 45
May 21 18:49:27 sissy FaxSend[527]: speakervolume = off (line 46)
May 21 18:49:27 sissy FaxSend[527]: Unknown configuration parameter
"gettyargs" ignored at line 47
May 21 18:49:27 sissy FaxSend[527]: localidentifier = NothingSetup (line 48)
May 21 18:49:27 sissy FaxSend[527]: taglinefont = etc/lutRS18.pcf (line 49)
May 21 18:49:27 sissy FaxSend[527]: taglineformat = From %%l|%c|Page %%p of
%%t (line 50)
May 21 18:49:27 sissy FaxSend[527]: qualifytsi = etc/tsi (line 51)
May 21 18:49:27 sissy FaxSend[527]: maxrecvpages = 25 (line 52)
May 21 18:49:27 sissy FaxSend[527]: modemtype = Class2.0 (line 58)
May 21 18:49:27 sissy FaxSend[527]: modemtype = Class2.0 (line 59)
May 21 18:49:27 sissy FaxSend[527]: modemrate = 9600 (line 60)
May 21 18:49:27 sissy FaxSend[527]: modemflowcontrol = xonxoff (line 61)
May 21 18:49:27 sissy FaxSend[527]: modemsetupdtrcmd = AT&D2 (line 62)
May 21 18:49:27 sissy FaxSend[527]: modemsetupdtrcmd = AT&D2 (line 63)
May 21 18:49:27 sissy FaxSend[527]: modemsetupdcdcmd = AT&C1 (line 64)
May 21 18:49:27 sissy FaxSend[527]: modemdialcmd = ATDT%s@ (line 76)
May 21 18:49:27 sissy FaxSend[527]: modemresetcmds =  (line 82)
May 21 18:49:27 sissy FaxSend[527]: modemanswercmd = ATA (line 83)
May 21 18:49:27 sissy FaxSend[527]: modemnoflowcmd = AT&K (line 84)
May 21 18:49:27 sissy FaxSend[527]: modemhardflowcmd = AT&K3 (line 85)
May 21 18:49:27 sissy FaxSend[527]: modemsoftflowcmd = AT&K4 (line 86)
May 21 18:49:27 sissy FaxSend[527]: modemnoautoanswercmd = ATS0=0 (line 87)
May 21 18:49:27 sissy FaxSend[527]: modemsetvolumecmd = ATM0 ATL0M1 ATL1M1
ATL2M1 ATL3M1 (line 92)
May 21 18:49:27 sissy FaxSend[527]: modemechooffcmd = ATE0 (line 93)
May 21 18:49:27 sissy FaxSend[527]: modemverboseresultscmd = ATV1 (line 94)
May 21 18:49:27 sissy FaxSend[527]: modemresultcodescmd = ATQ0 (line 95)
May 21 18:49:27 sissy FaxSend[527]: modemonhookcmd = ATH0 (line 96)
May 21 18:49:27 sissy FaxSend[527]: modemsoftresetcmd = ATZ (line 97)
May 21 18:49:27 sissy FaxSend[527]: modemwaittimecmd = ATS7=60 (line 98)
May 21 18:49:27 sissy FaxSend[527]: modemcommapausetimecmd = ATS8=2 (line
99)
May 21 18:49:27 sissy FaxSend[527]: modemrecvfillorder = LSB2MSB (line 100)
May 21 18:49:27 sissy FaxSend[527]: modemsendfillorder = LSB2MSB (line 101)
May 21 18:49:27 sissy FaxSend[527]: class2cmd = AT+FCLASS=2.0 (line 105)
May 21 18:49:27 sissy FaxSend[527]: class2borcmd = AT+FBO=0 (line 106)
May 21 18:49:27 sissy FaxSend[527]: class2cqcmd =  (line 107)
May 21 18:49:27 sissy FaxSend[527]: class2abortcmd = AT+FKS (line 108)
May 21 18:49:27 sissy FaxSend[527]: class2cqquerycmd = AT+FCQ=? (line 109)
May 21 18:49:27 sissy FaxSend[527]: class2dccquerycmd = AT+FCC=? (line 110)
May 21 18:49:27 sissy FaxSend[527]: class2tbccmd = AT+FPP=0 (line 111)
May 21 18:49:27 sissy FaxSend[527]: class2crcmd = AT+FCR=1 (line 112)
May 21 18:49:27 sissy FaxSend[527]: class2phctocmd = AT+FCT=30 (line 113)
May 21 18:49:27 sissy FaxSend[527]: class2bugcmd = AT+FBU=1 (line 114)
May 21 18:49:27 sissy FaxSend[527]: class2lidcmd = AT+FLI (line 115)
May 21 18:49:27 sissy FaxSend[527]: class2dcccmd = AT+FCC (line 116)
May 21 18:49:27 sissy FaxSend[527]: class2discmd = AT+FIS (line 117)
May 21 18:49:27 sissy FaxSend[527]: class2ddiscmd =  (line 118)
May 21 18:49:27 sissy FaxSend[527]: class2cigcmd = AT+FPI (line 119)
May 21 18:49:27 sissy FaxSend[527]: class2nrcmd = AT+FNR=1,1,1,0 (line 120)
May 21 18:49:27 sissy FaxSend[527]: class2piecmd = AT+FIE=0 (line 122)
May 21 18:49:27 sissy FaxSend[527]: class2ptscmd = AT+FPS (line 123)
May 21 18:49:27 sissy FaxSend[527]: class2splcmd = AT+FSP (line 124)
May 21 18:49:27 sissy FaxSend[527]: class2nflocmd = AT+FLO=0 (line 125)
May 21 18:49:27 sissy FaxSend[527]: class2sflocmd = AT+FLO=1 (line 126)
May 21 18:49:27 sissy FaxSend[527]: class2hflocmd = AT+FLO=2 (line 127)




Project hosted by iFAX Solutions