HylaFAX The world's most advanced open source fax server

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

Re: DTE to DCE data underflow



Hi,
i would say you have a problem with flow-control on
your serial line.
In the log the line 

> Feb 17 18:51:56.53: [ 4879]: MODEM set baud rate: 19200 baud, input flow NONE, output flow NONE

tells there is no handshaking at all, what is very bad
and then the line

> Feb 17 18:53:26.52: [ 4879]: REMOTE HANGUP: DTE to DCE data underflow (code 43)

tells you the computer did not supply enough data to keep 
on sending. which is a result of missing flowcontrol,
cause the computer can't know when to send new data to the 
modem.

the Result is your aborted send.

i would suggest you try setting hardware-flowcontrol,
and sending should work ok.

insert the line 

ModemFlowControl:       rtscts

into your config.tty??

and make shure you have defined the proper commands for
setting flowcontrol
like this: ( my settings, verify them using your modem-manual!!)

ModemNoFlowCmd:         AT&H0&I0&R1     # disable flow control cmdH0
ModemHardFlowCmd:       AT&H1&I0&R2     # hardware flow control cmdH3
ModemSoftFlowCmd:       AT&H2&I2&R1     # software flow control cmdH2

have a nice day
christoph


Daniel Jung schrieb:
> 
> Hi,
> 
> I'm using an ELSA Microlink 56k Modem to send and receive faxes.
> Really most faxing actions do very well, but unfortunately some
> fax-devices can't receive multiple-page-faxes.
> The error-messages looks like the following.
> Is there a way to resolve my problem?
> 
> Yours Daniel
> _____________________
> 
> Your facsimile job to 021657091 was not sent because:
>     DTE to DCE data underflow
> 
> The job will be retried at 19:07.
> 
>     ---- Transcript of session follows ----
> 
> Feb 17 18:51:53.94: [ 4879]: SESSION BEGIN 00000018 4921657091
> Feb 17 18:51:53.94: [ 4879]: SEND FAX: JOB 25 DEST 021657091 COMMID
> 00000018
> Feb 17 18:51:53.94: [ 4879]: MODEM set DTR OFF
> Feb 17 18:51:53.94: [ 4879]: DELAY 2600 ms
> Feb 17 18:51:56.53: [ 4879]: MODEM set DTR ON
> Feb 17 18:51:56.53: [ 4879]: MODEM set baud rate: 19200 baud, input flow
> NONE, output flow NONE
> Feb 17 18:51:56.53: [ 4879]: MODEM flush i/o
> Feb 17 18:51:56.53: [ 4879]: <-- [15:ATE0V1Q0S0=0H0\r]
> Feb 17 18:51:56.62: [ 4879]: --> [2:OK]
> Feb 17 18:51:56.62: [ 4879]: <-- [12:ATS8=2S7=60\r]
> Feb 17 18:51:56.69: [ 4879]: --> [2:OK]
> Feb 17 18:51:56.69: [ 4879]: <-- [14:AT+FCLASS=2.0\r]
> Feb 17 18:51:56.74: [ 4879]: --> [2:OK]
> Feb 17 18:51:56.74: [ 4879]: <-- [9:AT+FLO=0\r]
> Feb 17 18:51:56.79: [ 4879]: --> [2:OK]
> Feb 17 18:51:56.79: [ 4879]: <-- [9:AT+FPP=0\r]
> Feb 17 18:51:56.84: [ 4879]: --> [2:OK]
> Feb 17 18:51:56.84: [ 4879]: <-- [9:AT+FBO=0\r]
> Feb 17 18:51:56.89: [ 4879]: --> [2:OK]
> Feb 17 18:51:56.89: [ 4879]: <-- [10:AT+FCT=30\r]
> Feb 17 18:51:56.94: [ 4879]: --> [2:OK]
> Feb 17 18:51:56.94: [ 4879]: <-- [15:AT+FNR=1,1,1,1\r]
> Feb 17 18:51:56.99: [ 4879]: --> [2:OK]
> Feb 17 18:51:56.99: [ 4879]: <-- [7:AT+FAP\r]
> Feb 17 18:51:57.04: [ 4879]: --> [5:ERROR]
> Feb 17 18:51:57.04: [ 4879]: MODEM Command error
> Feb 17 18:51:57.04: [ 4879]: <-- [9:AT+FIE=0\r]
> Feb 17 18:51:57.09: [ 4879]: --> [2:OK]
> Feb 17 18:51:57.09: [ 4879]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
> Feb 17 18:51:57.14: [ 4879]: --> [2:OK]
> Feb 17 18:51:57.14: [ 4879]: <-- [7:ATL0M1\r]
> Feb 17 18:51:57.19: [ 4879]: --> [2:OK]
> Feb 17 18:51:57.19: [ 4879]: MODEM input buffering enabled
> Feb 17 18:51:57.19: [ 4879]: <-- [14:AT+FCLASS=2.0\r]
> Feb 17 18:51:57.34: [ 4879]: --> [2:OK]
> Feb 17 18:51:57.34: [ 4879]: <-- [9:AT+FLO=0\r]
> Feb 17 18:51:57.49: [ 4879]: --> [2:OK]
> Feb 17 18:51:57.49: [ 4879]: <-- [9:AT+FPP=0\r]
> Feb 17 18:51:57.64: [ 4879]: --> [2:OK]
> Feb 17 18:51:57.64: [ 4879]: <-- [9:AT+FBO=0\r]
> Feb 17 18:51:57.79: [ 4879]: --> [2:OK]
> Feb 17 18:51:57.79: [ 4879]: <-- [10:AT+FCT=30\r]
> Feb 17 18:51:57.94: [ 4879]: --> [2:OK]
> Feb 17 18:51:57.94: [ 4879]: <-- [15:AT+FNR=1,1,1,1\r]
> Feb 17 18:51:58.09: [ 4879]: --> [2:OK]
> Feb 17 18:51:58.09: [ 4879]: <-- [7:AT+FAP\r]
> Feb 17 18:51:58.24: [ 4879]: --> [5:ERROR]
> Feb 17 18:51:58.24: [ 4879]: MODEM Command error
> Feb 17 18:51:58.24: [ 4879]: <-- [9:AT+FIE=0\r]
> Feb 17 18:51:58.39: [ 4879]: --> [2:OK]
> Feb 17 18:51:58.39: [ 4879]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
> Feb 17 18:51:58.54: [ 4879]: --> [2:OK]
> Feb 17 18:51:58.54: [ 4879]: <-- [21:AT+FLI="Daniel Jung"\r]
> Feb 17 18:51:58.69: [ 4879]: --> [2:OK]
> Feb 17 18:51:58.70: [ 4879]: DIAL 021657091
> Feb 17 18:51:58.70: [ 4879]: <-- [14:ATDT021657091\r]
> Feb 17 18:52:15.77: [ 4879]: --> [4:+FCO]
> Feb 17 18:52:18.59: [ 4879]: --> [98:+FNF: 20 41 59 4B 03 CE 68 08 D1 00
> 00 59 01 8A 00 00 4D 2E 48 45 49 44 45 4C 20 4A 55 45 00 00 00]
> Feb 17 18:52:18.59: [ 4879]: REMOTE NSF " 20 41 59 4B 03 CE 68 08 D1 00
> 00 59 01 8A 00 00 4D 2E 48 45 49 44 45 4C 20 4A 55 45 00 00 00"
> Feb 17 18:52:18.59: [ 4879]: --> [27:+FCI:"        49 2165 7091"]
> Feb 17 18:52:18.59: [ 4879]: REMOTE CSI "49 2165 7091"
> Feb 17 18:52:18.71: [ 4879]: --> [22:+FIS:1,3,0,2,1,0,0,2,0]
> Feb 17 18:52:18.71: [ 4879]: --> [2:OK]
> Feb 17 18:52:18.71: [ 4879]: REMOTE best rate 9600 bit/s
> Feb 17 18:52:18.71: [ 4879]: REMOTE max page width 1728 pixels in 215 mm
> Feb 17 18:52:18.71: [ 4879]: REMOTE max unlimited page length
> Feb 17 18:52:18.71: [ 4879]: REMOTE best vres 7.7 line/mm
> Feb 17 18:52:18.71: [ 4879]: REMOTE best format 2-D MR
> Feb 17 18:52:18.71: [ 4879]: REMOTE best 10 ms, 5 ms/scanline
> Feb 17 18:52:18.71: [ 4879]: USE 9600 bit/s
> Feb 17 18:52:18.72: [ 4879]: USE 10 ms, 5 ms/scanline
> Feb 17 18:52:18.72: [ 4879]: SEND file "docq/doc37.ps;00"
> Feb 17 18:52:18.72: [ 4879]: USE page width 1728 pixels in 215 mm
> Feb 17 18:52:18.72: [ 4879]: USE unlimited page length
> Feb 17 18:52:18.72: [ 4879]: USE 3.85 line/mm
> Feb 17 18:52:18.72: [ 4879]: USE 1-D MR
> Feb 17 18:52:18.72: [ 4879]: <-- [23:AT+FIS=0,3,0,2,0,0,0,2\r]
> Feb 17 18:52:18.86: [ 4879]: --> [2:OK]
> Feb 17 18:52:18.86: [ 4879]: <-- [7:AT+FDT\r]
> Feb 17 18:52:24.53: [ 4879]: --> [22:+FCS:0,3,0,2,0,0,0,3,0]
> Feb 17 18:52:24.84: [ 4879]: --> [7:CONNECT]
> Feb 17 18:52:24.84: [ 4879]: SEND begin page
> Feb 17 18:52:34.76: [ 4879]: SENT 20852 bytes of data
> Feb 17 18:52:34.76: [ 4879]: SEND 1D RTC
> Feb 17 18:52:34.77: [ 4879]: SEND end page
> Feb 17 18:52:34.77: [ 4879]: SEND send EOP (no more pages or documents)
> Feb 17 18:53:26.52: [ 4879]: --> [7:+FHS:43]
> Feb 17 18:53:26.52: [ 4879]: REMOTE HANGUP: DTE to DCE data underflow
> (code 43)
> Feb 17 18:53:26.52: [ 4879]: <-- [5:ATH0\r]
> Feb 17 18:53:26.52: [ 4879]: --> [2:OK]
> Feb 17 18:53:26.52: [ 4879]: MODEM set DTR OFF
> Feb 17 18:53:26.53: [ 4879]: SESSION END

-- 
Christoph Scheeder                  Tel:   07247/946040
Scheeder & Partner GmbH	            Fax:   07247/946040
Schillerstrasse 8                   Email: christoph@scheeder.de
D-76351 Linkenhiem-Hochstetten      www:   www.scheeder.de




Project hosted by iFAX Solutions