Hylafax Mailing List Archives

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

Re: [hylafax-users] EOP between 2 hylafax server with Multitech 5656 modem



Hello

As you requested, this is my probemodem and faxaddmodem output

probemodem output:

Serial port that modem is connected to []? ttyS0

Now we are going to probe the tty port.  This takes a few seconds,
so be patient.  Note that if you do not have the modem cabled to
the port, or the modem is turned off, this may hang (just go and
cable up the modem or turn it on, or whatever).

Probing for best speed to talk to modem: 38400 OK.

This looks like a Class 1, 2 and 1.0 modem.

ATI0    RESULT = "OK"   RESPONSE = "MT5656ZDX"
ATI1    RESULT = "OK"   RESPONSE = "255"
ATI2    RESULT = "OK"   RESPONSE = "OK"
ATI3    RESULT = "OK"   RESPONSE = "ACF3_V1.702A-V90_P21_FSH"
ATI4    RESULT = "OK"   RESPONSE = "a007040284C6002F"
ATI5    RESULT = "OK"   RESPONSE = "B5"
ATI6    RESULT = "OK"   RESPONSE = "RCV56DPF-PLL L8571A Rev 47.00/34.00"
ATI7    RESULT = "OK"   RESPONSE = "OK"
ATI8    RESULT = "ERROR"        RESPONSE = "ERROR"
ATI9    RESULT = "ERROR"        RESPONSE = "ERROR"

Class 1 stuff...

AT+FCLASS=? RESULT = "OK" RESPONSE = "0,1,1.0,2,8,10"
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 = "ERROR" RESPONSE = "ERROR"
AT+FAA? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FAE=? RESULT = "OK" RESPONSE = "(0,1)"
AT+FAE? RESULT = "OK" RESPONSE = "0"
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 stuff...

AT+FCLASS=? RESULT = "OK" RESPONSE = "0,1,1.0,2,8,10"
AT+FCLASS? RESULT = "OK" RESPONSE = "1"
AT+FCLASS=0 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS=1 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS=2 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS? RESULT = "OK" RESPONSE = "2"
AT+FJUNK=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FJUNK? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FAA=? RESULT = "OK" RESPONSE = "(0,1)"
AT+FAA? RESULT = "OK" RESPONSE = "1"
AT+FAXERR=? RESULT = "OK" RESPONSE = "(0-255)"
AT+FAXERR? RESULT = "OK" RESPONSE = "0"
AT+FBADLIN=? RESULT = "OK" RESPONSE = "(0)"
AT+FBADLIN? RESULT = "OK" RESPONSE = "0"
AT+FBADMUL=? RESULT = "OK" RESPONSE = "(0)"
AT+FBADMUL? RESULT = "OK" RESPONSE = "0"
AT+FBOR=? RESULT = "OK" RESPONSE = "(0-3)"
AT+FBOR? RESULT = "OK" RESPONSE = "0"
AT+FBUF=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FBUF? RESULT = "OK" RESPONSE = "16384,13107,3276,0"
AT+FBUG=? RESULT = "OK" RESPONSE = "(0)"
AT+FBUG? RESULT = "OK" RESPONSE = "0"
AT+FCIG=? RESULT = "OK" RESPONSE = "(20)(32,33,35-96,123-126)"
AT+FCIG? RESULT = "OK" RESPONSE = "OK"
AT+FCQ=? RESULT = "OK" RESPONSE = "(0)"
AT+FCQ? RESULT = "OK" RESPONSE = "0"
AT+FCR=? RESULT = "OK" RESPONSE = "(0,1)"
AT+FCR? RESULT = "OK" RESPONSE = "1"
AT+FTBC=? RESULT = "OK" RESPONSE = "(0)"
AT+FTBC? RESULT = "OK" RESPONSE = "0"
AT+FDCC=? RESULT = "OK" RESPONSE = "(0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)"
AT+FDCC? RESULT = "OK" RESPONSE = "1,5,2,2,0,0,0,0"
AT+FDCS=? RESULT = "OK" RESPONSE = "(0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)"
AT+FDCS? RESULT = "OK" RESPONSE = "0,0,0,0,0,0,0,0"
AT+FDIS=? RESULT = "OK" RESPONSE = "(0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)"
AT+FDIS? RESULT = "OK" RESPONSE = "1,5,2,2,0,0,0,0"
AT+FDT=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FDT? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FECM=? RESULT = "OK" RESPONSE = "(0)"
AT+FECM? RESULT = "OK" RESPONSE = "0"
AT+FET=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FET? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FLID=? RESULT = "OK" RESPONSE = "(20)(32,33,35-96,123-126)"
AT+FLID? RESULT = "OK" RESPONSE = " ERILOG"
AT+FLNFC=? RESULT = "OK" RESPONSE = "(0)"
AT+FLNFC? RESULT = "OK" RESPONSE = "0"
AT+FLPL=? RESULT = "OK" RESPONSE = "(0,1)"
AT+FLPL? RESULT = "OK" RESPONSE = "0"
AT+FMDL? RESULT = "OK" RESPONSE = "V90"
AT+FMFR? RESULT = "OK" RESPONSE = "CONEXANT"
AT+FMINSP=? RESULT = "OK" RESPONSE = "(0)"
AT+FMINSP? RESULT = "OK" RESPONSE = "0"
AT+FPHCTO=? RESULT = "OK" RESPONSE = "(0-255)"
AT+FPHCTO? RESULT = "OK" RESPONSE = "30"
AT+FPTS=? RESULT = "OK" RESPONSE = "(1-5)"
AT+FPTS? RESULT = "OK" RESPONSE = "1"
AT+FRBC=? RESULT = "OK" RESPONSE = "(0)"
AT+FRBC? RESULT = "OK" RESPONSE = "0"
AT+FREL=? RESULT = "OK" RESPONSE = "(0)"
AT+FREL? RESULT = "OK" RESPONSE = "0"
AT+FREV? RESULT = "OK" RESPONSE = "ACF3_V1.702A-V90_P21_FSH"
AT+FSPL=? RESULT = "OK" RESPONSE = "(0,1)"
AT+FSPL? RESULT = "OK" RESPONSE = "0"
AT+FTBC=? RESULT = "OK" RESPONSE = "(0)"
AT+FTBC? RESULT = "OK" RESPONSE = "0"
AT+FVRFC=? RESULT = "OK" RESPONSE = "(0)"
AT+FVRFC? RESULT = "OK" RESPONSE = "0"
AT+FWDFC=? RESULT = "OK" RESPONSE = "(0)"
AT+FWDFC? RESULT = "OK" RESPONSE = "0"
AT+FK=? RESULT = "ERROR" RESPONSE = "ERROR"


Class 1.0 stuff...

AT+FCLASS=? RESULT = "OK" RESPONSE = "0,1,1.0,2,8,10"
AT+FCLASS? RESULT = "OK" RESPONSE = "2"
AT+FCLASS=0 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS=1.0 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS? RESULT = "OK" RESPONSE = "1.0"
AT+FJUNK=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FJUNK? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FAA=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FAA? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FAE=? RESULT = "OK" RESPONSE = "(0,1)"
AT+FAE? RESULT = "OK" RESPONSE = "0"
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"
AT+FAR=? RESULT = "OK" RESPONSE = "(0,1)"
AT+FCL=? RESULT = "OK" RESPONSE = "(0-255)"
AT+FIT=? RESULT = "OK" RESPONSE = "(0-255),(0,1)"
AT+F34=? RESULT = "ERROR" RESPONSE = "ERROR"





faxaddmodem output:


Serial port that modem is connected to []? ttyS0

Ok, time to setup a configuration file for the modem.  The manual
page config(5F) may be useful during this process.  Also be aware
that at any time you can safely interrupt this procedure.

Reading scheduler config file /var/spool/hylafax/etc/config.

/usr/local/sbin/faxaddmodem: =: command not found
Hey, there is an existing config file /var/spool/hylafax/etc/config.ttyS0...

Your facsimile phone number ("03 84 44 62 00") does not agree with your
country code (33) or area code (1).  The number
should be a fully qualified international dialing number of the form:

+33 1 <local phone number>

Spaces, hyphens, and periods can be included for legibility. For example,

+33.1.555.1212

is a possible phone number (using your country and area codes).

The non-default server configuration parameters are:

CountryCode:            33
AreaCode:               1
FAXNumber:              "03 84 44 62 00"
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
SessionTracing:         11
RingsBeforeAnswer:      1
SpeakerVolume:          medium
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        ERILOG
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
PercentGoodLines:       90
MaxConsecutiveBadLines: 10
MaxRecvPages:           25

Are these ok [yes]?

Now we are going to probe the tty port to figure out the type
of modem that is attached.  This takes a few seconds, so be patient.
Note that if you do not have the modem cabled to the port, or the
modem is turned off, this may hang (just go and cable up the modem
or turn it on, or whatever).

Probing for best speed to talk to modem: 38400 OK.

About fax classes:

The difference between fax classes has to do with how HylaFAX interacts
with the modem and the fax protocol features that are used when sending
or receiving faxes.  One class isn't inherently better than another;
however, one probably will suit a user's needs better than others.

Class 1 relies on HylaFAX to perform the bulk of the fax protocol.
Class 2 relies on the modem to perform the bulk of the fax protocol.
Class 2.0 is similar to Class 2 but may include more features.
Class 1.0 is similar to Class 1 but may add V.34-fax capability.
Class 2.1 is similar to Class 2.0 but adds V.34-fax capability.

HylaFAX generally will have more features when using Class 1/1.0 than
when using most modems' Class 2 or Class 2.0 implementations.  Generally
any problems encountered in Class 1/1.0 can be resolved by modifications
to HylaFAX, but usually any problems encountered in Class 2/2.0/2.1 will
require the modem manufacturer to resolve it.

If you're unsure and your modem supports it, use Class 1.

This modem looks to have support for Class 1, 2 and 1.0.
How should it be configured [1]? 1

Hmm, this looks like a Class 1 modem.
Product code (ATI0) is "MT5656ZDX".
Other information (ATI3) is "ACF3_V1.702A-V90_P21_FSH".
DTE-DCE flow control scheme [default]?
Modem manufacturer is "Unknown".
Modem model is "Unknown".

Using prototype configuration file class1...

There is no prototype configuration file for your modem, so we will
have to fill in the appropriate parameters by hand.  You will need the
manual for how to program your modem to do this task.  In case you are
uncertain of the meaning of a configuration parameter you should
consult the config(5F) manual page for an explanation.

Note that modem commands must be specified exactly as they are to be
sent to the modem.  Note also that quote marks (") will not be displayed
and will automatically be deleted.  You can use this facility to supply
null parameters as "".

Finally, beware that the set of parameters is long.  If you prefer to
use your favorite editor instead of this script you should fill things
in here as best you can and then edit the configuration file

"/var/spool/hylafax/etc/config.ttyS0"

after completing this procedure.

Command to enter Class 1 [AT+FCLASS=1]?
Command to stop and wait prior to sending PPM [AT+FTS=7]?
Command to stop and wait prior to sending TCF [AT+FTS=7]?
Command to stop and wait prior to sending EOP [AT+FTS=9]?
Extra bytes in a received HDLC frame [4]?
Command to avoid +FCERROR before image data [""]?
Maximum time to wait for OK after aborting a receive (ms) [200]?
Maximum wait for initial identification frame (ms) [40000]?
Delay after completing training (ms) [200]?
Command to ensure silence after receiving HDLC and before sending [AT+FRS=7]?
Delay before sending DCS and TCF (ms) [75]?
Delay after failed training (ms) [1500]?


The modem configuration parameters are:

Class1Cmd:              AT+FCLASS=1
Class1PPMWaitCmd:       AT+FTS=7
Class1TCFWaitCmd:       AT+FTS=7
Class1EOPWaitCmd:       AT+FTS=9
Class1FrameOverhead:    4
Class1MsgRecvHackCmd:   ""
Class1RecvAbortOK:      200
Class1RecvIdentTimer:   40000
Class1SendMsgDelay:     200
Class1SwitchingCmd:     AT+FRS=7
Class1TCFMaxNonZero:    10
Class1TCFMinRun:        1000
Class1TCFResponseDelay: 75
Class1TrainingRecovery: 1500

Are these ok [yes]?

Creating new configuration file /var/spool/hylafax/etc/config.ttyS0...
...saving current file as /var/spool/hylafax/etc/config.ttyS0.sav.
Done setting up the modem configuration.

Checking /var/spool/hylafax/etc/config for consistency...
/usr/local/sbin/faxaddmodem: =: command not found
...everything looks ok; leaving existing file unchanged.

Don't forget to run faxmodem(8C) (if you have a send-only environment)
or configure init to run faxgetty on ttyS0.


Thanks again



----- Original Message ----- From: "Lee Howard" <faxguy@xxxxxxxxxxxxxxxx>
To: "Emmanuel RIZZI" <erizzi@xxxxxxxxxx>
Cc: <hylafax-users@xxxxxxxxxxx>
Sent: Friday, March 25, 2005 6:02 PM
Subject: Re: [hylafax-users] EOP between 2 hylafax server with Multitech 5656 modem



Emmanuel RIZZI wrote:

Mar 25 08:06:45.18: [ 1150]: Copy quality checking performed by host
Mar 25 08:06:46.30: [ 1150]: RECV: 105 total lines, 0 bad lines, 0 consecutive bad lines
Mar 25 08:06:46.41: [ 1150]: --> [18:+FPTS: 2,105,105,0]
Mar 25 08:06:47.61: [ 1150]: --> [7:+FET: 2]
Mar 25 08:06:47.62: [ 1150]: RECV recv EOP (no more pages or documents)
Mar 25 08:06:47.72: [ 1150]: --> [2:OK]
Mar 25 08:06:47.73: [ 1150]: RECV send MCF (message confirmation)


Some of the same old usual Class 2 firmware issues...

In Class 2 the modem is not really supposed to perform copy quality correction. But here you can see that the modem is doing just that... or something weird like that. HylaFAX's decoding of the data received from the modem showed 105 lines with none of them bad. The +FPTS report from the modem there tells us that the modem will transmit RTN instead of MCF, that there were 105 lines counted, and that 105 of them were bad, and that 0 of them were consecutive. Obviously something doesn't make sense there. You can't have 105 lines of 105 lines be bad with none of them being consecutive.

So, anyway, basically the problem is most likely that when HylaFAX initialized the modem it did not claim to support copy quality correction, and yet it does, and so now HylaFAX thinks that it is doing all of that work, but really the modem is, and so HylaFAX thinks that it's transmitting MCF when the modem is really transmitting RTN.

The solution, just like with other MultiTechs in Class 2, is to put these in your modem config file:

 Class2CQQueryCmd:  "!0-2"
 Class2CQCmd:  AT+FCQ=1

Now, that will get HylaFAX and the modem talking on the same page. There still, however, seems to be some issue with the consecutive bad line count in the first place. My guess is that the fill order is wrong, and that you need:

ModemRecvFillOrder: MSB2LSB

in your modem config files.

You could probably save yourself a lot of trouble by using Class 1. But if you insist on using Class 2, please do yourself a favor and use one of the prototype config files for modern MultiTech modems (i.e. config/lucent-mt-2).

Lee.



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



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services