Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] Adaptive Answer on a Intel V.92 Class 1 Modem
On Tuesday 11 January 2005 11:52, Nestor A. Diaz L. wrote:
> On Tue, 11 Jan 2005, George Bell wrote:
> > On Tuesday 11 January 2005 10:15, Nestor A. Diaz L. wrote:
> > > Here is the output:
> > >
> > > Jan 11 10:04:27.36: [24919]: SESSION BEGIN 000000042 5716017799
> > > Jan 11 10:04:27.36: [24919]: HylaFAX (tm) Version 4.2.0
> > > Jan 11 10:04:27.36: [24919]: MODEM set XON/XOFF/FLUSH: input ignored,
> > > output disabled Jan 11 10:04:27.36: [24919]: <-- [4:ATA\r]
> > > Jan 11 10:04:43.63: [24919]: --> [3:DAT]
> > > Jan 11 10:04:43.63: [24919]: --> [13:CONNECT 19200]
> > > Jan 11 10:04:43.63: [24919]: ANSWER: DATA CONNECTION
> > > Jan 11 10:04:43.63: [24919]: GETTY: START "/etc/hylafax/getty-link -r
> > > -b -s 19200 ttyS0", pid 249 28
> > > Jan 11 10:05:26.46: [24919]: CLOSE /dev/ttyS0
> > >
> > > The modem always answer in data mode, the problem is even bigger
> > > because if i try to send a fax then the systems execute the getty-link
> > > program and locks the device forever.
> >
> > This log shows a correctly functioning adaptive answer for an incoming
> > data call. Was the incoming call actually a fax call? If so then you
> > have definitely got a problem with the modem hardware and should contact
> > the modem manufacturer. On sending, hylafax shouldn't execute
> > anything! I don't see how it is possible your getty-link(B.T.W. is that
> > a sym-link to mgetty?)
>
> Yes, is a link to mgetty.
>
> > program could be executed when you send a fax. Did you really mean to
> > say receiving? Or perhaps the modem is still stuck in data mode?
>
> How do i know if the modem is stuck in data mode ?
>
> I change the modemanswercommand to at+fclass=1A
>
> > At any rate,
> > You can try commenting out the line: "AdaptiveAnswer: yes" to see
> > if that does anything. Although I think it is harmless to have this
> > turned on, this parameter is mainly used when you don't have or don't use
> > the modem's adaptive answer capability which is turned on with AT+FAA.
>
> I do that and it doesn't work, this modem is not suitable for AA, i can
> receieve faxes or data but not switch between them:
>
> Jan 11 11:39:55.00: [28189]: SESSION BEGIN 000000049 5711234567
> Jan 11 11:39:55.00: [28189]: HylaFAX (tm) Version 4.2.0
> Jan 11 11:39:55.00: [28189]: <-- [4:ATA\r]
> Jan 11 11:39:58.00: [28189]: --> [7:CONNECT]
> Jan 11 11:39:58.00: [28189]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS0'
> Jan 11 11:39:58.00: [28189]: RECV FAX: begin
Was this log taken with FAA=1 ?
There is only one sure-fire way to determine if your modem's AA works.
Turn off faxgetty by commenting out a line that looks like:
S4:35:respawn:/usr/sbin/faxgetty ttyS4
from /etc/inittab and then run "init q"
Then start minicom from the command line, and enter the following command:
AT+FAA=1
and then
AT+FAA?
to verify that it's set to "1".
Get out of minicom and reverse the first two steps to start faxgetty again.
Arrange to have a fax sent to you, and answer manually with the command "ATA".
Then arrange to have a data call to you, and answer manually with "ATA".
If the modem returns a string containing "FAX" in the first case, and "DATA"
in the second, then the adaptive answer is functioning correctly. If it
doesn't, it might be possible to work around it depending on what the modem
returns in each case.
George
____________________ 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*