HylaFAX The world's most advanced open source fax server

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

Modem left with ATE0 instead of ATE1



Linux 2.0.33, Hylafax4.0pl1, send-only environment.

I have setup my modem, class1 no brand,  with AT&D3 , so that it resets when
the line is disconnected.
The reset implies an ATE1.

With cu this works:
cu -l /dev/cua0
<echo is on>
ate0  <echo is off>
~.
cu -l /dev/cua0
<echo is on>

HylaFAX leaves the modem with ATE0, after sending a fax:
cu -l /dev/cua0
<echo is off>

How do I send a reset just before the end of a fax session so that I can
force the ATE1?
Or how do I set cu so that it doesn't comply for "character not echoed" when
doing a data call right after a fax transmission?

This is a a log (before starting the echo is on):
(root@i4 log)$ less c00000253
Jul 14 13:11:39.72: [22798]: SESSION BEGIN 00000253 39627670
Jul 14 13:11:39.72: [22798]: SEND FAX: JOB 285 DEST 0,627670 COMMID 00000253
Jul 14 13:11:39.72: [22798]: DELAY 2600 ms
Jul 14 13:11:42.84: [22798]: DELAY 300 ms
Jul 14 13:11:43.16: [22798]: <-- [15:ATE0V1Q0S0=0H0\r]
Jul 14 13:11:43.17: [22798]: --> [2:OK]
Jul 14 13:11:43.27: [22798]: DELAY 300 ms
Jul 14 13:11:43.58: [22798]: <-- [21:ATS8=2S7=60&K4&D3&C1\r]
Jul 14 13:11:43.59: [22798]: --> [2:OK]
Jul 14 13:11:43.59: [22798]: DELAY 300 ms
Jul 14 13:11:43.90: [22798]: <-- [12:AT+FCLASS=1\r]
Jul 14 13:11:43.91: [22798]: --> [2:OK]
Jul 14 13:11:43.91: [22798]: DELAY 300 ms
Jul 14 13:11:44.22: [22798]: <-- [5:ATM0\r]
Jul 14 13:11:44.23: [22798]: --> [2:OK]
Jul 14 13:11:44.23: [22798]: DELAY 300 ms
Jul 14 13:11:44.54: [22798]: <-- [12:AT+FCLASS=1\r]
Jul 14 13:11:44.65: [22798]: --> [2:OK]
Jul 14 13:11:44.65: [22798]: DIAL 0,627670
Jul 14 13:11:44.65: [22798]: DELAY 300 ms
Jul 14 13:11:44.96: [22798]: <-- [14:ATDT0,627670@\r]
fax stuff.........
Jul 14 13:12:24.64: [22798]: SEND send EOP (no more pages or documents)
Jul 14 13:12:24.64: [22798]: DELAY 300 ms
Jul 14 13:12:24.95: [22798]: <-- [9:AT+FTH=3\r]
Jul 14 13:12:25.00: [22798]: --> [7:CONNECT]
Jul 14 13:12:25.00: [22798]: <-- data [3]
Jul 14 13:12:25.00: [22798]: <-- data [2]
Jul 14 13:12:26.32: [22798]: --> [2:OK]
Jul 14 13:12:26.32: [22798]: DELAY 300 ms
Jul 14 13:12:26.63: [22798]: <-- [9:AT+FRH=3\r]
Jul 14 13:12:26.96: [22798]: --> [7:CONNECT]
Jul 14 13:12:27.66: [22798]: --> [2:OK]
Jul 14 13:12:27.66: [22798]: SEND recv MCF (message confirmation)
Jul 14 13:12:27.66: [22798]: SEND FAX (00000253): FROM cdi@i4 TO 0,627670
(page
1 of 1 sent in 0:13)
Jul 14 13:12:27.66: [22798]: SEND FAX (00000253): FROM cdi@i4 TO 0,627670
(docq/
doc286.ps;30 sent in 0:13)
Jul 14 13:12:27.66: [22798]: DELAY 300 ms
Jul 14 13:12:27.97: [22798]: <-- [9:AT+FTH=3\r]
Jul 14 13:12:28.02: [22798]: --> [7:CONNECT]
Jul 14 13:12:28.02: [22798]: <-- data [3]
Jul 14 13:12:28.02: [22798]: <-- data [2]
Jul 14 13:12:29.34: [22798]: --> [2:OK]
Jul 14 13:12:29.34: [22798]: DELAY 300 ms
Jul 14 13:12:29.65: [22798]: <-- [5:ATH0\r]
Jul 14 13:12:30.35: [22798]: --> [2:OK]
Jul 14 13:12:30.35: [22798]: SESSION END

Thanks.




Project hosted by iFAX Solutions