HylaFAX The world's most advanced open source fax server

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

[hylafax-users] RES: Problem with faxgetty



Title: RE: [hylafax-users] Problem with faxgetty

Hi Siri Vias,

 

Yeah! It’s running and I’ve enabled a lot of kind of log messages, and when faxgetty receive RING hardware signal (Line 7) the faxgetty changes status and goes to Answer mode, It is a good thing, but after that takes an error:

 

Jan 28 12:57:08 faxserver FaxGetty[3593]: STATE CHANGE: RUNNING -> LISTENING

Jan 28 12:57:08 faxserver FaxGetty[3593]: --> [4:RING]

Jan 28 12:57:08 faxserver FaxGetty[3593]: STATE CHANGE: LISTENING -> ANSWERING

Jan 28 12:57:08 faxserver FaxGetty[3593]: ANSWER: Ring detected without successful handshake

Jan 28 12:57:08 faxserver FaxGetty[3593]: Error writing CALL accounting record, dest=22400719

 

Here goes a cut of that log (At the calling):

 

Jan 28 12:55:41 faxserver FaxGetty[3593]: MODEM ROCKWELL RC288DPi/hsfmodem-7.80.02.01full

Jan 28 12:55:41 faxserver FaxGetty[3593]: <-- [7:ATL3M1\r]

Jan 28 12:55:41 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:55:41 faxserver FaxGetty[3593]: STATE CHANGE: LOCKWAIT -> RUNNING (timeout 30)

Jan 28 12:55:41 faxserver FaxGetty[3593]: MODEM input buffering disabled

Jan 28 12:57:08 faxserver FaxGetty[3593]: STATE CHANGE: RUNNING -> LISTENING

Jan 28 12:57:08 faxserver FaxGetty[3593]: --> [4:RING]

Jan 28 12:57:08 faxserver FaxGetty[3593]: STATE CHANGE: LISTENING -> ANSWERING

Jan 28 12:57:08 faxserver FaxGetty[3593]: ANSWER: Ring detected without successful handshake

Jan 28 12:57:08 faxserver FaxGetty[3593]: Error writing CALL accounting record, dest=22400719

Jan 28 12:57:08 faxserver FaxGetty[3593]: <-- [5:ATH0\r]

Jan 28 12:57:08 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:08 faxserver FaxGetty[3593]: MODEM set DTR OFF

Jan 28 12:57:09 faxserver FaxGetty[3593]: MODEM set DTR OFF

Jan 28 12:57:09 faxserver FaxGetty[3593]: DELAY 75 ms

Jan 28 12:57:09 faxserver FaxGetty[3593]: MODEM set DTR ON

Jan 28 12:57:09 faxserver FaxGetty[3593]: DELAY 2600 ms

Jan 28 12:57:12 faxserver FaxGetty[3593]: MODEM set baud rate: 19200 baud, input flow XON/XOFF, output flow XON/XOFF

Jan 28 12:57:12 faxserver FaxGetty[3593]: DELAY 10 ms

Jan 28 12:57:12 faxserver FaxGetty[3593]: MODEM flush i/o

Jan 28 12:57:12 faxserver FaxGetty[3593]: <-- [4:ATZ\r]

Jan 28 12:57:12 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:12 faxserver FaxGetty[3593]: DELAY 3000 ms

Jan 28 12:57:15 faxserver FaxGetty[3593]: MODEM flush i/o

Jan 28 12:57:15 faxserver FaxGetty[3593]: <-- [7:AT&FX1\r]

Jan 28 12:57:15 faxserver FaxGetty[3593]: --> [6:AT&FX1]

Jan 28 12:57:15 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:15 faxserver FaxGetty[3593]: <-- [7:ATS0=0\r]

Jan 28 12:57:15 faxserver FaxGetty[3593]: --> [6:ATS0=0]

Jan 28 12:57:15 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:15 faxserver FaxGetty[3593]: <-- [5:ATE0\r]

Jan 28 12:57:15 faxserver FaxGetty[3593]: --> [4:ATE0]

Jan 28 12:57:15 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:15 faxserver FaxGetty[3593]: <-- [5:ATV1\r]

Jan 28 12:57:15 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:15 faxserver FaxGetty[3593]: <-- [5:ATQ0\r]

Jan 28 12:57:15 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:15 faxserver FaxGetty[3593]: <-- [7:ATS8=2\r]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:16 faxserver FaxGetty[3593]: <-- [8:ATS7=60\r]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:16 faxserver FaxGetty[3593]: <-- [6:AT&K4\r]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:16 faxserver FaxGetty[3593]: <-- [6:AT&D2\r]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:16 faxserver FaxGetty[3593]: <-- [6:AT&C1\r]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:16 faxserver FaxGetty[3593]: <-- [12:AT+FCLASS=?\r]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [7:0,1,1.0]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports "Data"

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports "Class 1"

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports "Class 1.0"

Jan 28 12:57:16 faxserver FaxGetty[3593]: <-- [12:AT+FCLASS=1\r]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM: Mfr Rockwell

Jan 28 12:57:16 faxserver FaxGetty[3593]: <-- [5:ATI3\r]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [23:hsfmodem-7.80.02.01full]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM: Model RC288DPi

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM: Revision hsfmodem-7.80.02.01full

Jan 28 12:57:16 faxserver FaxGetty[3593]: <-- [9:AT+FTM=?\r]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [41:3,24,48,72,73,74,96,97,98,121,122,145,146]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 3.85 line/mm

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 7.7 line/mm

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 15.4 line/mm

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports R16 x 15.4 line/mm

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 200 x 100 dpi

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 200 x 200 dpi

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 200 x 400 dpi

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 300 x 300 dpi

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 2400 bit/s

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 4800 bit/s

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 7200 bit/s

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 9600 bit/s

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 12000 bit/s

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 14400 bit/s

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports A4 page width (215 mm)

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports B4 page width (255 mm)

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports A3 page width (303 mm)

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports A4 page length (297 mm)

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports B4 page length (364 mm)

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports unlimited page length

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 1-D MH

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 2-D MR

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 2-D MMR

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports no ECM

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports T.30 Annex A, 64-byte ECM

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports T.30 Annex A, 256-byte ECM

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 0 ms/scanline

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 5 ms/scanline

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 10 ms, 5 ms/scanline

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 10 ms/scanline

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 20 ms, 10 ms/scanline

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 20 ms/scanline

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 40 ms, 20 ms/scanline

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM Supports 40 ms/scanline

Jan 28 12:57:16 faxserver FaxGetty[3593]: <-- [9:AT+FRM=?\r]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [41:3,24,48,72,73,74,96,97,98,121,122,145,146]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:16 faxserver FaxGetty[3593]: <-- [9:AT+FAA=1\r]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:16 faxserver FaxGetty[3593]: MODEM ROCKWELL RC288DPi/hsfmodem-7.80.02.01full

Jan 28 12:57:16 faxserver FaxGetty[3593]: <-- [7:ATL3M1\r]

Jan 28 12:57:16 faxserver FaxGetty[3593]: --> [2:OK]

Jan 28 12:57:16 faxserver FaxGetty[3593]: STATE CHANGE: ANSWERING -> RUNNING (timeout 30)

 

Best Regards,

 

Elter Souza

Analista de Sistemas

IBBCA - Instituto Brasileiro de Benefícios para Cooperativas e Associações.

(21) 7698-0496

 

De: Siri Vias Khalsa [mailto:sirivias.khalsa@xxxxxxxxxx]
Enviada em: quarta-feira, 28 de janeiro de 2009 12:36
Para: Elter Souza; hylafax-users@xxxxxxxxxxx
Assunto: RE: [hylafax-users] Problem with faxgetty

 

Can you confirm that faxgetty is running?
Do you see anything in the logs (/var/log/messages probably) about the line ringing?


-Siri Vias



-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx on behalf of Elter Souza
Sent: Wed 1/28/2009 5:50 AM
To: hylafax-users@xxxxxxxxxxx
Subject: [hylafax-users] Problem with faxgetty

Hello there,



I am a brazilian system administrator. I am trying to install a fax server with HylaFAX. Well, everything was going ok when I got the problem, the faxgetty is not working. If when the fax is ringing and I start the command faxanswer the fax establish and make the transmission perfectly, but if I don't start faxanswer, the faxgetty does not start it neither.



Please if one of you have any information that can help me, please, tell me what should I do.



Here goes some information about mine environment:



Linux distro: Fedora 10

Kernel: 2.6.27



Modem: Agere HSF Soft Modem  ( with fax feature enabled )

Class: 0, 1, 1.0



Hylafax  package:  hylafax-4.4.2-1fc7.i386.rpm

Version: 4.4.2

Target distro: Fedora 7



The config.ttySHSF0:

CountryCode:                   55

AreaCode:                         21

FAXNumber:                      +55.21.####.####

LongDistancePrefix:        0

InternationalPrefix:       031

DialStringRules:                etc/dialrules

ServerTracing:                  49599

SessionTracing:                 11

RecvFileMode:                 0644

LogFileMode:                   0644

DeviceMode:                    0666

RingsBeforeAnswer:      1

SpeakerVolume:             high

GettyArgs:                         "-h %l dx_%s"

LocalIdentifier:                 "##### - Fax"

TagLineFont:                     etc/lutRS18.pcf

TagLineFormat:                "From %%l|%c|Page %%P of %%T"

MaxRecvPages:               25

NotifyCmd:                        bin/notify.php



ModemType:                   Class1          # use this to supply a hint

ModemRate:                    19200           # rate for DCE-DTE communication

ModemFlowControl:     xonxoff



ModemNoFlowCmd:                    AT&K0           # setup no flow control

ModemHardFlowCmd:                AT&K3           # setup hardware flow control

ModemSoftFlowCmd:                  AT&K4           # setup software flow control

ModemSetupDTRCmd:                AT&D2           # setup so DTR drop resets modem

ModemSetupDCDCmd:               AT&C1           # setup so DCD reflects carrier (or not)



ModemMfrQueryCmd:               !Rockwell

ModemModelQueryCmd:          !RC288DPi

ModemRevQueryCmd:               ATI3            # product information

ModemDialCmd:                            ATDT%s          # T for tone dialing



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

ModemSetupAACmd:                  AT+FAA=1        # leave modem idling in class 0

ModemAnswerCmd:                    AT+FCLASS=1A    # answer in Class 1

ModemResetCmds:                      AT&FX1



# # hacks to answer fax, hangup and answer data

# # # 1. disable adaptive answer, answer as fax only

ModemAnswerFaxCmd:      "AT+FAA=0;X3S7=60+FCLASS=1;A"

# # # 2. timeout if fax didn't answer (in ms)

Class1RecvIdentTimer:   33000

# # # 3. hangup and data answer

ModemAnswerDataCmd:     "ATZ\n<waitfor:OK><delay:50>ATX3S7=60+FCLASS=0;A"



Thank you all.



Best Regards,



Elter Souza

Analista de Sistemas

IBBCA - Instituto Brasileiro de Benefícios para Cooperativas e Associações.

(21) 7698-0496






Project hosted by iFAX Solutions