HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Problem with faxgetty



Hi,
 
On Fedora 10 you need to do this:
 
 
On systems using upstart the /etc/inittab respawn behavior can be reproduced by creating a file such as /etc/event.d/ttyS0 that looks like this:
start on runlevel 2
start on runlevel 3
start on runlevel 4
start on runlevel 5

stop on runlevel 0
stop on runlevel 1
stop on runlevel 6

respawn
exec /usr/local/sbin/faxgetty ttyS0
Then issue '/sbin/start ttyS0' to start up that faxgetty process.
 
To automate start up after a reboot put an entry in your RC local
 
 
Also at sourceforge you can get v5.2.8 which has a Fedora 9 build:
 
Cheers,
 
Philip
-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx]On Behalf Of Elter Souza
Sent: Thursday, January 29, 2009 12:37 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