HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] pagesend
Lee Howard wrote:
Tony Delov wrote:
May 23 14:15:59 hylafax PageSend[18952]: MODEM set baud rate: 38400
baud, input flow RTS/CTS, output flow RTS/CTS
May 23 14:15:59 hylafax PageSend[18952]: MODEM tcsetattr: Invalid
argument
May 23 14:15:59 hylafax PageSend[18952]: Unable to setup modem on
/dev/ttya4; giving up after 10 attempts
May 23 14:15:59 hylafax PageSend[18952]: <-- [5:ATH0\r]
May 23 14:15:59 hylafax PageSend[18952]: --> [2:OK]
May 23 14:15:59 hylafax PageSend[18952]: MODEM set DTR OFF
May 23 14:15:59 hylafax PageSend[18952]: MODEM set baud rate: 0 baud
(flow control unchanged)
May 23 14:15:59 hylafax PageSend[18952]: MODEM tcsetattr: Invalid
argument
So let me make sure that I understand correctly... This does NOT
happen when using faxsend? The tcsetattr problem only occurs with
pagesend?
The OK response after ATH0 is encouraging... it doesn't look like before.
Lee.
I've been wondering if its the way we have the modems set up?
We have out modems connected to a stallion port server and a small
program running on the linux servers that maps a pseudo device pttya4 to
ttya4 device?
The srv_tty progarm connects to an ip number and port on stallion port
server.
This is a link to the app used (if it makes the clearer on the how I
have things set up):
http://www.stallion.com.au/html/download/es2-utilities.php
http://stallion.com.au/html/userdoc/esii/es2_unix/es2_use_unix4.php
Could it be that pagesend dose not communicate with the pseudo devices?
FaxSend seems to work ok with this sort of set up?
This is a log of Faxsend going through the the same modem as the
pagesend logs mentioned earlier.
Which sends the faxes ok.
May 25 11:23:52 hylafax FaxQueuer[17422]: SUBMIT JOB 141740
May 25 11:24:02 hylafax FaxSend[17216]: MODEM set DTR OFF
May 25 11:24:02 hylafax FaxSend[17216]: MODEM set baud rate: 0 baud (flow control unchanged)
May 25 11:24:02 hylafax FaxSend[17216]: DELAY 75 ms
May 25 11:24:02 hylafax FaxSend[17216]: MODEM set DTR ON
May 25 11:24:02 hylafax FaxSend[17216]: DELAY 2600 ms
May 25 11:24:06 hylafax FaxSend[17216]: MODEM set baud rate: 38400 baud, input flow RTS/CTS, output flow RTS/CTS
May 25 11:24:06 hylafax FaxSend[17216]: DELAY 10 ms
May 25 11:24:06 hylafax FaxSend[17216]: MODEM flush i/o
May 25 11:24:06 hylafax FaxSend[17216]: <-- [4:ATZ\r]
May 25 11:24:06 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:06 hylafax FaxSend[17216]: DELAY 3000 ms
May 25 11:24:09 hylafax FaxSend[17216]: MODEM flush i/o
May 25 11:24:09 hylafax FaxSend[17216]: <-- [5:ATX4\r]
May 25 11:24:10 hylafax FaxSend[17216]: --> [4:ATX4]
May 25 11:24:10 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:10 hylafax FaxSend[17216]: <-- [7:ATS0=0\r]
May 25 11:24:10 hylafax FaxSend[17216]: --> [6:ATS0=0]
May 25 11:24:10 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:10 hylafax FaxSend[17216]: <-- [5:ATE0\r]
May 25 11:24:10 hylafax FaxSend[17216]: --> [4:ATE0]
May 25 11:24:10 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:10 hylafax FaxSend[17216]: <-- [5:ATV1\r]
May 25 11:24:11 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:11 hylafax FaxSend[17216]: <-- [5:ATQ0\r]
May 25 11:24:11 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:11 hylafax FaxSend[17216]: <-- [7:ATS8=2\r]
May 25 11:24:11 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:11 hylafax FaxSend[17216]: <-- [8:ATS7=60\r]
May 25 11:24:11 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:11 hylafax FaxSend[17216]: <-- [6:AT&E4\r]
May 25 11:24:12 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:12 hylafax FaxSend[17216]: <-- [6:AT&D3\r]
May 25 11:24:12 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:12 hylafax FaxSend[17216]: <-- [6:AT&C4\r]
May 25 11:24:12 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:12 hylafax FaxSend[17216]: <-- [12:AT+FCLASS=?\r]
May 25 11:24:13 hylafax FaxSend[17216]: --> [11:+FCLASS=0,2]
May 25 11:24:13 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:13 hylafax FaxSend[17216]: MODEM Supports "Data"
May 25 11:24:13 hylafax FaxSend[17216]: MODEM Supports "Class 2"
May 25 11:24:13 hylafax FaxSend[17216]: <-- [12:AT+FCLASS=2\r]
May 25 11:24:13 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:13 hylafax FaxSend[17216]: <-- [9:AT+FMFR?\r]
May 25 11:24:13 hylafax FaxSend[17216]: --> [24:+FMFR=Multi-Tech Systems]
May 25 11:24:13 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:13 hylafax FaxSend[17216]: MODEM: Mfr Multi-Tech Systems
May 25 11:24:13 hylafax FaxSend[17216]: <-- [9:AT+FMDL?\r]
May 25 11:24:14 hylafax FaxSend[17216]: --> [16:+FMDL=MT2834ZDXI]
May 25 11:24:14 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:14 hylafax FaxSend[17216]: <-- [9:AT+FREV?\r]
May 25 11:24:14 hylafax FaxSend[17216]: --> [12:+FREV=0314B ]
May 25 11:24:14 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:14 hylafax FaxSend[17216]: MODEM: Model MT2834ZDXI
May 25 11:24:14 hylafax FaxSend[17216]: MODEM: Revision 0314B
May 25 11:24:14 hylafax FaxSend[17216]: <-- [10:AT+FDCC=?\r]
May 25 11:24:14 hylafax FaxSend[17216]: --> [49:+FDCC=(0-1),(0-5),(0-4),(0-2),(0-2),(0),(0),(0-7)]
May 25 11:24:14 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports 3.85 line/mm
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports 7.7 line/mm
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports 2400 bit/s
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports 4800 bit/s
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports 7200 bit/s
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports 9600 bit/s
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports 12000 bit/s
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports 14400 bit/s
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports A4 page width (215 mm)
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports B4 page width (255 mm)
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports A3 page width (303 mm)
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports A4 page length (297 mm)
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports B4 page length (364 mm)
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports unlimited page length
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports 1-D MH
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports 2-D MR
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports 2-D Uncompressed Mode
May 25 11:24:14 hylafax FaxSend[17216]: MODEM Supports 0 ms/scanline
May 25 11:24:15 hylafax FaxSend[17216]: MODEM Supports 5 ms/scanline
May 25 11:24:15 hylafax FaxSend[17216]: MODEM Supports 10 ms, 5 ms/scanline
May 25 11:24:15 hylafax FaxSend[17216]: MODEM Supports 10 ms/scanline
May 25 11:24:15 hylafax FaxSend[17216]: MODEM Supports 20 ms, 10 ms/scanline
May 25 11:24:15 hylafax FaxSend[17216]: MODEM Supports 20 ms/scanline
May 25 11:24:15 hylafax FaxSend[17216]: MODEM Supports 40 ms, 20 ms/scanline
May 25 11:24:15 hylafax FaxSend[17216]: MODEM Supports 40 ms/scanline
May 25 11:24:15 hylafax FaxSend[17216]: <-- [9:AT+FCQ=?\r]
May 25 11:24:15 hylafax FaxSend[17216]: --> [8:+FCQ=0-1]
May 25 11:24:15 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:15 hylafax FaxSend[17216]: MODEM Supports 1D copy quality checking (but not enabled)
May 25 11:24:15 hylafax FaxSend[17216]: <-- [9:AT+FAP=?\r]
May 25 11:24:15 hylafax FaxSend[17216]: --> [5:ERROR]
May 25 11:24:15 hylafax FaxSend[17216]: <-- [10:AT+FSPL=?\r]
May 25 11:24:16 hylafax FaxSend[17216]: --> [9:+FSPL=0-1]
May 25 11:24:16 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:16 hylafax FaxSend[17216]: <-- [10:AT+FTBC=0\r]
May 25 11:24:16 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:16 hylafax FaxSend[17216]: <-- [10:AT+FBOR=0\r]
May 25 11:24:16 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:16 hylafax FaxSend[17216]: <-- [13:AT+FPHCTO=30\r]
May 25 11:24:17 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:17 hylafax FaxSend[17216]: <-- [24:AT+FDCC=1,5,2,2,2,0,0,0\r]
May 25 11:24:17 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:17 hylafax FaxSend[17216]: MODEM MULTI-TECH SYSTEMS MT2834ZDXI/0314B
May 25 11:24:17 hylafax FaxSend[17216]: <-- [5:ATM0\r]
May 25 11:24:17 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:17 hylafax FaxSend[17216]: <-- [29:AT+FLID="THE GRIBBLES GROUP"\r]
May 25 11:24:17 hylafax FaxSend[17216]: --> [2:OK]
May 25 11:24:17 hylafax FaxSend[17216]: STATE CHANGE: BASE -> RUNNING (timeout 30)
May 25 11:24:17 hylafax FaxSend[17216]: MODEM input buffering disabled
May 25 11:24:17 hylafax FaxSend[17216]: SEND FAX: JOB 141740 DEST XXXXXXX COMMID 000172210 DEVICE '/dev/ttya4' FROM 'MELfaxadm <MELfaxadm@X>' USER root
May 25 11:27:33 hylafax FaxSend[17216]: SEND FAX: JOB 141740 SENT in 2:44
The Commid log (slightly truncated, removed some of the "<-- data:" lines):
May 25 11:24:17.94: [17216]: SESSION BEGIN 000172210 617xxxxxxxx
May 25 11:24:17.94: [17216]: HylaFAX (tm) Version 4.2.5
May 25 11:24:17.94: [17216]: SEND FAX: JOB 141740 DEST XXXX COMMID 000172210 DEVICE '/dev/ttya4' FROM 'MELfaxadm <MELfaxadm@XXX>' USER root
May 25 11:24:17.94: [17216]: <-- [10:AT+FTBC=0\r]
May 25 11:24:18.15: [17216]: --> [2:OK]
May 25 11:24:18.15: [17216]: <-- [10:AT+FBOR=0\r]
May 25 11:24:18.35: [17216]: --> [2:OK]
May 25 11:24:18.35: [17216]: <-- [13:AT+FPHCTO=30\r]
May 25 11:24:18.55: [17216]: --> [2:OK]
May 25 11:24:18.55: [17216]: <-- [24:AT+FDCC=1,5,2,2,2,0,0,0\r]
May 25 11:24:18.75: [17216]: --> [2:OK]
May 25 11:24:18.75: [17216]: DIAL XXX
May 25 11:24:18.75: [17216]: <-- [16:ATDT07XXXXX@\r]
May 25 11:24:40.39: [17216]: --> [5:+FCON]
May 25 11:24:49.64: [17216]: --> [78:+FNSF:00 00 25 01 2E 4C 43 20 4C 41 54 41 4E 20 45 54 4E 41 2E 48 2E 43 2E 47 ]
May 25 11:24:49.64: [17216]: REMOTE NSF "00 00 25 01 2E 4C 43 20 4C 41 54 41 4E 20 45 54 4E 41 2E 48 2E 43 2E 47"
May 25 11:24:49.64: [17216]: NSF remote fax equipment: Ricoh
May 25 11:24:49.64: [17216]: NSF remote station ID: "G.C.H.XXXXXX XXX."
May 25 11:24:49.68: [17216]: --> [28:+FCSI:" 61 7 XXXX XXXX"]
May 25 11:24:49.68: [17216]: REMOTE CSI "61 xxxxxxxxxxx"
May 25 11:24:49.68: [17216]: --> [21:+FDIS:1,5,0,2,1,2,0,2]
May 25 11:24:49.68: [17216]: --> [2:OK]
May 25 11:24:49.68: [17216]: REMOTE best rate 14400 bit/s
May 25 11:24:49.68: [17216]: REMOTE max A4 page width (215 mm)
May 25 11:24:49.68: [17216]: REMOTE max unlimited page length
May 25 11:24:49.68: [17216]: REMOTE best vres 7.7 line/mm
May 25 11:24:49.68: [17216]: REMOTE format support: MH
May 25 11:24:49.68: [17216]: REMOTE supports T.30 Annex A, 256-byte ECM
May 25 11:24:49.68: [17216]: REMOTE best 10 ms, 5 ms/scanline
May 25 11:24:49.68: [17216]: USE 14400 bit/s
May 25 11:24:49.68: [17216]: SEND file "docq/doc156713.ps;41"
May 25 11:24:49.68: [17216]: USE A4 page width (215 mm)
May 25 11:24:49.68: [17216]: USE unlimited page length
May 25 11:24:49.68: [17216]: USE 7.7 line/mm
May 25 11:24:49.68: [17216]: USE 1-D MH
May 25 11:24:49.68: [17216]: USE 5 ms/scanline
May 25 11:24:49.68: [17216]: <-- [24:AT+FDIS=1,5,0,2,0,0,0,1\r]
May 25 11:24:49.88: [17216]: --> [2:OK]
May 25 11:24:49.88: [17216]: <-- [7:AT+FDT\r]
May 25 11:24:56.94: [17216]: --> [21:+FDCS:1,5,0,2,0,0,0,1]
May 25 11:24:57.02: [17216]: --> [7:CONNECT]
May 25 11:24:57.02: [17216]: SEND wait for XON
May 25 11:24:57.02: [17216]: --> [1:]
May 25 11:24:57.02: [17216]: SEND begin page
May 25 11:24:57.02: [17216]: Reading MR-compressed image file
May 25 11:24:57.03: [17216]: <-- data [1028]
May 25 11:25:05.67: [17216]: <-- data [1030]
May 25 11:25:08.05: [17216]: <-- data [500]
May 25 11:25:08.05: [17216]: SENT 33268 bytes of data
May 25 11:25:08.05: [17216]: <-- data [2]
May 25 11:25:08.05: [17216]: SEND end page
May 25 11:25:28.59: [17216]: --> [62:]
May 25 11:25:28.59: [17216]: --> [2:OK]
May 25 11:25:28.59: [17216]: SEND send MPS (more pages, same document)
May 25 11:25:28.59: [17216]: <-- [9:AT+FET=0\r]
May 25 11:25:33.91: [17216]: --> [7:+FPTS:1]
May 25 11:25:33.91: [17216]: --> [2:OK]
May 25 11:25:33.91: [17216]: SEND recv MCF (message confirmation)
May 25 11:25:33.91: [17216]: SEND FAX (000172210): FROM MELfaxadm@xxxxxxxxxxxxxxx TO 07xxxxxxxx (page 1 of 4 sent in 0:44)
May 25 11:25:33.91: [17216]: <-- [7:AT+FDT\r]
May 25 11:25:34.07: [17216]: --> [7:CONNECT]
May 25 11:25:34.07: [17216]: SEND wait for XON
May 25 11:25:34.07: [17216]: --> [1:]
May 25 11:25:34.07: [17216]: SEND begin page
May 25 11:25:34.07: [17216]: Reading MR-compressed image file
May 25 11:25:34.08: [17216]: <-- data [1029]
May 25 11:25:57.23: [17216]: <-- data [1030]
May 25 11:25:57.23: [17216]: <-- data [277]
May 25 11:25:57.23: [17216]: SENT 48405 bytes of data
May 25 11:25:57.23: [17216]: <-- data [2]
May 25 11:25:57.23: [17216]: SEND end page
May 25 11:26:10.62: [17216]: --> [88:]
May 25 11:26:10.62: [17216]: --> [2:OK]
May 25 11:26:10.62: [17216]: SEND send MPS (more pages, same document)
May 25 11:26:10.62: [17216]: <-- [9:AT+FET=0\r]
May 25 11:26:15.99: [17216]: --> [7:+FPTS:1]
May 25 11:26:15.99: [17216]: --> [2:OK]
May 25 11:26:15.99: [17216]: SEND recv MCF (message confirmation)
May 25 11:26:15.99: [17216]: SEND FAX (000172210): FROM MELfaxadm@xxxxxxxxxxxxxxx TO 07xxxxxxxx (page 2 of 4 sent in 0:42)
May 25 11:26:15.99: [17216]: <-- [7:AT+FDT\r]
May 25 11:26:16.17: [17216]: --> [7:CONNECT]
May 25 11:26:16.17: [17216]: SEND wait for XON
May 25 11:26:16.17: [17216]: --> [1:]
May 25 11:26:16.17: [17216]: SEND begin page
May 25 11:26:16.17: [17216]: Reading MR-compressed image file
May 25 11:26:16.17: [17216]: <-- data [1029]
May 25 11:26:31.44: [17216]: <-- data [1030]
May 25 11:26:31.44: [17216]: <-- data [138]
May 25 11:26:31.44: [17216]: SENT 38026 bytes of data
May 25 11:26:31.44: [17216]: <-- data [2]
May 25 11:26:31.44: [17216]: SEND end page
May 25 11:26:49.61: [17216]: --> [70:]
May 25 11:26:49.61: [17216]: --> [2:OK]
May 25 11:26:49.61: [17216]: SEND send MPS (more pages, same document)
May 25 11:26:49.61: [17216]: <-- [9:AT+FET=0\r]
May 25 11:26:54.96: [17216]: --> [7:+FPTS:1]
May 25 11:26:54.96: [17216]: --> [2:OK]
May 25 11:26:54.96: [17216]: SEND recv MCF (message confirmation)
May 25 11:26:54.96: [17216]: SEND FAX (000172210): FROM MELfaxadm@xxxxxxxxxxxxxxx TO 07xxxxxxxx (page 3 of 4 sent in 0:39)
May 25 11:26:54.96: [17216]: <-- [7:AT+FDT\r]
May 25 11:26:55.12: [17216]: --> [7:CONNECT]
May 25 11:26:55.12: [17216]: SEND wait for XON
May 25 11:26:55.12: [17216]: --> [1:]
May 25 11:26:55.12: [17216]: SEND begin page
May 25 11:26:55.12: [17216]: Reading MR-compressed image file
May 25 11:26:55.12: [17216]: <-- data [1028]
May 25 11:26:55.12: [17216]: <-- data [1031]
May 25 11:27:06.08: [17216]: <-- data [762]
May 25 11:27:06.08: [17216]: SENT 31479 bytes of data
May 25 11:27:06.08: [17216]: <-- data [2]
May 25 11:27:06.08: [17216]: SEND end page
May 25 11:27:26.28: [17216]: --> [58:]
May 25 11:27:26.28: [17216]: --> [2:OK]
May 25 11:27:26.28: [17216]: SEND send EOP (no more pages or documents)
May 25 11:27:26.28: [17216]: <-- [9:AT+FET=2\r]
May 25 11:27:31.63: [17216]: --> [7:+FPTS:1]
May 25 11:27:33.03: [17216]: --> [7:+FHNG:0]
May 25 11:27:33.03: [17216]: REMOTE HANGUP: Normal and proper end of connection (code 0)
May 25 11:27:33.03: [17216]: SEND recv MCF (message confirmation)
May 25 11:27:33.03: [17216]: SEND FAX (000172210): FROM MELfaxadm@xxxxxxxxxxxxxxx TO 07xxxxxxxx (page 4 of 4 sent in 0:39)
May 25 11:27:33.03: [17216]: SEND FAX (000172210): FROM MELfaxadm@xxxxxxxxxxxxxxx TO 07xxxxxxxx (docq/doc156713.ps;41 sent in 2:44)
May 25 11:27:34.05: [17216]: <-- [5:ATH0\r]
May 25 11:27:34.05: [17216]: --> [2:OK]
May 25 11:27:34.05: [17216]: SESSION END
Attention:
The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies.
Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The Gribbles Group.
Thank You.
Whilst every effort has been made to ensure that this e-mail message and any attachments are free from viruses, you should scan this message and any attachments.
Under no circumstances do we accept liability for any loss or damage which may result from your receipt of this message or any attachment.
____________________ 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*