HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Send But no recieve



When I do [root@amonbofis hylafax-4.2.1]# faxanswer ttyS0

I have got this:

[root@amonbofis hylafax-4.2.1]# cat /var/spool/hylafax/log/c000000002
jun 01 16:19:00.50: [26023]: SESSION BEGIN 000000002 384494804
jun 01 16:19:00.50: [26023]: HylaFAX (tm) Version 4.2.0
jun 01 16:19:00.50: [26023]: <-- [13:AT+FCLASS=1A\r]
jun 01 16:19:05.28: [26023]: --> [7:CONNECT]
jun 01 16:19:05.28: [26023]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyS0'
jun 01 16:19:05.28: [26023]: RECV FAX: begin
jun 01 16:19:05.28: [26023]: <-- data [32]
jun 01 16:19:05.28: [26023]: <-- data [2]
jun 01 16:19:05.35: [26023]: --> [7:CONNECT]
jun 01 16:19:05.35: [26023]: <-- data [23]
jun 01 16:19:05.35: [26023]: <-- data [2]
jun 01 16:19:06.07: [26023]: --> [7:CONNECT]
jun 01 16:19:06.07: [26023]: <-- data [10]
jun 01 16:19:06.07: [26023]: <-- data [2]
jun 01 16:19:08.25: [26023]: --> [2:OK]
jun 01 16:19:08.25: [26023]: <-- [9:AT+FRH=3\r]
jun 01 16:19:11.35: [26023]: --> [0:]
jun 01 16:19:11.35: [26023]: MODEM <Empty line>
jun 01 16:19:11.35: [26023]: <-- data [1]
jun 01 16:19:11.36: [26023]: --> [2:OK]
jun 01 16:19:11.36: [26023]: DELAY 1500 ms
jun 01 16:19:12.86: [26023]: <-- [9:AT+FTH=3\r]
jun 01 16:19:12.89: [26023]: --> [7:CONNECT]
jun 01 16:19:12.89: [26023]: <-- data [32]
jun 01 16:19:12.89: [26023]: <-- data [2]
jun 01 16:19:13.06: [26023]: --> [7:CONNECT]
jun 01 16:19:13.06: [26023]: <-- data [23]
jun 01 16:19:13.06: [26023]: <-- data [2]
jun 01 16:19:13.78: [26023]: --> [7:CONNECT]
jun 01 16:19:13.78: [26023]: <-- data [10]
jun 01 16:19:13.78: [26023]: <-- data [2]
jun 01 16:19:15.96: [26023]: --> [2:OK]
jun 01 16:19:15.96: [26023]: <-- [9:AT+FRH=3\r]
jun 01 16:19:19.07: [26023]: --> [0:]
jun 01 16:19:19.07: [26023]: MODEM <Empty line>
jun 01 16:19:19.07: [26023]: <-- data [1]
jun 01 16:19:19.07: [26023]: --> [2:OK]
jun 01 16:19:19.07: [26023]: DELAY 1500 ms
jun 01 16:19:20.59: [26023]: <-- [9:AT+FTH=3\r]
jun 01 16:19:20.63: [26023]: --> [7:CONNECT]
jun 01 16:19:20.63: [26023]: <-- data [32]
jun 01 16:19:20.63: [26023]: <-- data [2]
jun 01 16:19:20.79: [26023]: --> [7:CONNECT]
jun 01 16:19:20.79: [26023]: <-- data [23]
jun 01 16:19:20.79: [26023]: <-- data [2]
jun 01 16:19:21.51: [26023]: --> [7:CONNECT]
jun 01 16:19:21.51: [26023]: <-- data [10]
jun 01 16:19:21.51: [26023]: <-- data [2]
jun 01 16:19:23.70: [26023]: --> [2:OK]
jun 01 16:19:23.70: [26023]: <-- [9:AT+FRH=3\r]
jun 01 16:19:26.80: [26023]: --> [0:]
jun 01 16:19:26.80: [26023]: MODEM <Empty line>
jun 01 16:19:26.80: [26023]: <-- data [1]
jun 01 16:19:26.81: [26023]: --> [2:OK]
jun 01 16:19:26.81: [26023]: DELAY 1500 ms
jun 01 16:19:28.31: [26023]: <-- [9:AT+FTH=3\r]
jun 01 16:19:28.34: [26023]: --> [7:CONNECT]
jun 01 16:19:28.34: [26023]: <-- data [32]
jun 01 16:19:28.34: [26023]: <-- data [2]
jun 01 16:19:28.51: [26023]: --> [7:CONNECT]
jun 01 16:19:28.51: [26023]: <-- data [23]
jun 01 16:19:28.51: [26023]: <-- data [2]
jun 01 16:19:29.23: [26023]: --> [7:CONNECT]
jun 01 16:19:29.23: [26023]: <-- data [10]
jun 01 16:19:29.23: [26023]: <-- data [2]
jun 01 16:19:31.41: [26023]: --> [2:OK]
jun 01 16:19:31.41: [26023]: <-- [9:AT+FRH=3\r]
jun 01 16:19:34.51: [26023]: --> [0:]
jun 01 16:19:34.51: [26023]: MODEM <Empty line>
jun 01 16:19:34.51: [26023]: <-- data [1]
jun 01 16:19:34.52: [26023]: --> [2:OK]
jun 01 16:19:34.52: [26023]: DELAY 1500 ms
jun 01 16:19:36.02: [26023]: <-- [9:AT+FTH=3\r]
jun 01 16:19:36.05: [26023]: --> [7:CONNECT]
jun 01 16:19:36.05: [26023]: <-- data [32]
jun 01 16:19:36.05: [26023]: <-- data [2]
jun 01 16:19:36.22: [26023]: --> [7:CONNECT]
jun 01 16:19:36.22: [26023]: <-- data [23]
jun 01 16:19:36.22: [26023]: <-- data [2]
jun 01 16:19:36.94: [26023]: --> [7:CONNECT]
jun 01 16:19:36.94: [26023]: <-- data [10]
jun 01 16:19:36.94: [26023]: <-- data [2]
jun 01 16:19:39.12: [26023]: --> [2:OK]
jun 01 16:19:39.12: [26023]: <-- [9:AT+FRH=3\r]
jun 01 16:19:42.22: [26023]: --> [0:]
jun 01 16:19:42.22: [26023]: MODEM <Empty line>
jun 01 16:19:42.22: [26023]: <-- data [1]
jun 01 16:19:42.23: [26023]: --> [2:OK]
jun 01 16:19:42.23: [26023]: DELAY 1500 ms
jun 01 16:19:43.73: [26023]: <-- [9:AT+FTH=3\r]
jun 01 16:19:43.77: [26023]: --> [7:CONNECT]
jun 01 16:19:43.77: [26023]: <-- data [32]
jun 01 16:19:43.77: [26023]: <-- data [2]
jun 01 16:19:43.93: [26023]: --> [7:CONNECT]
jun 01 16:19:43.93: [26023]: <-- data [23]
jun 01 16:19:43.93: [26023]: <-- data [2]
jun 01 16:19:44.65: [26023]: --> [7:CONNECT]
jun 01 16:19:44.65: [26023]: <-- data [10]
jun 01 16:19:44.65: [26023]: <-- data [2]
jun 01 16:19:46.84: [26023]: --> [2:OK]
jun 01 16:19:46.84: [26023]: <-- [9:AT+FRH=3\r]
jun 01 16:19:49.94: [26023]: --> [0:]
jun 01 16:19:49.94: [26023]: MODEM <Empty line>
jun 01 16:19:49.94: [26023]: <-- data [1]
jun 01 16:19:49.95: [26023]: --> [2:OK]
jun 01 16:19:49.95: [26023]: RECV FAX: No answer (T.30 T1 timeout)
jun 01 16:19:49.95: [26023]: RECV FAX: end
jun 01 16:19:49.95: [26023]: SESSION END


>Yes with a fax machine, I can send fax and recieve with the fax machine, and
>sand with halyfax

Le mercredi 1 Juin 2005 14:27, vous avez écrit :
> Have you tested the line with a fax machine or a
> different modem?
>
> --- alban Coujard <acoujard@xxxxxxxxxxx> wrote:
> > Yes , When I call the fax number it ring but the
> > moden do not respond
> >
> > Le mercredi 1 Juin 2005 13:54, vous avez écrit :
> > > Did you rerun init? Ie, init q?
> > >
> > > --- alban Coujard <acoujard@xxxxxxxxxxx> wrote:
> > > > Hello
> > > >
> > > > I used a USR Sportster Voice 33.6 Fax Modem, I
> >
> > can
> >
> > > > send Fax but Can't
> > > > receive... On a mandrake 10.1, the modem is on
> >
> > the
> >
> > > > serial port 2 (ttyS1),
> > > > hylafax 4.2,
> > > >
> > > > I dont forget to do #faxgetty ttyS1
> > > >
> > > > My config.ttyS1 file is :
> > > >
> > > > CountryCode:            33
> > > > AreaCode:               3
> > > > FAXNumber:              +33.03.xxxxxxxx
> > > > LongDistancePrefix:     0
> > > > InternationalPrefix:    00
> > > > DialStringRules:        etc/dialrules
> > > > ServerTracing:          1
> > > > SessionTracing:         11
> > > > RecvFileMode:           0600
> > > > LogFileMode:            0600
> > > > DeviceMode:             0600
> > > > RingsBeforeAnswer:      1
> > > > SpeakerVolume:          quiet
> > > > GettyArgs:              "-h %l dx_%s"
> > > > LocalIdentifier:        "NothingSetup"
> > > > 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:       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
> >
> > > > #
> > > > # 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
> > > >
> > > > probemodem command result is :
> > > >
> > > > This looks like a Class 1 and 2.0 modem.
> > > >
> > > > ATI0    RESULT = "OK"   RESPONSE = "3361"
> > > > ATI1    RESULT = "OK"   RESPONSE = "966D"
> > > > ATI2    RESULT = "OK"   RESPONSE = "OK"
> > > > ATI3    RESULT = "OK"   RESPONSE = "USRobotics
> > > > Sportster Voice 33600 Fax Rev.
> > > > 2.0"
> > > > ATI4    RESULT = "OK"   RESPONSE = "USRobotics
> > > > Sportster Voice 33600 Fax
> > > > Settings..."
> > > > ATI5    RESULT = "Strike a key when ready . . ."
> > > >    RESPONSE = "USRobotics
> > > > Sportster Voice 33600 Fax NVRAM Settings..."
> > > > ATI6    RESULT = "OK"   RESPONSE = "USRobotics
> > > > Sportster Voice 33600 Fax Link
> > > > Diagnostics..."
> > > > ATI7    RESULT = "OK"   RESPONSE =
> >
> > "Configuration
> >
> > > > Profile..."
> > > > ATI8    RESULT = "OK"   RESPONSE = "Blacklist"
> > > > ATI9    RESULT = "OK"   RESPONSE =
> > > > "(1.0USR0007\Modem\Sportster 33600
> > > > FAX/VOICE EXT)FF"
> > > >
> > > > Class 1 stuff...
> > > >
> > > > AT+FCLASS=?     RESULT = "OK"   RESPONSE =
> >
> > "0,1,2.0"
> >
> > > > 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,24,48,72,73,74,96,97,98,121,122,145,146"
> > > > AT+FRH=?        RESULT = "OK"   RESPONSE =
> > > > "3,24,48,72,73,74,96,97,98,121,122,145,146"
> > > > AT+FTM=?        RESULT = "OK"   RESPONSE =
> > > > "3,24,48,72,73,74,96,97,98,121,122,145,146"
> > > > AT+FRM=?        RESULT = "OK"   RESPONSE =
> > > > "3,24,48,72,73,74,96,97,98,121,122,145,146"
> > > > AT+FTS=?        RESULT = "ERROR"        RESPONSE
> >
> > =
> >
> > > > "ERROR"
> > > > AT+FRS=?        RESULT = "ERROR"        RESPONSE
> >
> > =
> >
> > > > "ERROR"
> > > > Class 2.0 stuff...
> > > >
> > > > AT+FCLASS=?     RESULT = "OK"   RESPONSE =
> >
> > "0,1,2.0"
> >
> > > > AT+FCLASS?      RESULT = "OK"   RESPONSE = "1"
> > > > AT+FCLASS=0     RESULT = "OK"   RESPONSE = "OK"
> > > > AT+FCLASS=1     RESULT = "OK"   RESPONSE = "OK"
> > > > AT+FCLASS=2.0   RESULT = "OK"   RESPONSE = "OK"
> > > > AT+FCLASS?      RESULT = "OK"   RESPONSE = "1"
> > > > AT+FJU=?        RESULT = "ERROR"        RESPONSE
> >
> > =
> >
> > > > "ERROR"
> > > > AT+FJU? RESULT = "ERROR"        RESPONSE =
> >
> > "ERROR"
> >
> > > > AT+FDR=?        RESULT = ""     RESPONSE = ""
> > > > AT+FDT=?        RESULT = ""     RESPONSE = ""
> > > > AT+FIP=?        RESULT = "ERROR"        RESPONSE
> >
> > =
> >
> > > > "ERROR"
> > > > AT+FAA=?        RESULT = "OK"   RESPONSE =
> >
> > "(0,1)"

____________________ 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