Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[hylafax-users] *ARGH* The woes of faxing.
I've been in the unfortunate position of having to setup an outbound
facsimile service that's driven by a web/db backend. Woe is me.
I've started with a USR Sportster X2 modem. First started in Class 2.0,
more woe. It works when sending to my inbound faxmodem at home, which is a
Diamond/SupraExpress, 56K running in Class 1.
But it has issues sending faxes overseas to Brother fax equipment, it fails
one or two times out of three - faxes usually get through, but only after
retrying.
I kicked it down a notch to Class 1 operation, things seemed to improve, but
there are still problems. On one fax attempt to Japan, it failed during a
protocol exchange *three times*. *SIGH*
The modem's configured with a stock RTS/CTS 19.2Kbaud Class1 script.
In a recent exchange, I obtained the following log (PID trimmed from log for
brevity's sake):
1:27:50.10: SESSION BEGIN 00000226 852xxxxxxxx
1:27:50.10: HylaFAX (tm) Version 4.1.7
1:27:50.10: SEND FAX: JOB 103 DEST +852xxxxxxxx COMMID 00000226 DEVICE
'/dev/modem'
1:27:50.10: MODEM set DTR OFF
1:27:50.10: DELAY 75 ms
1:27:50.18: MODEM set DTR ON
1:27:50.18: DELAY 2600 ms
1:27:53.79: MODEM set baud rate: 19200 baud, input flow RTS/CTS, output flow
RTS/CTS
1:27:53.79: DELAY 10 ms
1:27:53.80: MODEM flush i/o
1:27:53.80: <-- [4:ATZ\r]
1:27:53.94: --> [3:ATZ]
1:27:53.94: --> [2:OK]
1:27:53.94: DELAY 3000 ms
1:27:56.94: <-- [5:ATE0\r]
1:27:57.08: --> [4:ATE0]
1:27:57.08: --> [2:OK]
1:27:57.08: <-- [5:ATV1\r]
1:27:57.22: --> [2:OK]
1:27:57.22: <-- [7:ATQ0X4\r]
1:27:57.36: --> [2:OK]
1:27:57.36: <-- [7:ATS0=0\r]
1:27:57.50: --> [2:OK]
1:27:57.50: <-- [7:ATS8=2\r]
1:27:57.64: --> [2:OK]
1:27:57.64: <-- [8:ATS7=60\r]
1:27:57.78: --> [2:OK]
1:27:57.78: <-- [12:AT&H1&I0&R2\r]
1:27:57.92: --> [2:OK]
1:27:57.92: <-- [11:ATS13=1&D2\r]
1:27:58.06: --> [2:OK]
1:27:58.06: <-- [6:AT&C1\r]
1:27:58.20: --> [2:OK]
1:27:58.20: <-- [12:AT+FCLASS=1\r]
1:27:58.34: --> [2:OK]
1:27:58.34: <-- [12:AT&H1&I0&R2\r]
1:27:58.48: --> [2:OK]
1:27:58.48: <-- [25:AT+FCLASS=0&H1&I0&R2S0=0\r]
1:27:58.63: --> [2:OK]
1:27:58.63: <-- [5:ATM0\r]
1:27:58.77: --> [2:OK]
1:27:58.77: sched policy=1, priority=1
1:27:58.77: MODEM input buffering enabled
1:27:58.77: <-- [12:AT+FCLASS=1\r]
1:27:59.01: --> [2:OK]
1:27:59.01: <-- [12:AT&H1&I0&R2\r]
1:27:59.25: --> [2:OK]
1:27:59.25: DIAL 011852xxxxxxxx
1:27:59.25: <-- [19:ATDT011852xxxxxxxx\r]
1:28:40.72: --> [7:CONNECT]
1:28:40.72: MODEM input buffering disabled
1:28:45.72: MODEM TIMEOUT: receiving HDLC frame data
1:28:45.72: <-- data [1]
1:28:45.73: --> [2:OK]
1:28:45.73: DELAY 200 ms
1:28:45.93: <-- [9:AT+FRH=3\r]
1:28:48.98: --> [7:CONNECT]
1:28:51.64: --> HDLC<25:FF C0 02 04 04 04 04 04 04 1C 4C 1C 1C 04 AC 2C 1C
4C 04 4C AC 1C D4 2A EC>
1:28:51.64: --> [2:OK]
1:28:51.64: REMOTE CSI "+852 xxxx xxxx"
1:28:51.64: <-- [9:AT+FRH=3\r]
1:28:51.66: --> [7:CONNECT]
1:28:51.96: --> HDLC<9:FF C8 01 00 72 15 00 F8 8D>
1:28:51.96: --> [2:OK]
1:28:51.96: REMOTE best rate 9600 bit/s
1:28:51.96: REMOTE max page width 1728 pixels in 215 mm
1:28:51.96: REMOTE max unlimited page length
1:28:51.96: REMOTE best vres 7.7 line/mm
1:28:51.96: REMOTE best format 1-D MR
1:28:51.96: REMOTE best 10 ms/scanline
1:28:51.96: USE 9600 bit/s
1:28:51.96: USE 10 ms/scanline
1:28:51.96: SEND file "docq/doc103.cover;00"
1:28:51.96: USE page width 1728 pixels in 215 mm
1:28:51.96: USE unlimited page length
1:28:51.96: USE 3.85 line/mm
1:28:51.96: USE 1-D MR
1:28:51.96: SEND training at v.29 9600 bit/s
1:28:51.96: <-- [9:AT+FTH=3\r]
1:28:52.16: --> [7:CONNECT]
1:28:52.16: <-- HDLC<23:FF C0 C2 76 96 86 B6 F6 22 2E 46 A6 22 04 04 04 04
04 04 04 04 04 04>
1:28:52.16: <-- data [23]
1:28:52.16: <-- data [2]
1:28:52.19: --> [7:CONNECT]
1:28:52.19: <-- HDLC<6:FF C8 C1 00 60 14>
1:28:52.19: <-- data [6]
1:28:52.19: <-- data [2]
1:28:54.13: --> [2:OK]
1:28:54.13: <-- [9:AT+FTS=7\r]
1:28:54.21: --> [2:OK]
1:28:54.21: <-- [10:AT+FTM=96\r]
1:28:54.53: --> [7:CONNECT]
1:28:54.53: <-- data [1024]
1:28:54.53: <-- data [776]
1:28:54.53: <-- data [2]
1:28:56.06: --> [2:OK]
1:28:56.06: <-- [9:AT+FRH=3\r]
1:28:58.58: --> [7:CONNECT]
1:29:00.80: --> HDLC<9:FF C8 01 00 72 15 00 F8 8D>
1:29:00.80: --> [2:OK]
1:29:00.80: SEND training at v.29 9600 bit/s
1:29:00.80: <-- [9:AT+FTH=3\r]
1:29:01.00: --> [7:CONNECT]
1:29:01.00: <-- HDLC<23:FF C0 C2 76 96 86 B6 F6 22 2E 46 A6 22 04 04 04 04
04 04 04 04 04 04>
1:29:01.00: <-- data [23]
1:29:01.00: <-- data [2]
1:29:01.03: --> [7:CONNECT]
1:29:01.03: <-- HDLC<6:FF C8 C1 00 60 14>
1:29:01.03: <-- data [6]
1:29:01.03: <-- data [2]
1:29:02.97: --> [2:OK]
1:29:02.97: <-- [9:AT+FTS=7\r]
1:29:03.05: --> [2:OK]
1:29:03.05: <-- [10:AT+FTM=96\r]
1:29:03.37: --> [7:CONNECT]
1:29:03.37: <-- data [1024]
1:29:03.37: <-- data [776]
1:29:03.37: <-- data [2]
1:29:04.90: --> [2:OK]
1:29:04.90: <-- [9:AT+FRH=3\r]
1:29:07.37: --> [7:CONNECT]
1:29:09.21: --> HDLC<5:FF C8 22 67 DD>
1:29:09.21: --> [2:OK]
1:29:09.21: SEND training at v.29 7200 bit/s
1:29:09.21: <-- [9:AT+FTH=3\r]
1:29:09.41: --> [7:CONNECT]
1:29:09.41: <-- HDLC<23:FF C0 C2 76 96 86 B6 F6 22 2E 46 A6 22 04 04 04 04
04 04 04 04 04 04>
1:29:09.41: <-- data [23]
1:29:09.41: <-- data [2]
1:29:09.44: --> [7:CONNECT]
1:29:09.44: <-- HDLC<6:FF C8 C1 00 70 14>
1:29:09.44: <-- data [6]
1:29:09.44: <-- data [2]
1:29:11.38: --> [2:OK]
1:29:11.38: <-- [9:AT+FTS=7\r]
1:29:11.46: --> [2:OK]
1:29:11.46: <-- [10:AT+FTM=72\r]
1:29:11.78: --> [7:CONNECT]
1:29:11.78: <-- data [1024]
1:29:11.78: <-- data [326]
1:29:11.78: <-- data [2]
1:29:13.32: --> [2:OK]
1:29:13.32: <-- [9:AT+FRH=3\r]
1:29:15.37: --> [7:CONNECT]
1:29:16.38: --> HDLC<5:FF C8 22 67 DD>
1:29:16.38: --> [2:OK]
1:29:16.38: SEND training at v.27ter 4800 bit/s
1:29:16.38: <-- [9:AT+FTH=3\r]
1:29:16.58: --> [7:CONNECT]
1:29:16.58: <-- HDLC<23:FF C0 C2 76 96 86 B6 F6 22 2E 46 A6 22 04 04 04 04
04 04 04 04 04 04>
1:29:16.58: <-- data [23]
1:29:16.58: <-- data [2]
1:29:16.61: --> [7:CONNECT]
1:29:16.61: <-- HDLC<6:FF C8 C1 00 50 14>
1:29:16.61: <-- data [6]
1:29:16.61: <-- data [2]
1:29:18.55: --> [2:OK]
1:29:18.55: <-- [9:AT+FTS=7\r]
1:29:18.63: --> [2:OK]
1:29:18.63: <-- [10:AT+FTM=48\r]
1:29:19.65: --> [7:CONNECT]
1:29:19.65: <-- data [900]
1:29:19.65: <-- data [2]
1:29:21.19: --> [2:OK]
1:29:21.19: <-- [9:AT+FRH=3\r]
1:29:21.82: --> [7:CONNECT]
1:29:22.54: --> [20:66 22 17 2A 08 87 89 08 98 4E 61 43 55 4C 6C 48 12 7A 73 3B]
1:29:22.54: --> [9:B6 06 9F 24 11 C8 C0 10 03]
1:29:22.54: --> [5:ERROR]
1:29:22.54: MODEM Command error
1:29:22.54: FCS error
1:29:22.54: DELAY 1500 ms
1:29:24.04: SEND training at v.27ter fallback mode 2400 bit/s
1:29:24.04: <-- [9:AT+FTH=3\r]
1:29:24.24: --> [7:CONNECT]
1:29:24.24: <-- HDLC<23:FF C0 C2 76 96 86 B6 F6 22 2E 46 A6 22 04 04 04 04
04 04 04 04 04 04>
1:29:24.24: <-- data [23]
1:29:24.24: <-- data [2]
1:29:24.27: --> [7:CONNECT]
1:29:24.27: <-- HDLC<6:FF C8 C1 00 40 14>
1:29:24.27: <-- data [6]
1:29:24.27: <-- data [2]
1:29:26.21: --> [2:OK]
1:29:26.21: <-- [9:AT+FTS=7\r]
1:29:26.29: --> [2:OK]
1:29:26.29: <-- [10:AT+FTM=24\r]
1:29:27.54: --> [7:CONNECT]
1:29:27.54: <-- data [450]
1:29:27.54: <-- data [2]
1:29:29.12: --> [2:OK]
1:29:29.12: <-- [9:AT+FRH=3\r]
1:29:31.50: --> [7:CONNECT]
1:29:31.53: --> [4:02 FB 10 03]
1:29:31.53: --> [5:ERROR]
1:29:31.53: MODEM Command error
1:29:31.53: FCS error
1:29:31.53: DELAY 1500 ms
1:29:33.03: TRAINING failed
1:29:33.03: <-- [9:AT+FTH=3\r]
1:29:33.23: --> [7:CONNECT]
1:29:33.23: <-- HDLC<3:FF C8 DF>
1:29:33.23: <-- data [3]
1:29:33.23: <-- data [2]
1:29:34.40: --> [2:OK]
1:29:34.40: MODEM input buffering enabled
1:29:34.40: <-- [5:ATH0\r]
1:29:34.64: --> [2:OK]
1:29:34.64: MODEM set DTR OFF
1:29:34.64: sched policy=0, priority=0
1:29:34.64: SESSION END
It looks like the modem continually retrained at successively lower speeds,
until it ran out. I find it REALLY hard to believe the connection was too
poor to support a 2400 baud connection.
I've ordered a MultiTech ZBA modem because I'm out of options. No amount of
settings tweaks and Class 1 versus 2.0 seems to get more reliability out of
this service.
=R=
____________________ 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*