HylaFAX The world's most advanced open source fax server |
I'm unable to Recieve Faxes using HylaFAX-4.1.8 on Debian_GNU/Linux-(SID-20040701), While trying to recieve faxes, it first seem to recieve the fax, but then it hangs up - and logs this : --- Jul 03 22:24:06.95: [ 3032]: SESSION BEGIN 00000015 97230000007 Jul 03 22:24:06.96: [ 3032]: HylaFAX (tm) Version 4.1.8 Jul 03 22:24:12.07: [ 3032]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS1' Jul 03 22:24:12.07: [ 3032]: STATE CHANGE: ANSWERING -> RECEIVING Jul 03 22:24:31.11: [ 3032]: RECV/CQ: Bad 1D pixel count, row 2394, got 0, expected 1728 Jul 03 22:24:31.11: [ 3032]: RECV/CQ: Bad 1D pixel count, row 2395, got 0, expected 1728 Jul 03 22:24:31.11: [ 3032]: RECV/CQ: Bad 1D pixel count, row 2396, got 0, expected 1728 Jul 03 22:24:31.11: [ 3032]: RECV/CQ: Bad 1D pixel count, row 2397, got 0, expected 1728 Jul 03 22:24:31.11: [ 3032]: RECV/CQ: Bad 1D pixel count, row 2398, got 0, expected 1728 Jul 03 22:24:31.65: [ 3032]: RECV/CQ: Adjusting for RTC found at row 2393 Jul 03 22:25:02.86: [ 3032]: RECV FAX (00000015): recvq/fax00001.tif from Fax, route to <unspecified>, 0 pages in 0:50 Jul 03 22:25:02.88: [ 3032]: RECV FAX (00000015): session with Fax terminated abnormally: Failure to receive silence. Jul 03 22:25:02.88: [ 3032]: RECV FAX: bin/faxrcvd "recvq/fax00001.tif" "ttyS1" "00000015" "Failure to receive silence." "" "" Jul 03 22:25:03.34: [ 3032]: SESSION END ----- This is what i've got at '{/etc/hylafax, /var/spool/hylafax/etc}/config.ttyS1' (this is the sole modem on the system, and it's at '/dev/ttyS1') : --- # $Id: cirrus,v 1.2 2001/02/05 06:24:31 darren Exp $ # # HylaFAX Facsimile Software # # Configuration for modems based on the Cirrus Logic Chipset # (such as the builtin modem that comes with a WinBook XP). # # This configuration file sets up the modem for # 57.6 w/ hardware flow control. # # CountryCode: 972 AreaCode: 3 FAXNumber: "+972 3 0000007" LongDistancePrefix: 0 InternationalPrefix: 013 DialStringRules: etc/dialrules ServerTracing: 0x08501 SessionTracing: 0x08501 RecvDataFormat: "2-D MMR" RecvFileMode: 0640 LogFileMode: 0640 DeviceMode: 0660 RingsBeforeAnswer: 5 SpeakerVolume: off GettyArgs: "-r -b %l" LocalIdentifier: ZMan TagLineFormat: "From %%l|%c|Page %%P of %%T" PercentGoodLines: 90 # set to 0 if encountering probs. MaxRecvPages: 50 LockVoiceCalls: no # # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use this to supply a hint ModemRate: 38400 # rate for DCE-DTE communication ModemFlowControl: rtscts # RTS/CTS flow control assumed # ModemSoftFlowCmd: AT\Q1 # set desired flow control method ModemHardFlowCmd: AT\Q3 # set desired flow control method ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD follows carrier ModemDialCmd: ATDT%s # # Happy days! This modem has proper support for querying # the model, manufacturer, and firmware revision! # ModemMfrQueryCmd: AT+FMFR? ModemModelQueryCmd: AT+FMDL? ModemRevQueryCmd: AT+FREV? # # #ModemSetupAACmd: AT+FAE=1 ModemSetupAACmd: AT+FAA=1 Class1Cmd: AT+FCLASS=1 # # AdaptiveAnswer: yes # enable adaptive answer AnswerRotary: "fax" # only answer fax calls ModemAnswerCmd: AT+FCLASS=1;A # only answer fax calls #ModemAnswerDataCmd: ATH+FCLASS=0;A # hangup and answer as data ModemAnswerDataCmd: ATH # hangup data calls ModemAnswerVoiceCmd: ATH # hangup voice calls Class1RecvIdentTimer: 6000 # timeout fax answer in 6 secs ----- And this what 'probemodem' tells about '/dev/ttyS1' : --- Probing for best speed to talk to modem: 38400 OK. This looks like a Class 1 modem. ATI0 RESULT = "OK" RESPONSE = "1.0" ATI1 RESULT = "OK" RESPONSE = "CD04.08 - MM03.18EP5 - SP 03" ATI2 RESULT = "OK" RESPONSE = "OK" ATI3 RESULT = "OK" RESPONSE = "CL-MD34xx" ATI4 RESULT = "OK" RESPONSE = "OK" ATI5 RESULT = "OK" RESPONSE = "Host I/F: Parallel" ATI6 RESULT = "OK" RESPONSE = "US" ATI7 RESULT = "OK" RESPONSE = "OK" ATI8 RESULT = "OK" RESPONSE = "OK" ATI9 RESULT = "OK" RESPONSE = "OK" Class 1 stuff... AT+FCLASS=? RESULT = "OK" RESPONSE = "0,1,8,80" AT+FCLASS? RESULT = "OK" RESPONSE = "0" AT+FCLASS=0 RESULT = "OK" RESPONSE = "OK" AT+FCLASS=1 RESULT = "OK" RESPONSE = "OK" AT+FCLASS? RESULT = "OK" RESPONSE = "1" AT+FJUNK=? RESULT = "ERROR" RESPONSE = "ERROR" AT+FJUNK? RESULT = "ERROR" RESPONSE = "ERROR" AT+FAA=? RESULT = "OK" RESPONSE = "(0-1)" AT+FAA? RESULT = "OK" RESPONSE = "0" AT+FAE=? RESULT = "ERROR" RESPONSE = "ERROR" AT+FAE? RESULT = "ERROR" RESPONSE = "ERROR" AT+FTH=? RESULT = "OK" RESPONSE = "3" AT+FRH=? RESULT = "OK" RESPONSE = "3" AT+FTM=? RESULT = "OK" RESPONSE = "24,48,72,73,74,96,97,98,121,122,145,146" AT+FRM=? RESULT = "OK" RESPONSE = "24,48,72,73,74,96,97,98,121,122,145,146" AT+FTS=? RESULT = "ERROR" RESPONSE = "ERROR" AT+FRS=? RESULT = "ERROR" RESPONSE = "ERROR" ----- Please Your Help ! Greetings, Sagi Naaor |