Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] faxgetty doesn't answer
Here is the output of probemodem, don't know if it helps, but here it is
Héctor
Now we are going to probe the tty port. This takes a few seconds,
so be patient. Note that if you do not have the modem cabled to
the port, or the modem is turned off, this may hang (just go and
cable up the modem or turn it on, or whatever).
Probing for best speed to talk to modem: 38400 OK.
This looks like a Class 1 and 2 modem.
ATI0 RESULT = "OK" RESPONSE = "AEIGFM560LKNF1"
ATI1 RESULT = "OK" RESPONSE = "2665"
ATI2 RESULT = "OK" RESPONSE = "OK"
ATI3 RESULT = "OK" RESPONSE = "AEIGFM560LKNF1"
ATI4 RESULT = "OK" RESPONSE = "17"
ATI5 RESULT = "OK" RESPONSE = "p052099f,0,19"
ATI6 RESULT = "OK" RESPONSE = "No Cell Phone Selected"
ATI7 RESULT = "OK" RESPONSE = "OK"
ATI8 RESULT = "OK" RESPONSE = "OK"
ATI9 RESULT = "OK" RESPONSE = "North America"
Class 1 stuff...
AT+FCLASS=? RESULT = "OK" RESPONSE = "0,1,2"
AT+FCLASS? RESULT = "OK" RESPONSE = "0"
AT+FCLASS=0 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS=1 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS? RESULT = "OK" RESPONSE = "1"
AT+FJUNK=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FJUNK? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FAA=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FAA? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FAE=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FAE? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FTH=? RESULT = "OK" RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FRH=? RESULT = "OK" RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FTM=? RESULT = "OK" RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FRM=? RESULT = "OK" RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FTS=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FRS=? RESULT = "ERROR" RESPONSE = "ERROR"
Class 2 stuff...
AT+FCLASS=? RESULT = "OK" RESPONSE = "0,1,2"
AT+FCLASS? RESULT = "OK" RESPONSE = "1"
AT+FCLASS=0 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS=1 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS=2 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS? RESULT = "OK" RESPONSE = "2"
AT+FJUNK=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FJUNK? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FAA=? RESULT = "OK" RESPONSE = "0,1"
AT+FAA? RESULT = "OK" RESPONSE = "0"
AT+FAXERR=? RESULT = "OK" RESPONSE = "OK"
AT+FAXERR? RESULT = "OK" RESPONSE = "0"
AT+FBADLIN=? RESULT = "OK" RESPONSE = "0-255"
AT+FBADLIN? RESULT = "OK" RESPONSE = "5"
AT+FBADMUL=? RESULT = "OK" RESPONSE = "0-255"
AT+FBADMUL? RESULT = "OK" RESPONSE = "20"
AT+FBOR=? RESULT = "OK" RESPONSE = "0-3"
AT+FBOR? RESULT = "OK" RESPONSE = "0"
AT+FBUF=? RESULT = "OK" RESPONSE = "OK"
AT+FBUF? RESULT = "OK" RESPONSE = "2448,2252,2124,1"
AT+FBUG=? RESULT = "OK" RESPONSE = "0"
AT+FBUG? RESULT = "OK" RESPONSE = "0"
AT+FCIG=? RESULT = "OK" RESPONSE = "(32-127)"
AT+FCIG? RESULT = "OK" RESPONSE = "" ""
AT+FCQ=? RESULT = "OK" RESPONSE = "0-1"
AT+FCQ? RESULT = "OK" RESPONSE = "0"
AT+FCR=? RESULT = "OK" RESPONSE = "0,1"
AT+FCR? RESULT = "OK" RESPONSE = "1"
AT+FTBC=? RESULT = "OK" RESPONSE = "0"
AT+FTBC? RESULT = "OK" RESPONSE = "0"
AT+FDCC=? RESULT = "OK" RESPONSE =
"(0,1),(0-5),(0),(0-2),(0),(0),(0),(0-7)"
AT+FDCC? RESULT = "OK" RESPONSE = "1,5,0,2,0,0,0,0"
AT+FDCS=? RESULT = "OK" RESPONSE = "OK"
AT+FDCS? RESULT = "OK" RESPONSE = "0,0,0,0,0,0,0,0"
AT+FDIS=? RESULT = "OK" RESPONSE =
"(0,1),(0-5),(0),(0-2),(0),(0),(0),(0-7)"
AT+FDIS? RESULT = "OK" RESPONSE = "1,5,0,2,0,0,0,0"
AT+FDT=? RESULT = "OK" RESPONSE = "OK"
AT+FDT? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FECM=? RESULT = "OK" RESPONSE = "0"
AT+FECM? RESULT = "OK" RESPONSE = "0"
AT+FET=? RESULT = "OK" RESPONSE = "0-2"
AT+FET? RESULT = "OK" RESPONSE = "0"
AT+FLID=? RESULT = "OK" RESPONSE = "(32-127)"
AT+FLID? RESULT = "OK" RESPONSE = "" ""
AT+FLNFC=? RESULT = "OK" RESPONSE = "0"
AT+FLNFC? RESULT = "OK" RESPONSE = "0"
AT+FLPL=? RESULT = "OK" RESPONSE = "0,1"
AT+FLPL? RESULT = "OK" RESPONSE = "0"
AT+FMDL? RESULT = "OK" RESPONSE = "AEIGFM560LKNF1"
AT+FMFR? RESULT = "OK" RESPONSE = "AEIGFM560LKNF1"
AT+FMINSP=? RESULT = "OK" RESPONSE = "0-3"
AT+FMINSP? RESULT = "OK" RESPONSE = "0"
AT+FPHCTO=? RESULT = "OK" RESPONSE = "0-255"
AT+FPHCTO? RESULT = "OK" RESPONSE = "30"
AT+FPTS=? RESULT = "OK" RESPONSE = "1-3"
AT+FPTS? RESULT = "OK" RESPONSE = "1"
AT+FRBC=? RESULT = "OK" RESPONSE = "0"
AT+FRBC? RESULT = "OK" RESPONSE = "0"
AT+FREL=? RESULT = "OK" RESPONSE = "0"
AT+FREL? RESULT = "OK" RESPONSE = "0"
AT+FREV? RESULT = "OK" RESPONSE = "p052099f"
AT+FSPL=? RESULT = "OK" RESPONSE = "0,1"
AT+FSPL? RESULT = "OK" RESPONSE = "0"
AT+FTBC=? RESULT = "OK" RESPONSE = "0"
AT+FTBC? RESULT = "OK" RESPONSE = "0"
AT+FVRFC=? RESULT = "OK" RESPONSE = "0"
AT+FVRFC? RESULT = "OK" RESPONSE = "0"
AT+FWDFC=? RESULT = "OK" RESPONSE = "0"
AT+FWDFC? RESULT = "OK" RESPONSE = "0"
AT+FK=? RESULT = "OK" RESPONSE = "OK"
----- Original Message -----
From: "Hector S. Mendoza Ortiz" <hector@xxxxxxxxxxxxxxxxxxx>
To: "Lee Howard" <faxguy@xxxxxxxxxxxxxxxx>
Cc: <hylafax-users@xxxxxxxxxxx>
Sent: Wednesday, March 02, 2005 10:25 AM
Subject: Re: [hylafax-users] faxgetty doesn't answer
Yes, it works ok.. but I need to remove faxgetty from inittab and restart
machine to be able to access it, because it will not let go of the device
even with a init q (after removal) and kill -9 <pid>
Héctor
----- Original Message -----
From: "Lee Howard" <faxguy@xxxxxxxxxxxxxxxx>
To: "Hector S. Mendoza Ortiz" <hector@xxxxxxxxxxxxxxxxxxx>
Cc: <hylafax-users@xxxxxxxxxxx>
Sent: Tuesday, March 01, 2005 7:08 PM
Subject: Re: [hylafax-users] faxgetty doesn't answer
Hector S. Mendoza Ortiz wrote:
Hello all!
I have a problem, I'm experimenting with deploying a hylafax
installation but I've runned into a problem.
I installed version 4.2.1-1fc3 (RPM from hylafax.org) on a fresh
installed machine with FC3 with a PCMCIA modem ActionTec Datalink V90 LK
(http://www.actiontec.com/support/modems/dlv90lk.html) modem gets
detected by linux perfectly with no problems at boot time and creates
device (ttyS3), it's already configured on inittab to launch
(mo:2345:respawn:/usr/sbin/faxgetty ttyS3), hylafax starts as expected:
Mar 1 17:53:01 fax hylafax: faxq startup succeeded
Mar 1 17:53:01 fax FaxQueuer[2392]: HylaFAX (tm) Version 4.2.1
Mar 1 17:53:01 fax FaxQueuer[2392]: Copyright (c) 1990-1996 Sam Leffler
Mar 1 17:53:01 fax FaxQueuer[2392]: Copyright (c) 1991-1996 Silicon
Graphics, Inc.
Mar 1 17:53:01 fax HylaFAX[2396]: HylaFAX INET Protocol Server:
restarted.
Mar 1 17:53:01 fax hylafax: hfaxd startup succeeded
Mar 1 17:53:05 fax FaxGetty[2442]: OPEN /dev/ttyS3 HylaFAX (tm)
Version 4.2.1
Mar 1 17:53:15 fax FaxGetty[2442]: MODEM AEIGFM560LKNF1
AEIGFM560LKNF1/p052099f
faxstat reports the modem as ready
[root@fax ~]# faxstat
HylaFAX scheduler on fax.intranet.acorporativa.com.mx: Running
Modem ttyS3 ((55)5393-8720): Running and idle
[root@fax ~]#
but faxgetty never answers incomming calls, i've straced faxgetty's
process and got this:
select(9, [5 8], [], [8], {29, 999096}) = 0 (Timeout)
gettimeofday({1109723926, 489798}, NULL) = 0
gettimeofday({1109723926, 490670}, NULL) = 0
gettimeofday({1109723926, 491240}, NULL) = 0
select(9, [5 8], [], [8], {0, 636}) = 0 (Timeout)
gettimeofday({1109723926, 494599}, NULL) = 0
gettimeofday({1109723926, 495321}, NULL) = 0
open("/var/lock/LCK..ttyS3", O_RDONLY) = -1 ENOENT (No such file or
directory)
gettimeofday({1109723926, 496569}, NULL) = 0
gettimeofday({1109723926, 496789}, NULL) = 0
and it keeps looping and looping, if I make a call to the fax, it will
still be the same.
When it's on the right mood and after several reboot's it will answer
the phone, but if you call it and no fax is sent, it will go to this
same mode again. Also if it's running normally and I restart the hylafax
service /etc/init.d/hylafax restart it will hang this same way.
I've commed to see that it's a uucp locking problem, but haven't found a
way to fix it.
any ideas on what's going on? did I do something wrong?
Can you set
ServerTracing: 0xFFF
in your modem config file, restart faxgetty, and then send the FaxGetty
logs in your /var/log/messages after you call the line?
Thanks,
Lee.
____________________ 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*