HylaFAX The world's most advanced open source fax server

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

Adaptive Answer - Motorola Power 28.8




I've recently installed hylafax-i386-linux-v4.0pl1 on a Penium linux 
workstation
which I use with a Motorola Power 28.8 model 3400 class 1 modem.  I am very 
pleased with the package, but have a minor problem with Adapative Answer.   

I was unable to get adaptive answer to work at all until I read the email from 
Doug Winterburn in the flexfax archive, which indicates that, after setting
up the modem for adaptive answer (AT+FAA=1+FCLASS=0) the modem must be 
put 'online' with the ATO command.  I have implemented this as I have shown at
the bottom of this email.  Now I have two problems:

1 -- During an incoming data call, it takes 30 seconds from when from when 
'connected' is announced on the dialer's end till the getty is launched.  This
long delay causes timeouts that are annoying, but livable.  This is illustrated
here:
Mar 25 17:43:33 angelica FaxGetty[818]: --> [4:RING]
Mar 25 17:44:24 angelica FaxGetty[818]: ANSWER: DATA CONNECTION
Mar 25 17:44:24 angelica FaxGetty[818]: GETTY: START "/sbin/getty -h cua0 
F38400", pid 821


2 -- Incoming fax calls are greeted by the modem going off-hook to
answer the call, then back on-hook immediately -- never recieving the fax! 

Mar 25 17:48:09 angelica FaxGetty[818]: --> [4:RING]
Mar 25 17:48:12 angelica FaxGetty[818]: ANSWER: FAX CONNECTION *The modem 
hangs up here!
Mar 25 17:48:50 angelica FaxGetty[818]: <-- [5:ATH0\r]
Mar 25 17:48:50 angelica FaxGetty[818]: --> [5:ERROR]
Mar 25 17:48:50 angelica FaxGetty[818]: MODEM Command error

If anyone has successfully set up a Motorola Power 28.8 modem, I would love to
hear from them!  I'm very interested in knowing what needs to be in the 
config.cua*.

Thanks!

Tony

>From my config.cua0
<PARTS DELETED>
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:              Class1          # use class 1 interface
ModemRate:              38400           # locked for fax sending&receiving
ModemFlowControl:       rtscts          # default
#
ModemNoFlowCmd:         AT\Q0           # disable flow control cmd
ModemSoftFlowCmd:       AT\Q1           # software flow control cmd
ModemHardFlowCmd:       AT\Q3           # hardware flow control cmd
ModemSetupDTRCmd:       AT&D            # DTR off causes modem to reset
ModemSetupDCDCmd:       AT&C2           # DCD off 5 sec after disconnect
ModemSetupAACmd:        AT+FAA=1
#
ModemAnswerCmd:     ATA         # enable autobaud before answering
ModemAnswerDataBeginCmd: ATO    # Modem "online" after "DATA" response
#
ModemMfrQueryCmd:       !Motorola       # 
ModemModelQueryCmd:     !28.8           # 
ModemRevQueryCmd:       AT%V            # firmware revision info
#
ModemDialCmd:           ATDT%s          # T for tone dialing
ModemWaitForConnect:    Yes

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Anthony Caola		     Massachusetts Institute of Technology
			     Department of Chemical Engineering
Phone:  (617) 253-6547	     25 Ames St.
Fax:	(617) 253-9695	     Building 66-256
Email:	caola@mit.edu	     Cambridge, MA  02139

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




Project hosted by iFAX Solutions