HylaFAX The world's most advanced open source fax server

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

[hylafax-users] pagesend can't reset modem



I have a very strange problem... pagesend can't reset the modem, but
faxsend has no problem!

pagesend trace

Sep 25 13:54:06.63: [34336]: SESSION BEGIN 00000025 18884420454
Sep 25 13:54:06.63: [34336]: HylaFAX (tm) Version 4.1.3
Sep 25 13:54:06.63: [34336]: SEND PAGE: JOB 16 DEST 18884420454 COMMID 00000025
Sep 25 13:54:06.63: [34336]: MODEM set DTR OFF
Sep 25 13:54:06.63: [34336]: DELAY 75 ms
Sep 25 13:54:06.72: [34336]: MODEM set DTR ON
Sep 25 13:54:06.72: [34336]: DELAY 2600 ms
Sep 25 13:54:09.33: [34336]: MODEM set baud rate: 19200 baud, input flow 
RTS/CTS, output flow RTS/CTS
Sep 25 13:54:09.33: [34336]: MODEM flush i/o
Sep 25 13:54:09.33: [34336]: <-- [4:ATZ\r]
Sep 25 13:54:09.55: [34336]: --> [1:K]
Sep 25 13:54:39.56: [34336]: MODEM TIMEOUT: reading line from modem
Sep 25 13:54:39.56: [34336]: MODEM <Timeout>
Sep 25 13:54:39.56: [34336]: MODEM set DTR OFF
Sep 25 13:54:39.56: [34336]: DELAY 75 ms
Sep 25 13:54:39.65: [34336]: MODEM set DTR ON
Sep 25 13:54:39.65: [34336]: DELAY 2600 ms
Sep 25 13:54:42.26: [34336]: MODEM set baud rate: 19200 baud, input flow 
RTS/CTS, output flow RTS/CTS
Sep 25 13:54:42.26: [34336]: MODEM flush i/o
Sep 25 13:54:42.26: [34336]: <-- [4:ATZ\r]
Sep 25 13:54:42.48: [34336]: --> [3:ATZ]
Sep 25 13:54:42.48: [34336]: --> [1:K]
Sep 25 13:55:12.49: [34336]: MODEM TIMEOUT: reading line from modem
Sep 25 13:55:12.49: [34336]: MODEM <Timeout>
Sep 25 13:55:12.49: [34336]: PAGE FAILED: Can not setup modem
Sep 25 13:55:12.49: [34336]: MODEM set DTR OFF
Sep 25 13:55:12.49: [34336]: SESSION END


faxsend trace

Sep 25 13:46:31.36: [34301]: SESSION BEGIN 00000024 14036864854
Sep 25 13:46:31.36: [34301]: HylaFAX (tm) Version 4.1.3
Sep 25 13:46:31.36: [34301]: SEND FAX: JOB 15 DEST 6864854 COMMID 00000024 DEVIC
E '/dev/cuaa0'
Sep 25 13:46:31.36: [34301]: MODEM set DTR OFF
Sep 25 13:46:31.36: [34301]: DELAY 75 ms
Sep 25 13:46:31.45: [34301]: MODEM set DTR ON
Sep 25 13:46:31.45: [34301]: DELAY 2600 ms
Sep 25 13:46:34.06: [34301]: MODEM set baud rate: 19200 baud, input flow 
RTS/CTS, output flow RTS/CTS
Sep 25 13:46:34.06: [34301]: MODEM flush i/o
Sep 25 13:46:34.06: [34301]: <-- [4:ATZ\r]
Sep 25 13:46:34.28: [34301]: --> [2:OK]
Sep 25 13:46:34.28: [34301]: DELAY 3000 ms
Sep 25 13:46:37.29: [34301]: <-- [39:AT&B1&N0&S0*F0S18=3S38.3=1S39=0S40.4=1\r]
Sep 25 13:46:37.33: [34301]: --> [38:AT&B1&N0&S0*F0S18=3S38.3=1S39=0S40.4=1]
Sep 25 13:46:37.33: [34301]: --> [2:OK]
[snip]

So can some one explain how/why, when faxsend sends 'ATZ' to the modem it can
read back 'OK', but when pagesend sends 'ATZ' to the modem it reads back 'K'?

-stacy

-- 
If they keep lowering education standards and raising the price of
gasoline, there are going to be a lot of stupid people walking around.

Stacy Millions                                       stacy@millions.ca
Millions Consulting Limited


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions