Hylafax Mailing List Archives

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

Re: [hylafax-users] Answers with faxanswer but not with faxgetty, RingsBeforeAnswer: 2



This is a post for those who have this same problem.  I spent days
mucking about in config files.  Let me save you some time.  Fire up
minicom and make sure you get a RING when you call the modem.  If you
don't, talk to the guy that runs your PBX or the local phone company or
the manufacturer of the card.

I spent days to have the problem fixed by the voltage at my phone line.
In order for a phone to ring it must have 70-90 volts and some modems
need 100, check it with a volt meter and it may save you days of trouble
shooting.

The following are step I tried for those who are also trouble shooting.


Test 1:
# strace faxgetty ttyQ1a1 >strace.out.equinox 2>&1
I used strace to trace faxgetty, using faxanswer to tell it to answer
and here are the pertinent pieces:

write(3, "Answering the phone\n", 20)   = 20
_llseek(3, 0, [20], SEEK_CUR)           = 0

write(8, "Feb 07 15:09:06.55: [ 4133]: <--"..., 43) = 43
write(7, "ATA", 3)                      = 3
write(7, "\r", 1)                       = 1
time(NULL)                              = 1107810546
rt_sigaction(SIGALRM, {0xb754bb40, [], SA_RESTORER|SA_INTERRUPT,
0xb7280ec8}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={180, 0}}, NULL) =
0
read(7, "\r\nFAX\r\n", 1024)            = 7
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0


Test 2:
I figured adaptive answer was on and that all I needed to do was set
RingExteded:   "FAX"
but that didn't work.

Test 3:
Next I set FAA=0 thinking this would turn off adaptive answer and
commented out the RingExtended line like the following:
ModemSetupAACmd:        AT+FCLASS=0;+FAA=0 # enable in class 0

Test 4:
That didn't work so I commented out the entire ModemSetupAACmd as well,
no luck.

Test 5:
set that back to FAA=1 and set the following:
AdaptiveAnswer:         yes
AnswerRotary:           fax data voice
AnswerBias:             0
RingFax:                "FAX"


The moral of the story is believe minicom, if it does not see a RING,
you are not getting a RING and hylafax will never answer the phone.
Talk to the guy who runs your PBX.


Jud Bishop

On Mon, 2005-02-07 at 12:09 -0700, Christian M. Watts wrote:
> > When I send a fax and use faxanswer ttyQ1a1 I get the fax emailed to me
> > as a pdf, but when I try have it work through faxgetty I don't get it.
> > The same thing happens when I configure the modem as Class 1 or Class 2.
> 
> I had this problem once before and it was because I was getting "RING A"
> rather than "RING" from the modem - because distinctive ring support was
> turned on on the modem. To verify if this is the case, I would suggest
> running strace (on linux or an equivalent on whatever platform you're on)
> against the faxgetty process. Call the number and see what shows up for
> ringing.
> 
> In order to get faxgetty to 'see' the ring when it was "RING A" or
> whatever, I added the following to my config:
> 
> RingExtended: "RING "
> 
> Another possibility is to setup your ModemResetCmds to turn off
> distinctive ring recognition on the modem. This will be modem-specific.
> 
> Christian


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



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