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] Hylafax never answers incoming call. Always Listening to rings.



Hi Andrea,

Do you see 'ring' if you use Minicom ?

Regards

ANDREW RINALDI
Mainpine Limited Support
USA +1 503 822 9944 | Asia/Europe +44 1225 869439  
andrew.rinaldi@xxxxxxxxxxxx | www.mainpine.com

-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx
[mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of borgo2000@xxxxxxxx
Sent: 08 January 2007 10:44
To: hylafax-users@xxxxxxxxxxx
Subject: [hylafax-users] Hylafax never answers incoming call. Always
Listening to rings.

Hi to everybody
I have spent the last two days on the following problem without any success.
My Hylafax nevere answer to incoming call. It's always listening to rings
but never answer.


When my modem rings.....

#faxstat

Listening to rings from modem

but hylafax does't answer

The syslog trace is:

2007-01-08 11:37:34 Local4.Info 192.168.0.107 FaxGetty[3017]: DELAY 2600 ms 

2007-01-08 11:37:34 Local4.Info 192.168.0.107 FaxGetty[3017]: MODEM set DTR
ON
2007-01-08 11:37:34 Local4.Info 192.168.0.107 FaxGetty[3017]: DELAY 75 ms
2007-01-08 11:37:34 Local4.Info 192.168.0.107 FaxGetty[3017]: MODEM set DTR
OFF
2007-01-08 11:37:32 Local4.Info 192.168.0.107 FaxGetty[3017]: MODEM set DTR
OFF
2007-01-08 11:37:32 Local4.Info 192.168.0.107 FaxGetty[3017]: --> [2:OK]
2007-01-08 11:37:32 Local4.Info 192.168.0.107 FaxGetty[3017]: <-- [5:ATH0\r]
 
2007-01-08 11:37:32 Local4.Info 192.168.0.107 FaxGetty[3017]: MODEM TIMEOUT:
reading line from modem
2007-01-08 11:37:32 Local4.Info 192.168.0.107 FaxGetty[3017]: --> [6:RING A]
 
2007-01-08 11:37:18 Local4.Info 192.168.0.107 FaxGetty[3017]: --> [6:RING A]
 
2007-01-08 11:37:18 Local4.Info 192.168.0.107 FaxGetty[3017]: STATE CHANGE:
RUNNING -> LISTENING  

If I use the faxanswer command everything is OK, and I get my fax. 
But I'd like to use the auto-answer with faxgetty.


Some notes about my config:

1) I use CentOs 4.4 with USR 56k Professional Message modem

2) After faxsetup I get two warnings !!! 

Warning: /bin/vgetty does not exist or is not an executable program!
Warning: /bin/egetty does not exist or is not an executable program!

3) In  /etc/inittab I have:

mo:2345:respawn:/usr/sbin/faxgetty ttyS0

4) My config.ttyS0 is:

# Configuration for using the Class 1 command interface with # a USR Courier
or Sportster modem and XON/XOFF flow control. 
#
#
LogFacility:            local4
CountryCode:            39
AreaCode:               0721
FAXNumber:              0721.0000
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules.europe
#ServerTracing:         1
ServerTracing:          0xfff
SessionTracing:         11
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          medium
GettyArgs:              "-h %l dx_%s"
#GettyArgs:             "-t 20 -h %l F%s"
LocalIdentifier:        FaxServer
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
#ModemRate:             57600
ModemFlowControl:       xonxoff         # software 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
#
# This should resolve "DIS/DTC received 3 times" errors:
#
Class1ResponseWaitCmd:  AT+FRS=1        # wait after sending TCF for
response
#
# 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     # leave modem idling in class 0
ModemAnswerCmd:         AT+FCLASS=1A    # answer in Class 1
#
# When using AT+FRS=n we see USR modems reset themselves in the middle of
sessions # this is not good.  So, we seem to work-around that problem by not
using the # command.  Unfortunately, this isn't an ideal thing.
#
Class1SwitchingCmd:     "<delay\0727>"




Regards and greetings from Italy

Andrea
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Ariatel Vocepiù Ricaricabile: nessun canone, nessun costo mensile, paghi
solo le telefonate e a solo 1,15 cent/min per tutti i numeri fissi d?Italia!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5833&d=20070108



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




____________________ 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