HylaFAX The world's most advanced open source fax server

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

[hylafax-users] receiving on an external usr courier ?



Hi list !

I've looked all over the place and don't get why I'm not receiving faxes.

Phone rings, modem picks up, negociates, then the speaker shuts and a second or two later it hangs up.

I tried Class 2.0 rtscts, class 1 xonxoff and class 1 rtscts - default probed config files (from faxaddmodem)
Below is the rtscts class 1 version of the config file


RedHat linux 7.3, hylafax 4.2.5

Thanks a bunch !!

===
$sudo tail /var/log/messages:
Feb 17 13:48:42 laura FaxGetty[17291]: MODEM USR USRobotics Courier V.Everything/USRobotics Courier V.Everything Configuration Profile... Product type France External Options HST,V32bis,Terbo,VFC,V34+,x2 Fax Options Class 1,Class 2.0 Clock Freq 20.16Mhz Flash ROM 512k Ram 64k Supervisor date 04/23/97 DSP date 04/21/97 Supervisor rev 033-7.1.8 DSP rev 2.2.5 Serial Number 21NDDAV7ZFZE


Feb 17 13:48:48 laura FaxGetty[17291]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS0'

Feb 17 13:49:48 laura FaxGetty[17291]: MODEM USR USRobotics Courier V.Everything/USRobotics Courier V.Everything Configuration Profile... Product type France External Options HST,V32bis,Terbo,VFC,V34+,x2 Fax Options Class 1,Class 2.0 Clock Freq 20.16Mhz Flash ROM 512k Ram 64k Supervisor date 04/23/97 DSP date 04/21/97 Supervisor rev 033-7.1.8 DSP rev 2.2.5 Serial Number 21NDDAV7ZFZE

===

$ ps wax | grep fax
22769 ?        S      0:00 /usr/local/sbin/faxq
22771 ?        S      0:00 /usr/local/sbin/hfaxd -i hylafax
17291 ?        S      0:00 /usr/local/sbin/faxgetty ttyS0
20982 pts/2    R      0:00 grep fax

===

$ sudo cat log/c000000015
Password:
Feb 17 10:08:47.59: [16246]: SESSION BEGIN 000000015 21222248786
Feb 17 10:08:47.59: [16246]: HylaFAX (tm) Version 4.2.5
Feb 17 10:08:47.59: [16246]: <-- [13:AT+FCLASS=1A\r]
Feb 17 10:08:52.86: [16246]: --> [7:CONNECT]
Feb 17 10:08:52.86: [16246]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyS0'
Feb 17 10:08:52.86: [16246]: RECV FAX: begin
Feb 17 10:08:52.86: [16246]: <-- data [32]
Feb 17 10:08:52.86: [16246]: <-- data [2]
Feb 17 10:08:54.84: [16246]: --> [7:CONNECT]
Feb 17 10:08:54.84: [16246]: <-- data [23]
Feb 17 10:08:54.84: [16246]: <-- data [2]
Feb 17 10:08:56.00: [16246]: --> [7:CONNECT]
Feb 17 10:08:56.00: [16246]: <-- data [13]
Feb 17 10:08:56.00: [16246]: <-- data [2]
Feb 17 10:08:56.90: [16246]: --> [2:OK]
Feb 17 10:08:56.90: [16246]: <-- [9:AT+FRH=3\r]
Feb 17 10:08:58.03: [16246]: --> [7:CONNECT]
Feb 17 10:08:58.67: [16246]: --> [5:ERROR]
Feb 17 10:08:58.67: [16246]: MODEM Command error
Feb 17 10:08:58.67: [16246]: FCS error
Feb 17 10:08:58.67: [16246]: DELAY 70 ms
Feb 17 10:08:58.74: [16246]: <-- [9:AT+FTH=3\r]
Feb 17 10:08:58.85: [16246]: --> [7:CONNECT]
Feb 17 10:08:58.86: [16246]: <-- data [3]
Feb 17 10:08:58.86: [16246]: <-- data [2]
Feb 17 10:09:00.07: [16246]: --> [2:OK]
Feb 17 10:09:00.07: [16246]: RECV send CRP (command repeat)
Feb 17 10:09:00.07: [16246]: <-- [9:AT+FRH=3\r]
Feb 17 10:09:02.60: [16246]: --> [7:CONNECT]
Feb 17 10:09:02.75: [16246]: --> [5:ERROR]
Feb 17 10:09:02.75: [16246]: MODEM Command error
Feb 17 10:09:02.75: [16246]: FCS error
Feb 17 10:09:02.75: [16246]: DELAY 70 ms
Feb 17 10:09:02.82: [16246]: <-- [9:AT+FTH=3\r]
Feb 17 10:09:02.93: [16246]: --> [7:CONNECT]
Feb 17 10:09:02.93: [16246]: <-- data [3]
Feb 17 10:09:02.93: [16246]: <-- data [2]
Feb 17 10:09:04.14: [16246]: --> [2:OK]
Feb 17 10:09:04.14: [16246]: RECV send CRP (command repeat)
Feb 17 10:09:04.14: [16246]: <-- [9:AT+FRH=3\r]
Feb 17 10:09:07.46: [16246]: --> [7:CONNECT]
Feb 17 10:09:08.09: [16246]: --> [5:ERROR]
Feb 17 10:09:08.09: [16246]: MODEM Command error
Feb 17 10:09:08.09: [16246]: FCS error
Feb 17 10:09:08.09: [16246]: DELAY 70 ms
Feb 17 10:09:08.16: [16246]: <-- [9:AT+FTH=3\r]
Feb 17 10:09:08.27: [16246]: --> [7:CONNECT]
Feb 17 10:09:08.27: [16246]: <-- data [3]
Feb 17 10:09:08.27: [16246]: <-- data [2]
Feb 17 10:09:09.48: [16246]: --> [2:OK]
Feb 17 10:09:09.48: [16246]: RECV send CRP (command repeat)
Feb 17 10:09:09.48: [16246]: <-- [9:AT+FRH=3\r]
Feb 17 10:09:11.95: [16246]: --> [7:CONNECT]
Feb 17 10:09:11.98: [16246]: --> [5:ERROR]
Feb 17 10:09:11.98: [16246]: MODEM Command error
Feb 17 10:09:11.98: [16246]: FCS error
Feb 17 10:09:11.98: [16246]: DELAY 1500 ms
Feb 17 10:09:13.48: [16246]: <-- [9:AT+FTH=3\r]
Feb 17 10:09:13.59: [16246]: --> [7:CONNECT]
Feb 17 10:09:13.59: [16246]: <-- data [32]
Feb 17 10:09:13.59: [16246]: <-- data [2]
Feb 17 10:09:15.57: [16246]: --> [7:CONNECT]
Feb 17 10:09:15.57: [16246]: <-- data [23]
Feb 17 10:09:15.57: [16246]: <-- data [2]
Feb 17 10:09:16.73: [16246]: --> [7:CONNECT]
Feb 17 10:09:16.73: [16246]: <-- data [13]
Feb 17 10:09:16.73: [16246]: <-- data [2]
Feb 17 10:09:17.62: [16246]: --> [2:OK]
Feb 17 10:09:17.62: [16246]: <-- [9:AT+FRH=3\r]
Feb 17 10:09:18.77: [16246]: --> [7:CONNECT]
Feb 17 10:09:19.40: [16246]: --> [5:ERROR]
Feb 17 10:09:19.40: [16246]: MODEM Command error
Feb 17 10:09:19.40: [16246]: FCS error
Feb 17 10:09:19.40: [16246]: DELAY 70 ms
Feb 17 10:09:19.47: [16246]: <-- [9:AT+FTH=3\r]
Feb 17 10:09:19.58: [16246]: --> [7:CONNECT]
Feb 17 10:09:19.58: [16246]: <-- data [3]
Feb 17 10:09:19.58: [16246]: <-- data [2]
Feb 17 10:09:20.79: [16246]: --> [2:OK]
Feb 17 10:09:20.79: [16246]: RECV send CRP (command repeat)
Feb 17 10:09:20.79: [16246]: <-- [9:AT+FRH=3\r]
Feb 17 10:09:23.34: [16246]: --> [7:CONNECT]
Feb 17 10:09:23.50: [16246]: --> [5:ERROR]
Feb 17 10:09:23.50: [16246]: MODEM Command error
Feb 17 10:09:23.50: [16246]: FCS error
Feb 17 10:09:23.50: [16246]: DELAY 70 ms
Feb 17 10:09:23.57: [16246]: <-- [9:AT+FTH=3\r]
Feb 17 10:09:23.68: [16246]: --> [7:CONNECT]
Feb 17 10:09:23.68: [16246]: <-- data [3]
Feb 17 10:09:23.68: [16246]: <-- data [2]
Feb 17 10:09:24.89: [16246]: --> [2:OK]
Feb 17 10:09:24.89: [16246]: RECV send CRP (command repeat)
Feb 17 10:09:24.89: [16246]: <-- [9:AT+FRH=3\r]
Feb 17 10:09:28.29: [16246]: --> [7:CONNECT]
Feb 17 10:09:28.31: [16246]: --> [5:ERROR]
Feb 17 10:09:28.31: [16246]: MODEM Command error
Feb 17 10:09:28.31: [16246]: FCS error
Feb 17 10:09:28.31: [16246]: DELAY 70 ms
Feb 17 10:09:28.38: [16246]: <-- [9:AT+FTH=3\r]
Feb 17 10:09:28.49: [16246]: --> [7:CONNECT]
Feb 17 10:09:28.49: [16246]: <-- data [3]
Feb 17 10:09:28.49: [16246]: <-- data [2]
Feb 17 10:09:29.70: [16246]: --> [2:OK]
Feb 17 10:09:29.70: [16246]: RECV send CRP (command repeat)
Feb 17 10:09:29.70: [16246]: <-- [9:AT+FRH=3\r]
Feb 17 10:09:36.70: [16246]: --> [0:]
Feb 17 10:09:36.70: [16246]: MODEM <Empty line>
Feb 17 10:09:36.70: [16246]: <-- data [1]
Feb 17 10:09:36.71: [16246]: --> [2:OK]
Feb 17 10:09:36.71: [16246]: RECV FAX: No answer (T.30 T1 timeout)
Feb 17 10:09:36.71: [16246]: RECV FAX: end
Feb 17 10:09:36.71: [16246]: SESSION END

===

[fh@laura hylafax]$ cat etc/config.ttyS0
# $Id: usr-rts,v 1.7 2004/05/19 21:17:23 lhoward Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
#(...)
# OF THIS SOFTWARE.
#

#
# Configuration for using the Class 1 command interface with
# a USR Courier or Sportster modem and RTS/CTS flow control.
#
#
CountryCode: 212
AreaCode: 22
FAXNumber: "+212 22 24 87 86"
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: high
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "HP Service Center"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
MaxRecvPages: 25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class1 # use class 1 interface
ModemRate: 19200 # rate for DCE-DTE communication
ModemFlowControl: rtscts # hardware 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
#
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
#
# 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&H1&I0&R2 # leave modem in class 0
ModemAnswerCmd: AT+FCLASS=1&H1&I0&R2A # force RTS/CTS after change
#
# Disables the reporting of bad frames by the modem. This
# overcomes a firmware problem in the x2 and V90 Sportsters.
# It is not necessary for the Courier modem.
#
Class2NRCmd: AT+FNR=1,1,1,0




Thanks again


Franck Horlaville IT Manager Qualitech




____________________ 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*




Project hosted by iFAX Solutions