Hylafax Mailing List Archives

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

[hylafax-users] Multi-Tech ZMA v.92 (1.28C firmware) sending is still not right.



I'm trying to drive ECM usage, ergo, the AT+FCLASS=2.1;+FRY=4 command.

I guess this particular endpoint didn't support ECM, but I'm wondering about
how+why these hangups are occurring.

I'm using the "blessed" Multitech ZBA (v.92) external modem with FroggieFax
4.1.7.

Would lowering the modulation rate (speed) improve chances for success?

The outbound operations seem better than the USR Sportster (even when it was
driven in Class 1 mode), but things aren't quite right even with the
low-levels of usage in my testing.

Steve of Multi-tech (or anyone who knows), what do you suggest for OPTIMUM
chances of successful deliveries to overseas machines?

Is there nothing to be done with "SEND recv RTN (retrain negative)" other
than to hang up?  What are the core issues/problems with getting faxes sent
without so much hand-wringing?

My modem-centric config is as follows:

ModemType:              Class2.1
ModemRate:              57600
Class2APCmd:            AT+FAP=1,1,1
Class2CQCmd:            AT+FCQ=1,0
Class2SendRTC:          yes
Class2UseHex:           yes

Class2RTFCC:            yes
Class2Cmd:              AT+FCLASS=2.1;+FRY=4

# unfortunately, HylaFAX can't currently receive in color
ModemAnswerCmd:         AT+FCC=,,,,,,,,0;A
# and, let's try to prevent any color sending attempts, also
ModemDialCmd:           AT+FCC=,,,,,,,,0;DT%s

Is there any point to setting "outbound" copy-quality checking?  Most of my
endpoints are banks with fax machines as opposed to faxmodems.

As a firmware engineer, I've developed a great deal of discipline to handle
unexpected or error conditions with gracefully degrading performance and to
"keep things together" for as long as possible.  One tends to use
non-boolean logic to colour various device states and conditions, so that
intelligent retries and recovery procedures can be invoked to retain the
integrity of a given transaction.  Yes, I'm talking about optical and
magnetic storage devices mostly, but serial/telephony equipment isn't so
different.

There is often a world of difference between canonically following
specification and implementing something which is durable, but resilient in
the face of communicating with devices in the real world.  So much of this
fax stuff seems "kick and fail" when anything the least bit unexpected
happens.  Is this a problem with modem firmware, HylaFAX logic, or the
endpoint fax unit's firmware?  (Swami Rob senses the reply to this to be the
vague "some of all three").

The fax exchanges look like they drop and raise carrier repeatedly for each
page - would it be better if carrier weren't dropped, if it could be driven
this way?

Are these call drops caused by unexpected events on the sender's side,
receiver's side, or a timing issue of not responding quickly enough, or not
waiting long enough?  Or are the telephony gods just striking down this
connection with a thunderbolt of line-noise.  My long distance carrier is a
decent one, and the destinations so far haven't been completely third-world
(Hong Kong and Singapore).

At this stage, I'm ready to try CVS code if you think this would actually
either improve things or help produce more logging data to feedback to the
process of improvement.

=R=

------------- LOG --------------

03:49:27.88:  SESSION BEGIN 00000346 852xxxxxxxx
03:49:27.88:  HylaFAX (tm) Version 4.1.7
03:49:27.88:  SEND FAX: JOB 163 DEST +852xxxxxxxx COMMID 00000346 DEVICE
'/dev/modem'
03:49:27.88:  MODEM set DTR OFF
03:49:27.88:  DELAY 75 ms
03:49:27.96:  MODEM set DTR ON
03:49:27.96:  DELAY 2600 ms
03:49:31.57:  MODEM set baud rate: 57600 baud, input flow XON/XOFF, output
flow XON/XOFF
03:49:31.57:  DELAY 10 ms
03:49:31.58:  MODEM flush i/o
03:49:31.58:  <-- [4:ATZ\r]
03:49:32.54:  --> [2:OK]
03:49:32.54:  DELAY 3000 ms
03:49:35.54:  <-- [5:ATE0\r]
03:49:35.55:  --> [4:ATE0]
03:49:35.55:  --> [2:OK]
03:49:35.55:  <-- [5:ATV1\r]
03:49:35.56:  --> [2:OK]
03:49:35.56:  <-- [5:ATQ0\r]
03:49:35.57:  --> [2:OK]
03:49:35.57:  <-- [7:ATS0=0\r]
03:49:35.58:  --> [2:OK]
03:49:35.58:  <-- [7:ATS8=2\r]
03:49:35.59:  --> [2:OK]
03:49:35.59:  <-- [8:ATS7=60\r]
03:49:35.60:  --> [2:OK]
03:49:35.60:  <-- [6:AT&K4\r]
03:49:35.61:  --> [2:OK]
03:49:35.61:  <-- [21:AT+FCLASS=2.1;+FRY=4\r]
03:49:35.62:  --> [2:OK]
03:49:35.62:  <-- [9:AT+FLO=1\r]
03:49:35.63:  --> [2:OK]
03:49:35.63:  <-- [9:AT+FPP=0\r]
03:49:35.64:  --> [2:OK]
03:49:35.64:  <-- [9:AT+FBO=0\r]
03:49:35.65:  --> [2:OK]
03:49:35.65:  <-- [10:AT+FCT=30\r]
03:49:35.66:  --> [2:OK]
03:49:35.66:  <-- [11:AT+FCQ=1,0\r]
03:49:35.67:  --> [2:OK]
03:49:35.67:  <-- [15:AT+FNR=1,1,1,1\r]
03:49:35.68:  --> [2:OK]
03:49:35.68:  <-- [13:AT+FAP=1,1,1\r]
03:49:35.69:  --> [2:OK]
03:49:35.69:  <-- [9:AT+FIE=0\r]
03:49:35.70:  --> [2:OK]
03:49:35.70:  <-- [9:AT+FBU=1\r]
03:49:35.71:  --> [2:OK]
03:49:35.71:  <-- [23:AT+FCC=1,D,2,2,3,1,0,0\r]
03:49:35.72:  --> [2:OK]
03:49:35.72:  <-- [5:ATM0\r]
03:49:35.73:  --> [2:OK]
03:49:35.73:  sched policy=1, priority=1
03:49:35.73:  MODEM input buffering enabled
03:49:35.73:  <-- [21:AT+FCLASS=2.1;+FRY=4\r]
03:49:35.84:  --> [2:OK]
03:49:35.84:  <-- [9:AT+FLO=1\r]
03:49:35.95:  --> [2:OK]
03:49:35.95:  <-- [9:AT+FPP=0\r]
03:49:36.06:  --> [2:OK]
03:49:36.06:  <-- [9:AT+FBO=0\r]
03:49:36.17:  --> [2:OK]
03:49:36.17:  <-- [10:AT+FCT=30\r]
03:49:36.28:  --> [2:OK]
03:49:36.28:  <-- [11:AT+FCQ=1,0\r]
03:49:36.39:  --> [2:OK]
03:49:36.39:  <-- [15:AT+FNR=1,1,1,1\r]
03:49:36.50:  --> [2:OK]
03:49:36.50:  <-- [13:AT+FAP=1,1,1\r]
03:49:36.61:  --> [2:OK]
03:49:36.61:  <-- [9:AT+FIE=0\r]
03:49:36.72:  --> [2:OK]
03:49:36.72:  <-- [9:AT+FBU=1\r]
03:49:36.83:  --> [2:OK]
03:49:36.83:  <-- [23:AT+FCC=1,D,2,2,3,1,0,0\r]
03:49:36.94:  --> [2:OK]
03:49:36.94:  <-- [20:AT+FLI="DebtDomain"\r]
03:49:37.05:  --> [2:OK]
03:49:37.05:  DIAL 011852xxxxxxxx
03:49:37.05:  <-- [34:AT+FCC=,,,,,,,,0;DT011852xxxxxxxx\r]
03:50:02.65:  --> [62:+FHR:FF 03 20 AD 00 51 5A 00 00 00 00 00 00 00 00 00
00 00 00 ]
03:50:02.65:  --> [4:+FCO]
03:50:02.65:  --> [52:+FNF:AD 00 51 5A 00 00 00 00 00 00 00 00 00 00 00 00]
03:50:02.65:  REMOTE NSF "AD 00 51 5A 00 00 00 00 00 00 00 00 00 00 00 00"
03:50:02.65:  NSF remote fax equipment: unknown 
03:50:03.32:  --> [65:+FHR:FF 03 20 AD 00 51 5A 00 00 00 00 00 00 00 00 00
00 00 00 00 ]
03:50:03.32:  --> [55:+FNF:AD 00 51 5A 00 00 00 00 00 00 00 00 00 00 00 00 00]
03:50:03.32:  REMOTE NSF "AD 00 51 5A 00 00 00 00 00 00 00 00 00 00 00 00 00"
03:50:03.32:  NSF remote fax equipment: unknown 
03:50:04.17:  --> [74:+FHR:FF 03 40 3x 3x 3x 3x 20 3x 3x 3x 3x 20 32 35 38
20 2B 20 20 20 20 20 ]
03:50:04.17:  --> [27:+FCI:"     + 852 xxxx xxxx"]
03:50:04.17:  REMOTE CSI "+ 852 xxxx xxxx"
03:50:04.53:  --> [35:+FHR:FF 13 80 00 6E E8 80 80 10 10 ]
03:50:04.53:  --> [22:+FIS:1,5,0,2,0,0,0,2,0]
03:50:04.53:  --> [2:OK]
03:50:04.53:  REMOTE best rate 14400 bit/s
03:50:04.53:  REMOTE max page width 1728 pixels in 215 mm
03:50:04.53:  REMOTE max unlimited page length
03:50:04.53:  REMOTE best vres 7.7 line/mm
03:50:04.53:  REMOTE best format 1-D MR
03:50:04.53:  REMOTE best 10 ms, 5 ms/scanline
03:50:04.53:  USE 14400 bit/s
03:50:04.53:  USE 10 ms, 5 ms/scanline
03:50:04.53:  SEND file "docq/doc163.cover;c0"
03:50:04.53:  USE page width 1728 pixels in 215 mm
03:50:04.53:  USE unlimited page length
03:50:04.53:  USE 3.85 line/mm
03:50:04.53:  USE 1-D MR
03:50:04.53:  <-- [23:AT+FIS=0,5,0,2,0,0,0,2\r]
03:50:04.64:  --> [2:OK]
03:50:04.64:  <-- [7:AT+FDT\r]
03:50:05.77:  --> [74:+FHT:FF 03 43 20 20 20 20 20 20 20 20 20 20 6E 69 61
6D 6F 44 74 62 65 44 ]
03:50:05.77:  --> [32:+FHT:FF 13 83 00 22 A8 80 80 00 ]
03:50:13.84:  --> [62:+FHR:FF 03 20 AD 00 51 5A 00 00 00 00 00 00 00 00 00
00 00 00 ]
03:50:13.84:  --> [52:+FNF:AD 00 51 5A 00 00 00 00 00 00 00 00 00 00 00 00]
03:50:14.42:  --> [65:+FHR:FF 03 20 AD 00 51 5A 00 00 00 00 00 00 00 00 00
00 00 00 00 ]
03:50:14.42:  --> [55:+FNF:AD 00 51 5A 00 00 00 00 00 00 00 00 00 00 00 00 00]
03:50:15.26:  --> [74:+FHR:FF 03 40 3x 3x 3x 3x 20 3x 3x 3x 3x 20 32 35 38
20 2B 20 20 20 20 20 ]
03:50:15.26:  --> [27:+FCI:"     + 852 xxxx xxxx"]
03:50:15.62:  --> [35:+FHR:FF 13 80 00 6E E8 80 80 10 10 ]
03:50:15.62:  --> [22:+FIS:1,5,0,2,0,0,0,2,0]
03:50:16.66:  --> [74:+FHT:FF 03 43 20 20 20 20 20 20 20 20 20 20 6E 69 61
6D 6F 44 74 62 65 44 ]
03:50:16.66:  --> [32:+FHT:FF 13 83 00 22 A8 80 80 00 ]
03:50:25.04:  --> [14:+FHR:FF 13 84 ]
03:50:25.04:  --> [22:+FCS:0,5,0,2,0,0,0,2,0]
03:50:25.04:  --> [7:CONNECT]
03:50:25.04:  Enable Real-Time Fax Compression Conversion
03:50:25.04:  Reading MMR-compressed image file
03:50:25.04:  <-- data [2]
03:50:25.04:  SEND begin page
03:50:25.04:  MODEM set XON/XOFF/FLUSH: input interpreted, output disabled
03:50:25.05:  <-- data [1038]
03:50:25.05:  <-- data [1039]
03:50:25.05:  <-- data [1041]
03:50:25.05:  <-- data [511]
03:50:25.05:  SENT 3576 bytes of data
03:50:25.05:  SEND 1D RTC
03:50:25.05:  <-- data [9]
03:50:25.05:  MODEM set XON/XOFF/DRAIN: input interpreted, output generated
03:50:29.53:  SEND end page
03:50:29.53:  SEND send MPS (more pages, same document)
03:50:29.53:  <-- data [2]
03:50:39.33:  --> [14:+FHT:FF 13 4F ]
03:50:43.37:  --> [14:+FHR:FF 13 4C ]
03:50:43.37:  --> [5:ERROR]
03:50:43.37:  <-- [8:AT+FPS?\r]
03:50:43.48:  --> [2:02]
03:50:43.48:  --> [2:OK]
03:50:43.48:  SEND recv RTN (retrain negative)
03:50:43.48:  <-- [23:AT+FIS=0,4,0,2,0,0,0,2\r]
03:50:43.59:  --> [2:OK]
03:50:43.59:  <-- [7:AT+FDT\r]
03:50:44.72:  --> [74:+FHT:FF 03 43 20 20 20 20 20 20 20 20 20 20 6E 69 61
6D 6F 44 74 62 65 44 ]
03:50:44.72:  --> [32:+FHT:FF 13 83 00 2A A8 80 80 00 ]
03:50:53.06:  --> [74:+FHT:FF 03 43 20 20 20 20 20 20 20 20 20 20 6E 69 61
6D 6F 44 74 62 65 44 ]
03:50:53.06:  --> [32:+FHT:FF 13 83 00 2A A8 80 80 00 ]
03:51:01.41:  --> [74:+FHT:FF 03 43 20 20 20 20 20 20 20 20 20 20 6E 69 61
6D 6F 44 74 62 65 44 ]
03:51:01.41:  --> [32:+FHT:FF 13 83 00 2A A8 80 80 00 ]
03:51:09.70:  --> [14:+FHT:FF 13 FB ]
03:51:10.10:  --> [7:+FHS:25]
03:51:10.10:  REMOTE HANGUP: DCS sent 3 times without response (code 25)
03:51:10.10:  --> [2:OK]
03:54:10.12:  MODEM TIMEOUT: reading line from modem
03:54:10.12:  MODEM <Timeout>
03:54:10.12:  <-- [5:ATH0\r]
03:54:10.25:  --> [2:OK]
03:54:10.25:  MODEM set DTR OFF
03:54:10.25:  sched policy=0, priority=0
03:54:10.25:  SESSION END

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



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