Hylafax Mailing List Archives

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

Re: Adaptive Answer support for USR Sportster 28.8 ???



Jonathan Chen wrote:
> 
> On Wed, 11 Jun 1997, Thomas Kuerten wrote:
> 
> [snip]
> > Somehow I cannot tell the hylafax getty to try first fax, then data.
> >
> > Is this impossible with the modem in 2.0 ?
> > do I have to use class 1 ?
> 
> man config(4f). The entry you're looking for is:
> 
>     ModemSetupAACmd:    AT+FAA=1    # enable adaptive answer in Class 2

Well thanks alot. I already did that, as I already mentioned two
mails ago, but the nice soul helping me with the mgetty setup
cut out the config file lines of relevance.
So here they are again:

ModemType:              Class2.0        # use class 2.0 interface
ModemRate:              38400           # DCE-DTE communication rate
ModemFlowControl:       rtscts          # Hardware flow control assumed
ModemSetupDTRCmd:       ATS13=1&D2      # setup so DTR drop resets modem
ModemSetupDCDCmd:       AT&C1           # setup so DCD reflects carrier
(or not)
ModemResultCodesCmd:    ATQ0X4          # enable extended result codes
ModemSetupAACmd:        AT+FAA=1
#
AdaptiveAnswer:         yes             # enable adaptive answer
AnswerRotary:           "fax data"      # answer for fax, then data
ModemAnswerFaxCmd:      AT+FCLASS=2.0;A   # default is to answer as fax
ModemAnswerDataCmd:     ATH+FCLASS=0;A  # hangup and answer as data
Class1RecvIdentTimer:   8000            # timeout fax answer in 8 secs


If I leave out the "fax" in AnswerRotary, I am getting a data 
connect and can log in, if I put back in the "fax" string, 
I am only getting fax connects, seems the modem never switches
to the data mode if it doesnt get a fax connection, 
which is what I would like to do with the answer rotary

I have read the FAQ and man of config and a lot mor but this is never
mentioned very clearly, and all the class specific commands in
the "config" manual are related to class 1 or class 2, none
to class 2.0, as it seems to me.

The following log gets created if I try to dial in with a data
connection:

Jun 13 11:16:09.05: [  236]: SESSION BEGIN 00000037 498932158643
Jun 13 11:16:09.05: [  236]: <-- [16:AT+FCLASS=2.0;A\r]
Jun 13 11:16:54.03: [  236]: --> [7:+FHS:01]
Jun 13 11:16:54.03: [  236]: REMOTE HANGUP: Ring detect without
successful handshake (code 1)
Jun 13 11:16:54.03: [  236]: --> [2:OK]
Jun 13 11:17:31.83: [  236]: --> [4:RING]
Jun 13 11:17:36.89: [  236]: --> [4:RING]
Jun 13 11:17:41.93: [  236]: --> [4:RING]
Jun 13 11:17:46.65: [  236]: --> [4:RING]
Jun 13 11:20:46.65: [  236]: ANSWER: Ring detected without successful
handshake
Jun 13 11:20:46.65: [  236]: <-- [26:ATH+FCLASS=0;A\r]
Jun 13 11:21:49.20: [  236]: --> [10:NO CARRIER]
Jun 13 11:21:49.20: [  236]: ANSWER: Ring detected without successful
handshake
Jun 13 11:21:49.20: [  236]: SESSION END


Please !
Any help about this ?
what should I use with my sportster 28.8, Class2.0 and Adaptive
answer and Answer Rotary ? or leaving out something or adding
something ?

Where do I set the timeout for the modem, so that it recognizes
that it should switch to the data mode if it doesnt get a fax connection
?????

thanks, 
    Thomas.
-- 
Thomas Kuerten - beim Pfarracker 29 - 85716 Unterschleissheim - Germany 
-URL-: http://www.leo.org/~kuerten/
Email: kuerten@leo.org (at home), thomas@tekelec.de (at Work)
Phone: +49 (0)89 321 58644



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services