![]() |
Steven Pham writes: > Hi, > > I'm having this anoying problem and trying to fix it but > without any luck, so please help. > > The problem seems to be in Class20.c++ (I'm using USR > Sporter, class 2). If I send only 1 page, hylafax will send > out End Of Page (EOP) which will cause the remote fax machine > to hangup. If I send out more than one page, same problem, > hylafax will send out MPS (More pages, same document) which also > causes the remote fax machine to hangup with -->[7:+FHS:52] > > It looks like Hylafax send out an unknown command which > cause the remote fax machine to hangup. > For EOP, Hylafax send out 2 bytes: 16 and 46 > For MPS, Hylafax send out 2 bytes: 16 and 44 > > I have been tracing around Class20.c++, in pageDone() method > without much luck. > Can anyone help me please ...... > Hi, I also have a problem with one fax-machine after sending MPS. I use fax class 2 . The first attempt to the same device was alright. Other devices receive the same faxes but at speed of 9600 bit/s. May be there are problems because modem uses 14400 bit/s ( its a Telejet 14400 ). How can I tell the hylafax to use 9600 bit / s ? See the following protocol for error : Oct 22 17:43:09.99: [ 3811]: SESSION BEGIN 00000009 4936203333 Oct 22 17:43:10.01: [ 3811]: SEND FAX: JOB 4 DEST 333 COMMID 00000009 Oct 22 17:43:10.01: [ 3811]: DELAY 2600 ms Oct 22 17:43:12.62: [ 3811]: <-- [15:ATE0V1Q0S0=0H0\r] Oct 22 17:43:12.77: [ 3811]: --> [2:OK] Oct 22 17:43:12.77: [ 3811]: <-- [21:ATS8=2S7=60&K3&D3&C1\r] Oct 22 17:43:12.92: [ 3811]: --> [2:OK] Oct 22 17:43:12.92: [ 3811]: <-- [12:AT+FCLASS=2\r] Oct 22 17:43:13.07: [ 3811]: --> [2:OK] Oct 22 17:43:13.07: [ 3811]: <-- [10:AT+FTBC=0\r] Oct 22 17:43:13.22: [ 3811]: --> [2:OK] Oct 22 17:43:13.22: [ 3811]: <-- [10:AT+FBOR=0\r] Oct 22 17:43:13.37: [ 3811]: --> [2:OK] Oct 22 17:43:13.37: [ 3811]: <-- [13:AT+FPHCTO=30\r] Oct 22 17:43:13.52: [ 3811]: --> [2:OK] Oct 22 17:43:13.52: [ 3811]: <-- [24:AT+FDCC=1,5,2,2,1,0,0,0\r] Oct 22 17:43:13.67: [ 3811]: --> [2:OK] Oct 22 17:43:13.67: [ 3811]: <-- [5:ATM0\r] Oct 22 17:43:13.82: [ 3811]: --> [2:OK] Oct 22 17:43:13.82: [ 3811]: <-- [12:AT+FCLASS=2\r] Oct 22 17:43:14.07: [ 3811]: --> [2:OK] Oct 22 17:43:14.07: [ 3811]: <-- [10:AT+FTBC=0\r] Oct 22 17:43:14.32: [ 3811]: --> [2:OK] Oct 22 17:43:14.32: [ 3811]: <-- [10:AT+FBOR=0\r] Oct 22 17:43:14.57: [ 3811]: --> [2:OK] Oct 22 17:43:14.57: [ 3811]: <-- [13:AT+FPHCTO=30\r] Oct 22 17:43:14.82: [ 3811]: --> [2:OK] Oct 22 17:43:14.82: [ 3811]: <-- [24:AT+FDCC=1,5,2,2,1,0,0,0\r] Oct 22 17:43:15.07: [ 3811]: --> [2:OK] Oct 22 17:43:15.07: [ 3811]: <-- [20:AT+FLID="linux-fax"\r] Oct 22 17:43:15.32: [ 3811]: --> [2:OK] Oct 22 17:43:15.34: [ 3811]: DIAL 333 Oct 22 17:43:15.34: [ 3811]: <-- [8:ATDT333\r] Oct 22 17:43:27.19: [ 3811]: --> [5:+FCON] Oct 22 17:43:29.44: [ 3811]: --> [29:+FCSI: " +49 36203 96333"] Oct 22 17:43:29.44: [ 3811]: REMOTE CSI "+49 36203 96333" Oct 22 17:43:29.83: [ 3811]: --> [22:+FDIS: 1,5,0,2,1,0,0,2] Oct 22 17:43:29.83: [ 3811]: --> [2:OK] Oct 22 17:43:29.83: [ 3811]: REMOTE best rate 14400 bit/s Oct 22 17:43:29.83: [ 3811]: REMOTE max page width 1728 pixels in 215 mm Oct 22 17:43:29.83: [ 3811]: REMOTE max unlimited page length Oct 22 17:43:29.84: [ 3811]: REMOTE best vres 7.7 line/mm Oct 22 17:43:29.84: [ 3811]: REMOTE best format 2-D MR Oct 22 17:43:29.84: [ 3811]: REMOTE best 10 ms, 5 ms/scanline Oct 22 17:43:29.84: [ 3811]: USE 14400 bit/s Oct 22 17:43:29.84: [ 3811]: USE 10 ms, 5 ms/scanline Oct 22 17:43:29.84: [ 3811]: SEND file "docq/doc4.cover;40" Oct 22 17:43:29.85: [ 3811]: USE page width 1728 pixels in 215 mm Oct 22 17:43:29.85: [ 3811]: USE unlimited page length Oct 22 17:43:29.85: [ 3811]: USE 3.85 line/mm Oct 22 17:43:29.85: [ 3811]: USE 2-D MR Oct 22 17:43:29.86: [ 3811]: <-- [24:AT+FDIS=0,5,0,2,1,0,0,2\r] Oct 22 17:43:30.11: [ 3811]: --> [2:OK] Oct 22 17:43:30.11: [ 3811]: <-- [7:AT+FDT\r] Oct 22 17:43:38.48: [ 3811]: --> [22:+FDCS: 0,5,0,2,1,0,0,3] Oct 22 17:43:38.69: [ 3811]: --> [7:CONNECT] Oct 22 17:43:38.69: [ 3811]: SEND wait for XON Oct 22 17:43:38.69: [ 3811]: --> [1:] Oct 22 17:43:38.69: [ 3811]: SEND begin page Oct 22 17:43:41.71: [ 3811]: SENT 6872 bytes of data Oct 22 17:43:41.71: [ 3811]: SEND end page Oct 22 17:43:49.80: [ 3811]: --> [2:OK] Oct 22 17:43:49.80: [ 3811]: SEND send MPS (more pages, same document) Oct 22 17:43:49.80: [ 3811]: <-- [9:AT+FET=0\r] Oct 22 17:43:57.30: [ 3811]: --> [8:+FHNG: 0] Oct 22 17:43:57.30: [ 3811]: REMOTE HANGUP: Normal and proper end of connection (code 0) Oct 22 17:43:57.30: [ 3811]: SEND recv unknown PPR 0x00 Oct 22 17:43:57.32: [ 3811]: SEND: Modem protocol error (unknown post-page response); Giving up after 3 attempts to send same page "docq/doc4.cover;40", dirnum 0 Oct 22 17:43:57.33: [ 3811]: <-- [5:ATH0\r] Oct 22 17:43:57.49: [ 3811]: --> [2:OK] Oct 22 17:43:57.49: [ 3811]: SESSION END Many thanks in advance! Lutz