![]() |
Kris, I do have some cases like you mentioned below. In this case, hylafax resets the modem (DTR OFF) after parse error and then faxgetty continues to work normally. In this case, I just miss the call that came during modem initialization phase. It does not lock the modem or hang the machine. (Meanwhile I thank you for the information that you have given about this subject, I will change my config.tty based on the information you pointed out so that I don't miss this kind of calls) My case is more likely; FaxGetty[3474]: <-- [9:AT+FRM=?\r] FaxGetty[3474]: --> [41:3,24,48,72,73,74,96,97,98,121,122,145,146] FaxGetty[3474]: --> [2:OK] FaxGetty[3474]: MODEM LT V.92 1.0 MT5634ZPX-PCI-U INTERNAL DATA/FAX/VOICE MODEM VERSION 1.32I LT V.92 1.0 MT5634ZPX-PCI-U Internal Data/Fax/Voice Modem Version 1.32i/ FaxGetty[3474]: <-- [5:ATM0\r] FaxGetty[3474]: --> [2:OK] FaxGetty[3474]: STATE CHANGE: RECEIVING -> RUNNING (timeout 30) FaxGetty[3474]: MODEM input buffering disabled FaxGetty[3474]: STATE CHANGE: RUNNING -> LISTENING FaxGetty[3474]: MODEM input buffering enabled FaxGetty[3474]: --> [4:RING] FaxGetty[3474]: --> [4:RING] FaxGetty[3474]: STATE CHANGE: LISTENING -> ANSWERING FaxGetty[3474]: MODEM input buffering enabled FaxGetty[3474]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS5' FaxGetty[3474]: <-- [5:ATH0\r] FaxGetty[3474]: --> [2:OK] FaxGetty[3474]: MODEM set DTR OFF FaxGetty[3474]: MODEM set DTR OFF FaxGetty[3474]: DELAY 75 ms FaxGetty[3474]: MODEM set DTR ON FaxGetty[3474]: DELAY 2600 ms FaxGetty[3474]: MODEM set baud rate: 19200 baud, input flow RTS/CTS, output flow RTS/CTS FaxGetty[3474]: DELAY 10 ms FaxGetty[3474]: MODEM flush i/o FaxGetty[3474]: <-- [4:ATZ\r] FaxGetty[3474]: MODEM TIMEOUT: reading line from modem FaxGetty[3474]: MODEM <Timeout> FaxGetty[3474]: MODEM set DTR OFF FaxGetty[3474]: DELAY 75 ms FaxGetty[3474]: MODEM set DTR ON FaxGetty[3474]: DELAY 2600 ms FaxGetty[3474]: MODEM set baud rate: 19200 baud, input flow RTS/CTS, output flow RTS/CTS FaxGetty[3474]: DELAY 10 ms FaxGetty[3474]: MODEM flush i/o FaxGetty[3474]: <-- [4:ATZ\r] FaxGetty[3474]: MODEM TIMEOUT: reading line from modem FaxGetty[3474]: MODEM <Timeout> FaxGetty[3474]: MODEM set DTR OFF FaxGetty[3474]: /dev/ttyS5: Can not initialize modem. FaxGetty[3474]: STATE CHANGE: RECEIVING -> MODEMWAIT (timeout 30) FaxGetty[3474]: MODEM set DTR OFF FaxGetty[3474]: DELAY 75 ms FaxGetty[3474]: MODEM set DTR ON FaxGetty[3474]: DELAY 2600 ms FaxGetty[3474]: MODEM set baud rate: 19200 baud, input flow RTS/CTS, output flow RTS/CTS FaxGetty[3474]: DELAY 10 ms FaxGetty[3474]: MODEM flush i/o FaxGetty[3474]: <-- [4:ATZ\r] FaxGetty[3474]: MODEM TIMEOUT: reading line from modem FaxGetty[3474]: MODEM <Timeout> FaxGetty[3474]: MODEM set DTR OFF FaxGetty[3474]: DELAY 75 ms FaxGetty[3474]: MODEM set DTR ON FaxGetty[3474]: DELAY 2600 ms FaxGetty[3474]: MODEM set baud rate: 19200 baud, input flow RTS/CTS, output flow RTS/CTS FaxGetty[3474]: DELAY 10 ms FaxGetty[3474]: MODEM flush i/o FaxGetty[3474]: <-- [4:ATZ\r] FaxGetty[3474]: MODEM TIMEOUT: reading line from modem FaxGetty[3474]: MODEM <Timeout> FaxGetty[3474]: MODEM set DTR OFF FaxGetty[3474]: MODEM set DTR OFF FaxGetty[3474]: DELAY 75 ms FaxGetty[3474]: MODEM set DTR ON FaxGetty[3474]: DELAY 2600 ms FaxGetty[3474]: MODEM set baud rate: 19200 baud, input flow RTS/CTS, output flow RTS/CTS FaxGetty[3474]: DELAY 10 ms FaxGetty[3474]: MODEM flush i/o FaxGetty[3474]: <-- [4:ATZ\r] FaxGetty[3474]: MODEM TIMEOUT: reading line from modem FaxGetty[3474]: MODEM <Timeout> FaxGetty[3474]: MODEM set DTR OFF FaxGetty[3474]: DELAY 75 ms FaxGetty[3474]: MODEM set DTR ON FaxGetty[3474]: DELAY 2600 ms FaxGetty[3474]: MODEM set baud rate: 19200 baud, input flow RTS/CTS, output flow RTS/CTS FaxGetty[3474]: DELAY 10 ms FaxGetty[3474]: MODEM flush i/o FaxGetty[3474]: <-- [4:ATZ\r] FaxGetty[3474]: MODEM TIMEOUT: reading line from modem FaxGetty[3474]: MODEM <Timeout> FaxGetty[3474]: MODEM set DTR OFF FaxGetty[3474]: Unable to setup modem on /dev/ttyS5; giving up after 2 attempts Today, I have upgraded the firmware of modems in one of our fax servers (from 1.25p to 1.32i) again. I am hoping to get more detailed info about this problem. Best Regards, -----Original Message----- From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] Sent: Wednesday, August 04, 2004 1:28 AM To: hylafax-users@xxxxxxxxxxx Subject: Re: [hylafax-users] MT-5634ZPX-PCI-U 1.32i firmware > From: Mehmet Cer [mailto:mcer@xxxxxxxxxx] > However, after receiving 150-200 faxes, modem stops responding and > hylafax tries to initialize it several times. Mehmet, I set up a test to make one fax machine constantly send 1 page jobs to my HylaFAX server. In the /var/log/messages file I saw this: FaxGetty[3087]: /dev/ttyS4: Can not initialize modem. I then set ServerTracing to 0xffffffff and a few minutes later saw this: FaxGetty[3087]: <-- [9:AT+FRM=?\r] FaxGetty[3087]: --> [4:RING] FaxGetty[3087]: Error parsing "+FRM" query response: "OK" FaxGetty[3087]: MODEM set DTR OFF FaxGetty[3087]: /dev/ttyS4: Can not initialize modem. FaxGetty[3087]: STATE CHANGE: RECEIVING -> MODEMWAIT (timeout 30) Is this similar to what you're seeing? I'm going to try the advice given here: http://www.hylafax.org/archive/2004-07/msg00362.php to see if that helps. > But in some cases, hylafax cannot initialize it and we see > "waiting for modem to come ready" state with faxstat command. When this happens is faxgetty running? Kris ____________________ 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@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx* ____________________ 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@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*