HylaFAX The world's most advanced open source fax server

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

Re: compressed lines



Hi Eric,

I think you should be taking note of those errors. Particularly the
timeout. That means that the modem didn't respond at all. Either the
modem is broken, your serial is broken or something else is grabbing the
response.

First of all try changing over to /dev/ttyS0, that is what I use and
everyone else seems to think that it is a better device. You will need
to change your faxgetty line in /etc/inittab, rename the config file and
the FIFO file. Then restart your hylafax processes - you may also need
to run faxmodem ttyS0. I am concerned that there might be another
process listening on /dev/ttyS0 (possibly grabbing the handshake
characters).

You may find that when you do this you can undo some of the mods that
you made to the config file.
Then try and grab a command reference for your modem and check that the
commands you are sending are reasonable.

Damian 

Eric Smith wrote:
> 
> On Tue, Dec 15, 1998 at 09:37:00AM +1100, Damian A Ivereigh wrote:
> > Can you send a log file for when this happens. This is usually caused by
> > handshaking problems.
> 
> sure:
> 
> But there aint much there - u will see some command errors in the beginning
> but this does not affect usage so I just ignore it
> 
> Here is the trace of the fax to New York that was screwy and I follow it with a
> normal trace that i tested recently - not much diff I am afraid:
> 
> ================
> 
> Dec 13 21:47:40.59: [13112]: SESSION BEGIN 00000112 44015163286874
> Dec 13 21:47:40.59: [13112]: SEND FAX: JOB 88 DEST 0015163286874 COMMID 00000112
> Dec 13 21:47:40.59: [13112]: DELAY 2600 ms
> Dec 13 21:47:43.20: [13112]: <-- [15:ATE0V1Q0S0=0H0\r]
> Dec 13 21:47:43.41: [13112]: --> [2:OK]
> Dec 13 21:47:43.41: [13112]: <-- [15:ATS8=2S7=60&D2\r]
> Dec 13 21:47:48.41: [13112]: MODEM <Timeout>
> Dec 13 21:47:48.41: [13112]: <-- [5:ATM0\r]
> Dec 13 21:47:48.62: [13112]: --> [2:OK]
> Dec 13 21:47:48.62: [13112]: <-- [12:AT+FCLASS=2\r]
> Dec 13 21:47:48.94: [13112]: --> [2:OK]
> Dec 13 21:47:48.94: [13112]: <-- [10:AT+FTBC=0\r]
> Dec 13 21:47:49.24: [13112]: --> [5:ERROR]
> Dec 13 21:47:49.24: [13112]: MODEM Command error
> Dec 13 21:47:49.24: [13112]: <-- [10:AT+FBOR=0\r]
> Dec 13 21:47:49.55: [13112]: --> [2:OK]
> Dec 13 21:47:49.55: [13112]: <-- [13:AT+FPHCTO=30\r]
> Dec 13 21:47:49.87: [13112]: --> [2:OK]
> Dec 13 21:47:49.87: [13112]: <-- [24:AT+FDCC=1,5,2,2,1,0,0,0\r]
> Dec 13 21:47:50.19: [13112]: --> [5:ERROR]
> Dec 13 21:47:50.19: [13112]: MODEM Command error
> Dec 13 21:47:50.19: [13112]: <-- [23:AT+FLID="Fruitcom.com"\r]
> Dec 13 21:47:50.51: [13112]: --> [2:OK]
> Dec 13 21:47:50.51: [13112]: DIAL 0015163286874
> Dec 13 21:47:50.51: [13112]: <-- [18:ATDT0015163286874\r]
> Dec 13 21:48:08.92: [13112]: --> [5:+FCON]
> Dec 13 21:48:10.10: [13112]: --> [6:+FNSF:]
> Dec 13 21:48:10.10: [13112]: REMOTE NSF ""
> Dec 13 21:48:10.81: [13112]: --> [29:+FCSI: "          5163286874"]
> Dec 13 21:48:10.81: [13112]: REMOTE CSI "5163286874"
> Dec 13 21:48:11.14: [13112]: --> [21:+FDIS:1,5,0,2,1,0,0,3]
> Dec 13 21:48:11.14: [13112]: --> [2:OK]
> Dec 13 21:48:11.14: [13112]: REMOTE best rate 14400 bit/s
> Dec 13 21:48:11.14: [13112]: REMOTE max page width 1728 pixels in 215 mm
> Dec 13 21:48:11.14: [13112]: REMOTE max unlimited page length
> Dec 13 21:48:11.14: [13112]: REMOTE best vres 7.7 line/mm
> Dec 13 21:48:11.14: [13112]: REMOTE best format 2-D MR
> Dec 13 21:48:11.14: [13112]: REMOTE best 10 ms/scanline
> Dec 13 21:48:11.14: [13112]: USE 14400 bit/s
> Dec 13 21:48:11.14: [13112]: USE 10 ms/scanline
> Dec 13 21:48:11.14: [13112]: SEND file "docq/doc109.ps;31"
> Dec 13 21:48:11.14: [13112]: USE page width 1728 pixels in 215 mm
> Dec 13 21:48:11.14: [13112]: USE unlimited page length
> Dec 13 21:48:11.14: [13112]: USE 7.7 line/mm
> Dec 13 21:48:11.14: [13112]: USE 1-D MR
> Dec 13 21:48:11.14: [13112]: <-- [24:AT+FDIS=1,5,0,2,0,0,0,3\r]
> Dec 13 21:48:11.27: [13112]: --> [2:OK]
> Dec 13 21:48:11.27: [13112]: <-- [7:AT+FDT\r]
> Dec 13 21:48:11.44: [13112]: --> [21:+FDCS:1,5,0,2,0,0,0,3]
> Dec 13 21:48:19.17: [13112]: --> [7:CONNECT]
> Dec 13 21:48:19.17: [13112]: SEND begin page
> Dec 13 21:48:19.17: [13112]: <-- data [1027]
> Dec 13 21:48:19.17: [13112]: <-- data [1037]
> Dec 13 21:48:19.17: [13112]: <-- data [1038]
> Dec 13 21:48:19.17: [13112]: <-- data [1044]
> Dec 13 21:48:21.14: [13112]: <-- data [1027]
> Dec 13 21:48:21.14: [13112]: <-- data [1027]
> Dec 13 21:48:21.14: [13112]: <-- data [1028]
> Dec 13 21:48:21.14: [13112]: <-- data [1028]
> Dec 13 21:48:21.68: [13112]: <-- data [1025]
> Dec 13 21:48:23.64: [13112]: <-- data [1026]
> Dec 13 21:48:23.64: [13112]: <-- data [1024]
> Dec 13 21:48:23.64: [13112]: <-- data [1024]
> Dec 13 21:48:25.54: [13112]: <-- data [1024]
> Dec 13 21:48:25.54: [13112]: <-- data [1027]
> Dec 13 21:48:25.54: [13112]: <-- data [1024]
> Dec 13 21:48:25.54: [13112]: <-- data [1024]
> Dec 13 21:48:27.44: [13112]: <-- data [1025]
> Dec 13 21:48:27.44: [13112]: <-- data [1025]
> Dec 13 21:48:27.44: [13112]: <-- data [1026]
> Dec 13 21:48:29.33: [13112]: <-- data [1025]
> Dec 13 21:48:29.33: [13112]: <-- data [1025]
> Dec 13 21:48:29.33: [13112]: <-- data [1026]
> Dec 13 21:48:31.25: [13112]: <-- data [1025]
> Dec 13 21:48:31.25: [13112]: <-- data [1025]
> Dec 13 21:48:31.25: [13112]: <-- data [1025]
> Dec 13 21:48:31.25: [13112]: <-- data [1024]
> Dec 13 21:48:33.01: [13112]: <-- data [1026]
> Dec 13 21:48:33.01: [13112]: <-- data [1025]
> Dec 13 21:48:33.01: [13112]: <-- data [1025]
> Dec 13 21:48:34.92: [13112]: <-- data [1024]
> Dec 13 21:48:34.92: [13112]: <-- data [1027]
> Dec 13 21:48:34.92: [13112]: <-- data [1025]
> Dec 13 21:48:36.82: [13112]: <-- data [1024]
> Dec 13 21:48:36.82: [13112]: <-- data [1024]
> Dec 13 21:48:36.82: [13112]: <-- data [644]
> Dec 13 21:48:36.82: [13112]: SENT 35460 bytes of data
> Dec 13 21:48:36.82: [13112]: <-- data [2]
> Dec 13 21:48:36.82: [13112]: SEND end page
> Dec 13 21:48:39.23: [13112]: --> [2:OK]
> Dec 13 21:48:39.23: [13112]: SEND send EOP (no more pages or documents)
> Dec 13 21:48:39.23: [13112]: <-- [9:AT+FET=2\r]
> Dec 13 21:48:42.32: [13112]: --> [8:+FPTS:1 ]
> Dec 13 21:48:42.32: [13112]: SEND recv MCF (message confirmation)
> Dec 13 21:48:42.32: [13112]: SEND FAX (00000112): FROM eric@london.nafex.com TO 0015163286874 (page 1 of 1 sent in 0:31)
> Dec 13 21:48:42.32: [13112]: SEND FAX (00000112): FROM eric@london.nafex.com TO 0015163286874 (docq/doc109.ps;31 sent in 0:31)
> Dec 13 21:48:42.32: [13112]: <-- [5:ATH0\r]
> Dec 13 21:48:42.32: [13112]: --> [7:+FHNG:0]
> Dec 13 21:48:42.32: [13112]: REMOTE HANGUP: Normal and proper end of connection (code 0)
> Dec 13 21:48:43.81: [13112]: --> [2:OK]
> Dec 13 21:48:43.81: [13112]: SESSION END
> 
> ===================
> 
> Heres a normal one:
> 
> Dec 14 20:21:28.43: [ 7529]: SESSION BEGIN 00000119 44027214236111
> Dec 14 20:21:28.43: [ 7529]: SEND FAX: JOB 94 DEST 0027214236111 COMMID 00000119
> Dec 14 20:21:28.43: [ 7529]: DELAY 2600 ms
> Dec 14 20:21:31.04: [ 7529]: <-- [15:ATE0V1Q0S0=0H0\r]
> Dec 14 20:21:31.26: [ 7529]: --> [2:OK]
> Dec 14 20:21:31.26: [ 7529]: <-- [15:ATS8=2S7=60&D2\r]
> Dec 14 20:21:36.26: [ 7529]: MODEM <Timeout>
> Dec 14 20:21:36.26: [ 7529]: <-- [5:ATM0\r]
> Dec 14 20:21:36.47: [ 7529]: --> [2:OK]
> Dec 14 20:21:36.47: [ 7529]: <-- [12:AT+FCLASS=2\r]
> Dec 14 20:21:36.78: [ 7529]: --> [2:OK]
> Dec 14 20:21:36.78: [ 7529]: <-- [10:AT+FTBC=0\r]
> Dec 14 20:21:37.10: [ 7529]: --> [5:ERROR]
> Dec 14 20:21:37.10: [ 7529]: MODEM Command error
> Dec 14 20:21:37.10: [ 7529]: <-- [10:AT+FBOR=0\r]
> Dec 14 20:21:37.40: [ 7529]: --> [2:OK]
> Dec 14 20:21:37.40: [ 7529]: <-- [13:AT+FPHCTO=30\r]
> Dec 14 20:21:37.70: [ 7529]: --> [2:OK]
> Dec 14 20:21:37.84: [ 7529]: <-- [24:AT+FDCC=1,5,2,2,1,0,0,0\r]
> Dec 14 20:21:38.16: [ 7529]: --> [5:ERROR]
> Dec 14 20:21:38.16: [ 7529]: MODEM Command error
> Dec 14 20:21:38.16: [ 7529]: <-- [23:AT+FLID="Fruitcom.com"\r]
> Dec 14 20:21:38.47: [ 7529]: --> [2:OK]
> Dec 14 20:21:38.47: [ 7529]: DIAL 0027214236111
> Dec 14 20:21:38.47: [ 7529]: <-- [18:ATDT0027214236111\r]
> Dec 14 20:21:59.32: [ 7529]: --> [5:+FCON]
> Dec 14 20:22:00.45: [ 7529]: --> [6:+FNSF:]
> Dec 14 20:22:00.45: [ 7529]: REMOTE NSF ""
> Dec 14 20:22:01.19: [ 7529]: --> [29:+FCSI: "      +27 21 4237675"]
> Dec 14 20:22:01.19: [ 7529]: REMOTE CSI "+27 21 4237675"
> Dec 14 20:22:01.57: [ 7529]: --> [21:+FDIS:1,5,0,2,1,0,0,0]
> Dec 14 20:22:01.57: [ 7529]: --> [2:OK]
> Dec 14 20:22:01.57: [ 7529]: REMOTE best rate 14400 bit/s
> Dec 14 20:22:01.57: [ 7529]: REMOTE max page width 1728 pixels in 215 mm
> Dec 14 20:22:01.57: [ 7529]: REMOTE max unlimited page length
> Dec 14 20:22:01.57: [ 7529]: REMOTE best vres 7.7 line/mm
> Dec 14 20:22:01.57: [ 7529]: REMOTE best format 2-D MR
> Dec 14 20:22:01.57: [ 7529]: REMOTE best 0 ms/scanline
> Dec 14 20:22:01.57: [ 7529]: USE 14400 bit/s
> Dec 14 20:22:01.57: [ 7529]: USE 0 ms/scanline
> Dec 14 20:22:01.57: [ 7529]: SEND file "docq/doc116.ps;31"
> Dec 14 20:22:01.57: [ 7529]: USE page width 1728 pixels in 215 mm
> Dec 14 20:22:01.57: [ 7529]: USE unlimited page length
> Dec 14 20:22:01.57: [ 7529]: USE 7.7 line/mm
> Dec 14 20:22:01.57: [ 7529]: USE 1-D MR
> Dec 14 20:22:01.57: [ 7529]: <-- [24:AT+FDIS=1,5,0,2,0,0,0,0\r]
> Dec 14 20:22:01.70: [ 7529]: --> [2:OK]
> Dec 14 20:22:01.70: [ 7529]: <-- [7:AT+FDT\r]
> Dec 14 20:22:01.87: [ 7529]: --> [21:+FDCS:1,5,0,2,0,0,0,0]
> Dec 14 20:22:09.80: [ 7529]: --> [7:CONNECT]
> Dec 14 20:22:09.80: [ 7529]: SEND begin page
> Dec 14 20:22:09.80: [ 7529]: <-- data [1029]
> Dec 14 20:22:09.80: [ 7529]: <-- data [1037]
> Dec 14 20:22:09.80: [ 7529]: <-- data [1038]
> Dec 14 20:22:09.80: [ 7529]: <-- data [1045]
> Dec 14 20:22:11.77: [ 7529]: <-- data [1027]
> Dec 14 20:22:11.77: [ 7529]: <-- data [1027]
> Dec 14 20:22:11.77: [ 7529]: <-- data [1028]
> Dec 14 20:22:11.77: [ 7529]: <-- data [1028]
> Dec 14 20:22:12.31: [ 7529]: <-- data [1025]
> Dec 14 20:22:14.27: [ 7529]: <-- data [1026]
> Dec 14 20:22:14.27: [ 7529]: <-- data [1024]
> Dec 14 20:22:14.27: [ 7529]: <-- data [1028]
> Dec 14 20:22:16.18: [ 7529]: <-- data [1029]
> Dec 14 20:22:16.18: [ 7529]: <-- data [1026]
> Dec 14 20:22:16.18: [ 7529]: <-- data [1026]
> Dec 14 20:22:16.18: [ 7529]: <-- data [1026]
> Dec 14 20:22:18.13: [ 7529]: <-- data [1025]
> Dec 14 20:22:18.13: [ 7529]: <-- data [1027]
> Dec 14 20:22:18.13: [ 7529]: <-- data [1026]
> Dec 14 20:22:20.05: [ 7529]: <-- data [1025]
> Dec 14 20:22:20.05: [ 7529]: <-- data [1026]
> Dec 14 20:22:20.05: [ 7529]: <-- data [1032]
> Dec 14 20:22:20.05: [ 7529]: <-- data [1024]
> Dec 14 20:22:22.01: [ 7529]: <-- data [1025]
> Dec 14 20:22:22.01: [ 7529]: <-- data [1028]
> Dec 14 20:22:22.01: [ 7529]: <-- data [1026]
> Dec 14 20:22:23.93: [ 7529]: <-- data [1024]
> Dec 14 20:22:23.93: [ 7529]: <-- data [1028]
> Dec 14 20:22:23.93: [ 7529]: <-- data [1026]
> Dec 14 20:22:25.87: [ 7529]: <-- data [1028]
> Dec 14 20:22:25.87: [ 7529]: <-- data [1027]
> Dec 14 20:22:25.87: [ 7529]: <-- data [1024]
> Dec 14 20:22:25.87: [ 7529]: <-- data [1024]
> Dec 14 20:22:27.80: [ 7529]: <-- data [1024]
> Dec 14 20:22:27.80: [ 7529]: <-- data [1024]
> Dec 14 20:22:27.80: [ 7529]: <-- data [1024]
> Dec 14 20:22:29.68: [ 7529]: <-- data [1024]
> Dec 14 20:22:29.68: [ 7529]: <-- data [1024]
> Dec 14 20:22:29.69: [ 7529]: <-- data [1008]
> Dec 14 20:22:29.69: [ 7529]: SENT 39920 bytes of data
> Dec 14 20:22:29.69: [ 7529]: <-- data [2]
> Dec 14 20:22:29.69: [ 7529]: SEND end page
> Dec 14 20:22:32.46: [ 7529]: --> [2:OK]
> Dec 14 20:22:32.46: [ 7529]: SEND send EOP (no more pages or documents)
> Dec 14 20:22:32.46: [ 7529]: <-- [9:AT+FET=2\r]
> Dec 14 20:22:35.85: [ 7529]: --> [8:+FPTS:1 ]
> Dec 14 20:22:35.85: [ 7529]: SEND recv MCF (message confirmation)
> Dec 14 20:22:35.85: [ 7529]: SEND FAX (00000119): FROM root@eric.nafex.com TO 0027214236111 (page 1 of 1 sent in 0:34)
> Dec 14 20:22:35.85: [ 7529]: SEND FAX (00000119): FROM root@eric.nafex.com TO 0027214236111 (docq/doc116.ps;31 sent in 0:34)
> Dec 14 20:22:35.85: [ 7529]: <-- [5:ATH0\r]
> Dec 14 20:22:35.85: [ 7529]: --> [7:+FHNG:0]
> Dec 14 20:22:35.85: [ 7529]: REMOTE HANGUP: Normal and proper end of connection (code 0)
> Dec 14 20:22:37.34: [ 7529]: --> [2:OK]
> Dec 14 20:22:37.34: [ 7529]: SESSION END
> >
> > Damian
> >
> > Eric Smith wrote:
> > >
> > > My faxes sent to  certain faxmachines I am getting reports of "squashed" lines.  Some lines
> > > more than others basically making the fax unreadable.
> >
> > --
> >  ______________________________________________________________________
> > * Damian Ivereigh     *      ||        ||      * Cisco Systems, Inc.   *
> > * MIS Printer Admin   *    .||||.    .||||.    * Sydney, Australia     *
> > * Linux Bigot         * ..:||||||:..:||||||:.. * +61 2 8448 7344       *
> > * damian@cisco.com    *   cisco Systems, Inc.  * Fax: +61 2 8448 7228  *
> > *______________________________________________________________________*
> 
> --
> Eric Smith (eric@nafex.com)
> Tel 0027 82 780 7888 (vodacom)

-- 
 ______________________________________________________________________
* Damian Ivereigh     *      ||        ||      * Cisco Systems, Inc.   *
* MIS Printer Admin   *    .||||.    .||||.    * Sydney, Australia     *
* Linux Bigot         * ..:||||||:..:||||||:.. * +61 2 8448 7344       *
* damian@cisco.com    *   cisco Systems, Inc.  * Fax: +61 2 8448 7228  *
*______________________________________________________________________*




Project hosted by iFAX Solutions