Q52: Need help with phase error while receiving?


? Got something to say about this answer? Use the feedback form to send your comments to the HylaFAQ maintainers, or hit the question mark button to invoke the mailer.

Q.
Need help with phase error while receiving?

I have a SupraFAXModem with ROM version V1.400-03-CS29. This is connected to a Sun IPC running SunOS 4.1.2. I'm trying to use FlexFAX v2.3beta036 compiled with gcc 2.5.8 and libg++ 2.5.3. I'm using the standard config file for this modem type. I didn't list it here, but if people think it would be helpful, I could.

Everything else works ok (sending faxes, data connections in and out). Just receiving has a problem. I've been trying to send from a regular fax machine. The fax machine complains that the remote unit (my system) isn't responding and times out. The log I get is:

Jan 06 11:22:38.02: [ 5459]: SESSION BEGIN Jan 06 11:22:38.04: [ 5459]: <-- [3:ATA] Jan 06 11:22:39.80: [ 5459]: --> [3:FAX] Jan 06 11:22:45.83: [ 5459]: --> [5:+FCON] Jan 06 11:22:45.84: [ 5459]: ANSWER: FAX CONNECTION Jan 06 11:22:45.84: [ 5459]: STATE CHANGE: ANSWERING -> RECEIVING Jan 06 11:22:45.92: [ 5459]: RECV: begin Jan 06 11:25:46.08: [ 5459]: TIMEOUT: reading line from modem Jan 06 11:25:46.09: [ 5459]: REMOTE HANGUP: Unspecified Receive Phase B error (code 70) Jan 06 11:25:46.09: [ 5459]: RECV: Unspecified Receive Phase B error (begin) Jan 06 11:25:46.11: [ 5459]: RECV: empty file "/bigtmp/faxAAAa05459" deleted Jan 06 11:25:46.16: [ 5459]: RECV: end Jan 06 11:25:46.16: [ 5459]: SESSION END

A.
You probably have the ModemRate set to other than 19.2. Most Supra modems lock the DTE-DCE speed to 19.2 when receiving in Class 2 (see http://www.vix.com/flexfax/Modems/supra-v32bis.html). You can either run at 19.2 all the time or try switching to 19.2 when a fax session is initiated (see ModemAnswerFaxBeginCmd).


Sam Leffler / sam@engr.sgi.com.