HylaFAX The world's most advanced open source fax server

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

RE: End Of Page error (EOP)



Hi,

No I haven't sent in the patch yet since it is not properly
working.

I'm still testing it and it indeed has a side effect after
making this change. It can only send 1 page at a time, so if
you are sending more than one page, it will send out one page
then dialout again to send the next page!!

The real problem was when Hylafax send out 2 byte codes to
the remote fax machine after finishing sending the current
page, the remote fax machine just hangup.

Does anyone know exactly what command or code to send
out to tell the remote fax machine that this is the End Of
Page ? In my case, it send out 2 bytes [16,46]

Here is my protocol log, read where it say "PHAM":

Oct 28 08:05:31.52: [  484]: DIAL 9,9032578
Oct 28 08:05:31.52: [  484]: <-- [14:ATDT9,9032578\r]
Oct 28 08:05:45.40: [  484]: --> [4:+FCO]
Oct 28 08:05:47.96: [  484]: --> [36:+FNF:HIOBJECTNET       ]
Oct 28 08:05:47.96: [  484]: REMOTE NSF "HIOBJECTNET       "
Oct 28 08:05:47.96: [  484]: --> [20:+FIS:1,3,0,2,1,0,0,5]
Oct 28 08:05:47.96: [  484]: --> [2:OK]
Oct 28 08:05:47.96: [  484]: REMOTE best rate 9600 bit/s
Oct 28 08:05:47.96: [  484]: REMOTE max page width 1728 pixels in 215 mm
Oct 28 08:05:47.96: [  484]: REMOTE max unlimited page length
Oct 28 08:05:47.96: [  484]: REMOTE best vres 7.7 line/mm
Oct 28 08:05:47.96: [  484]: REMOTE best format 2-D MR
Oct 28 08:05:47.96: [  484]: REMOTE best 20 ms/scanline
Oct 28 08:05:47.96: [  484]: USE 9600 bit/s
Oct 28 08:05:47.96: [  484]: USE 20 ms/scanline
Oct 28 08:05:47.96: [  484]: SEND file "docq/doc15.ps;31"
Oct 28 08:05:48.00: [  484]: USE page width 1728 pixels in 215 mm
Oct 28 08:05:48.00: [  484]: USE unlimited page length
Oct 28 08:05:48.00: [  484]: USE 7.7 line/mm
Oct 28 08:05:48.00: [  484]: USE 1-D MR
Oct 28 08:05:48.00: [  484]: <-- [23:AT+FIS=1,3,0,2,0,0,0,5\r]
Oct 28 08:05:48.24: [  484]: --> [2:OK]
Oct 28 08:05:48.24: [  484]: <-- [7:AT+FDT\r]
Oct 28 08:05:48.51: [  484]: --> [20:+FCS:1,3,0,2,0,0,0,5]
Oct 28 08:05:54.34: [  484]: --> [7:CONNECT]
Oct 28 08:05:54.34: [  484]: SEND begin page
Oct 28 08:05:54.35: [  484]: <-- data [1024]
Oct 28 08:05:54.35: [  484]: <-- data [1025]
Oct 28 08:05:54.35: [  484]: <-- data [296]
Oct 28 08:05:54.35: [  484]: SENT 2344 bytes of data
Oct 28 08:05:54.35: [  484]: SEND 1D RTC
Oct 28 08:05:54.35: [  484]: <-- data [9]
Oct 28 08:05:54.35: [  484]: SEND end page
Oct 28 08:05:54.35: [  484]: SEND send EOP (no more pages or documents)
Oct 28 08:05:54.35: [  484]: PHAM: Class20.c++:Class20Modem::pageDone -
ppm=2, eop=[16,46]
Oct 28 08:05:54.35: [  484]: <-- data [2]
Oct 28 08:06:12.58: [  484]: --> [7:+FHS:54]
Oct 28 08:06:12.58: [  484]: REMOTE HANGUP: No response to EOP repeated 3
times (code 54)
Oct 28 08:06:12.58: [  484]: PHAM: Class20.c++:Class20Modem::pageDone - not
a normal hangup
Oct 28 08:06:12.58: [  484]: <-- [5:ATH0\r]
Oct 28 08:06:12.70: [  484]: --> [2:OK]
Oct 28 08:06:12.70: [  484]: MODEM set DTR OFF
Oct 28 08:06:12.70: [  484]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
Oct 28 08:06:12.70: [  484]: SESSION END


> -----Original Message-----
> From: Glenn Burkhardt [mailto:glenn@aoi.ultranet.com]
> Sent: Wednesday, October 28, 1998 6:46 AM
> To: Steven Pham
> Subject: Re: flexfax: End Of Page error (EOP)
>
>
> I'm sorry, did I miss it?  Did you send a copy of your patch to
> the mailing
> list?  If not, would you mind sending in a copy?  Thanks.
>
> > I have made a small change in Class20.c++ to
> > ignore hangup code from the remote fax when sending
> > EOP.
>




Project hosted by iFAX Solutions