HylaFAX The world's most advanced open source fax server

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

[hylafax-users] No carrier detected



Hi,

System : gnu/linux debian etch
sofware : hylafax 4.3.1-7 deb package
hardware : Zyxel Elite 2864I with last 3.01 firmware

***** First, i tested with Class2.0 :

CountryCode:            33
AreaCode:               5
FAXNumber:              05.57.42.74.80
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules.europe
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0644
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        SELI
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "De %%l|A %%d|JOBID= %%i|%d/%m/%Y %H:%M|Page %%P sur %%T"
NoCarrierRetrys:        3
MaxRecvPages:           35
#
ModemType:              Class2.0        # use class 2.0 interface
ModemRate:              38400
ModemFlowControl:       rtscts          # default
#
ModemNoFlowCmd:         AT&H0           # disable flow control
ModemHardFlowCmd:       AT&H3           # hardware flow control
ModemSoftFlowCmd:       AT&H4           # software flow control
ModemSetupDTRCmd:       AT&D2           # DTR off causes modem to hang up
ModemSetupDCDCmd:       AT&C1           # DCD tracks carrier
#
ModemSetupAACmd:        AT+FAA=0
#
# Additional reset commands:
#
# &B1     DTE-DCE rate is fixed at DTE setting
# &N0     Auto-negotiate highest possible DCE-DCE link rate
# &S0     DSR always on
# *F0     Deny remote configuration
#         (actually *F0 doesn't work in the firmware -- sigh)
# S18=4   Receive at 38400 (removed from default)
# S38.3=1 DCD on/off sequence follows UNIX standard; also
#         fix receiving baud rate at S18 value
#
#ModemResetCmds:                AT&B1&N0&S0S38.3=1
ModemResetCmds:         AT&B1&N0&S0S18=4S38.3=1
#
ModemDialCmd:           ATDT%s          # no '@' 'cuz then busy not recognized
NoCarrierRetrys:        3               # retry 3 times on no carrier
#
ModemSetVolumeCmd:      "ATM0 ATM1L1 ATM1L3 ATM1L5 ATM1L7"
#
# Caller ID configuration setup.
#
#CallIDPattern:         "CALLER NUMBER: " # pattern string for phone number info#CallIDPattern:         "CALLER NAME: " # pattern string for identity info
#
PagerSetupCmds:         AT&K0&N15       # use V.22 at 1200 bps (PageNet)

And i have got the following problem :

mar 18 08:18:59.93: [24266]: SESSION BEGIN 000000023 33557420703
mar 18 08:18:59.93: [24266]: HylaFAX (tm) Version 4.3.1
mar 18 08:18:59.94: [24266]: SEND FAX: JOB 6 DEST 0557420703 COMMID 000000023 DEVICE '/dev/ttyS0' FROM 'root <root@localhost>' USER root
mar 18 08:18:59.94: [24266]: <-- [9:AT+FLO=2\r]
mar 18 08:18:59.95: [24266]: --> [2:OK]
mar 18 08:18:59.95: [24266]: <-- [9:AT+FPP=0\r]
mar 18 08:18:59.96: [24266]: --> [2:OK]
mar 18 08:18:59.96: [24266]: <-- [9:AT+FBO=0\r]
mar 18 08:18:59.97: [24266]: --> [2:OK]
mar 18 08:18:59.97: [24266]: <-- [10:AT+FCT=30\r]
mar 18 08:18:59.98: [24266]: --> [2:OK]
mar 18 08:18:59.98: [24266]: <-- [15:AT+FNR=1,1,1,1\r]
mar 18 08:19:00.00: [24266]: --> [2:OK]
mar 18 08:19:00.00: [24266]: <-- [9:AT+FIE=0\r]
mar 18 08:19:00.01: [24266]: --> [2:OK]
mar 18 08:19:00.01: [24266]: <-- [23:AT+FCC=1,5,2,2,1,0,0,0\r]
mar 18 08:19:00.03: [24266]: --> [2:OK]
mar 18 08:19:00.08: [24266]: DIAL 57420703
mar 18 08:19:00.08: [24266]: <-- [13:ATDT57420703\r]
mar 18 08:19:22.22: [24266]: --> [10:NO CARRIER]
mar 18 08:19:22.22: [24266]: SEND FAILED: JOB 6 DEST 0557420703 ERR No carrier detected
mar 18 08:19:22.22: [24266]: <-- [5:ATH0\r]
mar 18 08:19:25.65: [24266]: --> [7:+FHS:20]
mar 18 08:19:25.65: [24266]: REMOTE HANGUP: Unspecified Transmit Phase B error (code 20)
mar 18 08:19:25.65: [24266]: MODEM Hang up
mar 18 08:19:25.65: [24266]: SESSION END


***** Then, i tested with Class1 :

CountryCode:            33
AreaCode:               5
FAXNumber:              05.57.42.74.80
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules.europe
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0644
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        SELI
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "De %%l|A %%d|JOBID= %%i|%d/%m/%Y %H
NoCarrierRetrys:        3
MaxRecvPages:           35
#
ModemType:              Class1          # use this to supply a hint
#
Class1Cmd:              AT+FCLASS=1     # command to enter class 1
Class1PPMWaitCmd:       AT+FTS=7        # command to stop and wait before PPM
Class1TCFWaitCmd:       AT+FTS=7        # command to stop and wait before TCF
Class1EOPWaitCmd:       AT+FTS=9        # command to stop and wait before EOP
Class1SwitchingCmd:     AT+FRS=7        # silence between HDLC recv and trans
Class1TrainingRecovery: 1500            # 1.5sec delay after training failure
Class1RecvAbortOK:      200             # wait 200ms for abort response
Class1FrameOverhead:    4               # 4 byte overhead in recvd HDLC frames
Class1RecvIdentTimer:   40000           # 35+5secs waiting for ident frames
Class1TCFMaxNonZero:    10              # max 10% of data may be non-zero
Class1TCFMinRun:        1000            # min run is 2/3rds of TCF duration


And i have got this new following problem :

mar 18 09:17:52.64: [  882]: SESSION BEGIN 000000035 33557420703
mar 18 09:17:52.65: [  882]: HylaFAX (tm) Version 4.3.1
mar 18 09:17:52.65: [  882]: SEND FAX: JOB 7 DEST 0557420703 COMMID 000000035 DEVICE '/dev/ttyS0' FROM 'root <root@localhost>' USER root
mar 18 09:17:52.65: [  882]: <-- [12:AT+FCLASS=1\r]
mar 18 09:17:52.66: [  882]: --> [2:OK]
mar 18 09:17:52.67: [  882]: DIAL 57420703
mar 18 09:17:52.67: [  882]: <-- [13:ATDT57420703\r]
mar 18 09:18:15.93: [  882]: --> [10:NO CARRIER]
mar 18 09:18:15.93: [  882]: SEND FAILED: JOB 7 DEST 0557420703 ERR No carrier detected
mar 18 09:18:15.94: [  882]: <-- [5:ATH0\r]
mar 18 09:18:16.44: [  882]: --> [10:NO CARRIER]
mar 18 09:18:16.44: [  882]: MODEM No carrier
mar 18 09:18:16.44: [  882]: SESSION END


What's wrong ?

Thanks


--
Damien CHEVALIER

Piing
Groupe LOGIFI
28 cours Bacalan - BP 25
33392 Blaye Cedex

Tél. 05 57 42 63 60
Fax 05 57 42 09 37
email. dchevalier@xxxxxxxx 





____________________ 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