HylaFAX The world's most advanced open source fax server

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

[hylafax-users] DTE-DCE data underflow (code 43)



I have seen some postings about this problem. I'm testing a setup for a server. Im using a RH 6.2 linux machine (it will run on a P-200, but for now it runs on my development machine, which is a PIII-600 w 256Mb RAM). 
 
I'm running the latest hylafax version (4.1b2) and I'm using a Multitech MT5600ZDXe modem.
 
The setup works perfectly in class 1 or 2 for receiving faxes (class 2 requires LSB & MSB to be switched). For sending faxes I'm always having this underflow error (both under high and no load conditions).
 
Jan 18 14:26:45.12: [ 2019]: <-- [24:AT+FDIS=1,5,0,2,0,0,0,0\r] Jan 18 14:26:45.23: [ 2019]: --> [2:OK]
Jan 18 14:26:45.23: [ 2019]: <-- [7:AT+FDT\r]
Jan 18 14:26:59.11: [ 2019]: --> [22:+FDCS: 1,3,0,2,0,0,0,0]
Jan 18 14:26:59.11: [ 2019]: --> [7:CONNECT]
Jan 18 14:26:59.11: [ 2019]: SEND wait for XON
Jan 18 14:26:59.11: [ 2019]: --> [1:]
Jan 18 14:26:59.11: [ 2019]: SEND begin page
Jan 18 14:27:59.11: [ 2019]: MODEM WRITE SHORT: sent 1034, wrote 1024 Jan 18 14:27:59.11: [ 2019]: SENT 50267 bytes of data
Jan 18 14:27:59.11: [ 2019]: SEND abort data transfer
Jan 18 14:27:59.11: [ 2019]: SEND end page
Jan 18 14:27:59.11: [ 2019]: <-- [6:AT+FK\r]
Jan 18 14:27:59.21: [ 2019]: --> [9:+FHNG: 43]
Jan 18 14:27:59.21: [ 2019]: REMOTE HANGUP: DTE to DCE data underflow (code 43)
Jan 18 14:27:59.21: [ 2019]: --> [2:OK]
Jan 18 14:27:59.21: [ 2019]: <-- [5:ATH0\r]
Jan 18 14:27:59.32: [ 2019]: --> [2:OK]
Jan 18 14:27:59.32: [ 2019]: SESSION END
 
It's not a computer problem, because my cheap LT w(l)inmodem works perfectly under extremely high load conditions.
 
Strange thing is that I've set the modem up to use hardware flow control, but it reports "SEND wait for XON"? (and yes I checked the AT command in the manual to set the modem to hardware flow ctrl). Isn't XON for software flow control?
Anyway...I've set Class 2 & xonxoff..but then sending a fax just hangs hylafax.
Then I set Class 1 & xonxoff...to my surprise this worked (even at high load conditions)! Although I'm not sure how much I can trust this modem...
 
Does anyone have better ideas to solve this...or an explenation what is going on?
(I'd like to use Class 2 if possible)
 
Grtz
 
Alain




____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions