Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] Problems (timeout)
At 05:02 PM 5/24/01 +0200, Klaas_Bals@inventivedesigners.com wrote:
>
>Hi,
>
>I'm having problems sending faxes with Hylafax. Incoming faxes are no
>problem at all. I receive the following log:
>
>
>May 24 13:19:55.14: [31848]: SESSION BEGIN 00000020 141571
>May 24 13:19:55.14: [31848]: DELAY 2600 ms
>May 24 13:19:57.74: [31848]: <-- [4:ATZ\r]
>May 24 13:19:57.87: [31848]: --> [2:OK]
>May 24 13:19:57.87: [31848]: <-- [17:ATE0V1Q0X4S0=0H0\r]
>May 24 13:20:02.87: [31848]: MODEM <Timeout>
>May 24 13:20:02.87: [31848]: SESSION END
>
>When I try to give that string manually in minicom, I see no problem at all
>and the modem replies with OK. I also tried setting the trace to 100, and
>then I receive antoher error.
Some modems don't respond properly to ATH0 when the modem is already on
hook. I'm attaching a patch which will remove ATH0 from the reset
sequence. This may be the problem, but it could be due to a lack of a
pause after DTR ON, too (see below).
>May 24 12:38:43.53: [30966]: SESSION BEGIN 00000002 141571
> May 24 12:38:43.53: [30966]: MODEM set DTR OFF
> May 24 12:38:46.13: [30966]: MODEM set DTR ON
> May 24 12:38:46.13: [30966]: MODEM set baud rate: 38400 baud, input flow
>RTS/CTS, output flow RTS/CTS
> May 24 12:38:46.13: [30966]: MODEM flush i/o
> May 24 12:38:51.26: [30966]: MODEM TIMEOUT: reading line from modem
> May 24 12:38:51.26: [30966]: MODEM set DTR OFF
> May 24 12:38:51.26: [30966]: SESSION END
This is probably due to a lack of a pause after DTR ON. I've seen this
problem surface in USR modems especially (but Elsas may also have the
problem). Current CVS has this fix applied. For the patch, see:
http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=130
Lee.
--- faxd/ClassModem.c++.orig Thu May 24 08:49:40 2001
+++ faxd/ClassModem.c++ Thu May 24 08:50:28 2001
@@ -135,7 +135,7 @@
| stripAT(conf.verboseResultsCmd)
| stripAT(conf.resultCodesCmd)
| stripAT(conf.noAutoAnswerCmd)
- | stripAT(conf.onHookCmd)
+// | stripAT(conf.onHookCmd) - causes problem if already on hook
| "\nAT"
| stripAT(conf.pauseTimeCmd)
| stripAT(conf.waitTimeCmd)
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null