HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Fax --> Asterisk --> PSTN --> Asterisk --> Hylafax = High consecutive bad lines



I always get many consecutive bad lines in the following setup and fax never gets through:
Fax --> Asterisk --> PSTN --> Asterisk --> Hylafax (never gets through)

The other way around is no problem:
Hylafax --> Asterisk --> PSTN --> Asterisk --> Fax  (OK)

Normally all faxes comes through OK.
Here is a session transmission:
Aug 27 19:55:28.67: [ 6940]: SESSION BEGIN 000004395 17804715665
Aug 27 19:55:28.67: [ 6940]: HylaFAX (tm) Version 4.3.0
Aug 27 19:55:28.67: [ 6940]: <-- [4:ATA\r]
Aug 27 19:55:31.03: [ 6940]: --> [3:FAX]
Aug 27 19:55:37.23: [ 6940]: --> [5:+FCON]
Aug 27 19:55:37.23: [ 6940]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS1'
Aug 27 19:55:37.23: [ 6940]: RECV FAX: begin
Aug 27 19:55:38.83: [ 6940]: --> [29:+FTSI: " 7804789998"]
Aug 27 19:55:38.83: [ 6940]: REMOTE TSI "7804789998"
Aug 27 19:55:39.16: [ 6940]: --> [22:+FDCS: 0,5,0,2,0,0,0,0]
Aug 27 19:55:39.16: [ 6940]: REMOTE wants 14400 bit/s
Aug 27 19:55:39.16: [ 6940]: REMOTE wants A4 page width (215 mm)
Aug 27 19:55:39.16: [ 6940]: REMOTE wants unlimited page length
Aug 27 19:55:39.16: [ 6940]: REMOTE wants 3.85 line/mm
Aug 27 19:55:39.16: [ 6940]: REMOTE wants 1-D MH Aug 27 19:55:39.27: [ 6940]: --> [2:OK]
Aug 27 19:55:39.27: [ 6940]: ACCEPT TSI "7804789998"
Aug 27 19:55:39.27: [ 6940]: <-- [7:AT+FDR\r]
Aug 27 19:55:42.18: [ 6940]: --> [5:+FCFR]
Aug 27 19:55:45.08: [ 6940]: --> [22:+FDCS: 0,5,0,2,0,0,0,0]
Aug 27 19:55:45.08: [ 6940]: REMOTE wants 14400 bit/s
Aug 27 19:55:45.08: [ 6940]: REMOTE wants A4 page width (215 mm)
Aug 27 19:55:45.08: [ 6940]: REMOTE wants unlimited page length
Aug 27 19:55:45.09: [ 6940]: REMOTE wants 3.85 line/mm
Aug 27 19:55:45.09: [ 6940]: REMOTE wants 1-D MH
Aug 27 19:55:45.09: [ 6940]: --> [7:CONNECT]
Aug 27 19:55:45.09: [ 6940]: RECV: begin page
Aug 27 19:55:45.09: [ 6940]: RECV: send trigger 022
Aug 27 19:55:45.09: [ 6940]: Copy quality checking performed by host
Aug 27 19:56:12.23: [ 6940]: RECV: 107 total lines, 18 bad lines, 104 consecutive bad lines
Aug 27 19:56:12.24: [ 6940]: --> [18:+FPTS: 2,213,213,0]
Aug 27 19:56:13.47: [ 6940]: --> [7:+FET: 2]
Aug 27 19:56:13.47: [ 6940]: RECV recv EOP (no more pages or documents)
Aug 27 19:56:13.58: [ 6940]: --> [2:OK]
Aug 27 19:56:13.58: [ 6940]: RECV: REJECT page quality, 83% good lines (95% required)
Aug 27 19:56:13.58: [ 6940]: RECV send RTN (retrain negative)
Aug 27 19:56:13.58: [ 6940]: <-- [10:AT+FPTS=2\r]
Aug 27 19:56:13.59: [ 6940]: --> [2:OK]
Aug 27 19:56:13.60: [ 6940]: <-- [7:AT+FDR\r]
Aug 27 19:56:16.65: [ 6940]: --> [8:+FHNG: 0]
Aug 27 19:56:16.65: [ 6940]: REMOTE HANGUP: Normal and proper end of connection (code 0)
Aug 27 19:56:16.65: [ 6940]: RECV keeping unconfirmed page
Aug 27 19:56:16.65: [ 6940]: RECV FAX (000004395): from 7804789998, page 1 in 0:35, INF, 3.85 line/mm, 1-D MH, 14400 bit/s
Aug 27 19:56:16.65: [ 6940]: RECV FAX (000004395): recvq/fax000001971.tif from 7804789998, route to <unspecified>, 1 pages in 0:39
Aug 27 19:56:16.65: [ 6940]: RECV FAX: Normal and proper end of connection
Aug 27 19:56:16.65: [ 6940]: RECV FAX (000004395): session with 7804789998 terminated abnormally: Normal and proper end of connection
Aug 27 19:56:16.65: [ 6940]: RECV FAX: bin/faxrcvd "recvq/fax000001971.tif" "ttyS1" "000004395" "Normal and proper end of connection"
Aug 27 19:56:16.65: [ 6940]: RECV FAX: end
Aug 27 19:56:16.65: [ 6940]: SESSION END


The "Fax" behind Asterisk is not a fast box: running on Mini-ATI VIA C7 processor.
Though it has no problem with receiving faxes and sending or receiving faxes to/from stand alone machines.

--
#Joseph


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




Project hosted by iFAX Solutions