Hylafax Mailing List Archives

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

Odd sendfax problem



Hello Folks.

I am having a bit of trouble sending faxes - in the log (attached at bottom)
it appears that the first AT command line after setting the baud rate and
stuff fails to run.  Since the first command turns off command echoing, the
atdt later on fails when echo responds unexpectedly.  Receiving works fine.

Testing I've done so far:
    First, of course, I connected directly to the modem with cu and typed
"ATE0V1Q0S0=0H0", which worked fine.
    I tried ModemATCmdDelay at 500, which placed a 500 ms delay between
"MODEM flush i/o" and the failed command "ATE0...".  No difference.
    Tried baud rates of 19200, 38400, and 56000, thinking that the reason
the first command fails is because the modem adjusts to my baud rate after
it receives some text.  No difference.

I figure that the modem is not set up correctly when it reaches the
"ATE0..." line, and that it automatically adjusts somehow when it receives
the line "ATE0...", but throws away that line in the process.  Perhaps I
could send an AT\r command before that command to "wake up the modem" or
whatever, but I don't know where I would put that command (plus it seems
like a hack ;o).

Thanks in advance!

Mike Pelley.

Oct 21 13:55:27.38: [ 1406]: SESSION BEGIN 00000029 7283756
Oct 21 13:55:27.39: [ 1406]: SEND FAX: JOB 7 DEST 7283756 COMMID 00000029
Oct 21 13:55:27.39: [ 1406]: MODEM set DTR OFF
Oct 21 13:55:27.39: [ 1406]: DELAY 2600 ms
Oct 21 13:55:29.99: [ 1406]: MODEM set DTR ON
Oct 21 13:55:29.99: [ 1406]: MODEM set baud rate: 38400 baud, input flow
RTS/CTS, output flow RTS/CTS
Oct 21 13:55:29.99: [ 1406]: MODEM flush i/o
Oct 21 13:55:29.99: [ 1406]: <-- [15:ATE0V1Q0S0=0H0\r]
Oct 21 13:55:34.99: [ 1406]: MODEM TIMEOUT: reading line from modem
Oct 21 13:55:34.99: [ 1406]: MODEM <Timeout>
Oct 21 13:55:34.99: [ 1406]: <-- [7:ATL0M1\r]
Oct 21 13:55:35.12: [ 1406]: --> [6:ATL0M1]
Oct 21 13:55:35.12: [ 1406]: --> [2:OK]
Oct 21 13:55:35.12: [ 1406]: MODEM input buffering enabled
Oct 21 13:55:35.13: [ 1406]: <-- [12:AT+FCLASS=1\r]
Oct 21 13:55:35.39: [ 1406]: --> [11:AT+FCLASS=1]
Oct 21 13:55:35.39: [ 1406]: --> [2:OK]
Oct 21 13:55:35.39: [ 1406]: DIAL 7283756
Oct 21 13:55:35.39: [ 1406]: <-- [12:ATDT7283756\r]
Oct 21 13:55:57.16: [ 1406]: --> [11:ATDT7283756]
Oct 21 13:55:57.16: [ 1406]: SEND FAILED: Unknown problem (check modem
power)
Oct 21 13:55:57.16: [ 1406]: <-- [5:ATH0\r]
Oct 21 13:55:57.16: [ 1406]: --> [7:CONNECT]
Oct 21 13:55:57.26: [ 1406]: --> [2:OK]
Oct 21 13:55:57.26: [ 1406]: MODEM set DTR OFF
Oct 21 13:55:57.27: [ 1406]: SESSION END



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services