FAX Recieve error after waiting for EOL

"John M Kodis" (kodis@ccmail.stx.com)
Thu, 23 Oct 1997 23:26:03 +0200


  
I managed to solve a couple problems that I was having with 
mgetty+sendfax v1.1.9 under Linux 2.0.31. 

It appears that in order to get sendfax to use XON-XOFF flow control, 
I have to use the stty to turn this on rather than specifying it in 
the policy.h file. Has anyone else reported this? It seems odd.

I was also able to get around the immediate "NO CARRIER" condition 
after mgetty picks up an incoming fax by insuring that the sending fax 
turns on its carrier before mgetty picks up the call. This allows 
mgetty to begin receiving a fax, however the log looks like something 
isn't quite right after issuing the DC2 and waiting for EOL. The fax 
reception aborts with an ERROR string shortly thereafter.

I was hoping for some guidance in debugging this further. The 
appropriate section of the log follows.

__________________________ Forward Header ______________________________

10/22 10:21:42 yS2 waiting for ``RING''
10/22 10:21:42 yS2 got: [0d][0a]RING ** found ** 
10/22 10:21:42 yS2 send: ATA[0d]
10/22 10:21:42 yS2 waiting for ``CONNECT''
10/22 10:21:42 yS2 got: [0d][0a]ATA[0d][0d][0a]+FCO[0d] 
10/22 10:21:50 yS2 found action string: ``+FCO_''
10/22 10:21:50 yS2 start fax receiver... 
10/22 10:21:50 yS2 fax receiver: entry 
10/22 10:21:50 yS2 fax_wait_for(OK)
10/22 10:21:57 yS2 fax_wait_for: string '+FCO'
10/22 10:21:59 yS2 fax_wait_for: string '+FTI:"  3013060963"' 
10/22 10:21:59 yS2 fax_id: '+FTI:"  3013060963"'
10/22 10:21:59 yS2 fax_wait_for: string '+FCS:0,3,0,2,0,0,0,3' 
10/22 10:21:59 yS2 transmission par.: '+FCS:0,3,0,2,0,0,0,3' 
10/22 10:21:59 yS2 fax_wait_for: string 'OK'** found **
10/22 10:21:59 yS2 utmp + wtmp entry made
10/22 10:21:59 yS2 tio_set_flow_control( HARD XON_IN ) 
10/22 10:21:59 yS2 mdm_send: 'AT+FLO=2'
10/22 10:21:59 yS2 mdm_command: string 'AT+FLO=2' 
10/22 10:21:59 yS2 mdm_command: string 'OK' -> OK 
10/22 10:21:59 yS2 fax_send: 'AT+FDR'
10/22 10:21:59 yS2 fax_wait_for(CONNECT)
10/22 10:22:00 yS2 fax_wait_for: string 'AT+FDR'
10/22 10:22:03 yS2 fax_wait_for: string 'CONNECT'** found ** 
10/22 10:22:03 yS2 sending DC2
10/22 10:22:03 yS2 fax_get_page_data: wait for EOL, got: 
 [0a][e0][ad][ef][8b][[8e][cb]N[ef][f5][06][f2]89[93][c7][01][b9]"{ 
 [c4][a5][e4][1c][09]}e[15]p[1c]u6,&[c1][9f][b7][bf][19]Wf6Qz[c2]n 
 [94]Z[d8][be]A[16][ff][87][ca][d8]'[9e]p[ab]R[f9][ad]qI[d2][a4]0#/ 
 [bb]U~DO2[c7]g=[c0][c2]\[12][06][d9]Z[7f]2j[b8][ca]g`[fb]7G[ab][e0] 
 [ce]_a!V[e5][ee][b7][95]K[c7][1f][9f][e2]s[10]
10/22 10:22:03 yS2 fax_get_page_data: receiving 
 /var/spool/fax/incoming/fn44e0bf6S2-_-3013060963_.01...
10/22 10:22:05 yS2 fax_get_page_data: page end, bytes received: 2142 
10/22 10:22:05 yS2 fax_wait_for(OK)
10/22 10:22:05 yS2 fax_wait_for: string '+FPS:1,10,0,0,0' 
10/22 10:22:05 yS2 page status: +FPS:1,10,0,0,0
10/22 10:22:05 yS2 16 lines received, 0 lines bad, 0 bytes lost 
10/22 10:22:13 yS2 fax_wait_for: string 'ERROR'
10/22 10:22:13 yS2 ABORTING: line='ERROR' 
10/22 10:22:13 yS2 fax receiver: hangup & end
10/22 10:22:13 yS2 fax_notify_mail: sending mail to: faxadmin 
10/22 10:22:14 yS2 fax_notify_mail: mailer exit status: 17152_

.