HylaFAX The world's most advanced open source fax server

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

[hylafax-users] using mgetty to receive data and fax on the same modem



Hi all!

I have a problem setting mgetty with hylafax answering data calls.
If I configure inittab with mgetty everything works fine and I can
establish a data connection via ppp to the machine.
If I configure inittab with faxgetty I can correctly receive faxes. So,
the modem and the line are working properly.
But I want to handle both fax and data on the same modem and the same
line, using the hylafax rotary mechanism and I get Input/output error in
mgetty

This is a section of my hylafax config file for the modem:

GettyArgs:              "-r %l"
ModemDialCmd:           ATDT%s          # T for tone dialing
AnswerRotary:           "fax data"
AnswerBias:             0
ModemAnswerCmd:         AT+FCLASS=1;A   # default is to answer as fax
ModemAnswerDataCmd:     AT+FCLASS=0;A   # answer as data

This is what I see in my syslog when the data connection takes place:

May 18 12:36:02 000-er FaxGetty[503]: MODEM input buffering enabled
May 18 12:36:02 000-er FaxQueuer[2666]: MODEM ttyS4: COMID 00005427
May 18 12:36:23 000-er FaxGetty[503]: ANSWER: DATA CONNECTION
May 18 12:36:23 000-er FaxGetty[503]: GETTY: START
"/etc/hylafax/getty-link -r ttyS4", pid 3774

and in /var/log/mgetty

05/18 12:14:37 yS4  locking the line
05/18 12:14:37 yS4  we *have* the line!
05/18 12:14:38 yS4  WARNING: DCD line still active, check modem settings
(AT&Dx)
05/18 12:14:38 yS4  lowering DTR to reset Modem
05/18 12:14:38 yS4  TIOCMBIS failed: Input/output error
05/18 12:14:38 yS4  cannot turn off soft carrier: Input/output error
05/18 12:14:38 yS4  tcgetattr failed: Input/output error
05/18 12:14:38 yS4  cannot get TIO: Input/output error
05/18 12:14:38 yS4  mg_init_device failed, trying again
05/18 12:14:38 yS4  lowering DTR to reset Modem
05/18 12:14:39 yS4  waiting...

and nothing happens.

Do you have any clue?

Thanks in advance.  



____________________ 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*




Project hosted by iFAX Solutions