![]() |
I'm using version 4.2.1 on a debian woody (I've recompiled from the unstable branch and created my own back port) with a Multitech MT1932ZBA modem. I've been trying to get this setup for quite a while and I've read through the archives and even some of the bug updates (the ones from Lee on DID). I can get normal faxes fine. The problem is when I try to do DID. I was having problems with hylafax sending the command then then erroring out after the modem responds back with "OK". I have read through the Bug list for DID and it seems there was a patch a while back to allow DID (with AT>DT1 on the Modem). I also noticed that there was an update to that same piece of code at a later date that changed the "atCmd(conf.ringResponse);" line to "atCmd(conf.ringResponse, AT_NOTHING);". I've changed it back and now it seems to work. Kind of. It works sometimes and others not. I may end up getting 2 of the 3 digits I'm asking it to wait for, sometimes only 1 etc etc. But when it does get all 3 digits, it delivers the fax correctly and everything. So the problem seems to be that hylafax is not waiting (or not waiting long enough) for the 3 digits. Here is the section of the log that is appropriate: Mar 17 13:58:56 mail FaxGetty[5418]: STATE CHANGE: RUNNING -> LISTENING Mar 17 13:58:56 mail FaxGetty[5418]: MODEM input buffering enabled Mar 17 13:58:56 mail FaxQueuer[5411]: FIFO RECV "+ttyS4:B" Mar 17 13:58:56 mail FaxQueuer[5411]: MODEM ttyS4: BUSY Mar 17 13:58:56 mail FaxGetty[5418]: --> [4:RING] Mar 17 13:58:56 mail FaxGetty[5418]: <-- [7:AT>DT1\r] Mar 17 13:58:56 mail FaxGetty[5418]: --> [2:OK] Mar 17 13:58:59 mail FaxGetty[5418]: --> [5:DTMF3] Mar 17 13:58:59 mail FaxGetty[5418]: ANSWER: CID NUMBER "3" NAME "" Mar 17 13:58:59 mail FaxQueuer[5411]: FIFO RECV "+ttyS4:C"3""" Mar 17 13:58:59 mail FaxGetty[5418]: --> [5:DTMF0] Mar 17 13:58:59 mail FaxGetty[5418]: --> [5:DTMF1] Mar 17 13:59:05 mail FaxGetty[5418]: MODEM TIMEOUT: reading line from modem Mar 17 13:59:05 mail FaxGetty[5418]: <-- [5:ATH0\r] Mar 17 13:59:05 mail FaxGetty[5418]: --> [2:OK] where here is where it is working: Mar 17 13:59:45 mail FaxQueuer[11529]: MODEM ttyS4: READY, capabilities Pc9ffc701:ff Mar 17 13:59:48 mail FaxGetty[11536]: STATE CHANGE: RUNNING -> LISTENING Mar 17 13:59:48 mail FaxGetty[11536]: MODEM input buffering enabled Mar 17 13:59:48 mail FaxQueuer[11529]: FIFO RECV "+ttyS4:B" Mar 17 13:59:48 mail FaxQueuer[11529]: MODEM ttyS4: BUSY Mar 17 13:59:49 mail FaxGetty[11536]: --> [4:RING] Mar 17 13:59:49 mail FaxGetty[11536]: <-- [7:AT>DT1\r] Mar 17 13:59:49 mail FaxGetty[11536]: --> [2:OK] Mar 17 13:59:51 mail FaxGetty[11536]: --> [5:DTMF3] Mar 17 13:59:51 mail FaxGetty[11536]: --> [5:DTMF0] Mar 17 13:59:52 mail FaxGetty[11536]: --> [5:DTMF1] Mar 17 13:59:52 mail FaxGetty[11536]: ANSWER: CID NUMBER "301" NAME "" Mar 17 13:59:52 mail FaxGetty[11536]: STATE CHANGE: LISTENING -> ANSWERING Mar 17 13:59:52 mail FaxGetty[11536]: MODEM input buffering enabled it then proceeds to get the fax, etc etc. Anyone know what I might do to fix the problem? Is there sometime of a timeout value in the config file I need to set? Any help is appreciated. Mat Allgood mallgood@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*