HylaFAX The world's most advanced open source fax server

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

Re: Cannot answer from FAX machine



On Sat, Jun 13, 1998 at 10:24:48AM +0800, Hong Kong Observatory wrote:
> 
> 
> On Fri, 12 Jun 1998, Matthias Apitz wrote:
> 
> > On Fri, Jun 12, 1998 at 02:56:36PM +0800, Hong Kong Observatory wrote:
> > > Hi,
> > >
> > >    I;m using HylaFAX v4.0pl1 in an IBM RS6000 running AIX 4.1 with six
> > > ZyXEL U336RE modems.
> > >
> > >    I can send FAX to different modems and FAX machines without problems. I
> > > can also receive FAX from HylaFAX from other or the same machin without
> > > problems.
> > >
> > >    But for most of the times, the ZyXEL modems cannot answer
> > > successfully from FAX machines (that is sometimes it works well !!). I
> > > used the configuration file for ZyXEL-2864 modems that comes with HylaFAX.
> > > Following is sample of my server log file :
> > >
> > > Jun 12 14:41:41 hylas FaxGetty[17078]: <-- [9:AT+FMFR?\r]
> > > Jun 12 14:41:41 hylas FaxGetty[17078]: --> [5:ZyXEL]
> > > Jun 12 14:41:41 hylas FaxGetty[17078]: --> [2:OK]
> > > Jun 12 14:41:41 hylas FaxGetty[17078]: <-- [9:AT+FMDL?\r]
> > > Jun 12 14:41:42 hylas FaxGetty[17078]: --> [18:U336RE V 1.09     ]
> > > Jun 12 14:41:42 hylas FaxGetty[17078]: --> [2:OK]
> > > Jun 12 14:41:42 hylas FaxGetty[17078]: <-- [9:AT+FREV?\r]
> > > Jun 12 14:41:42 hylas FaxGetty[17078]: --> [18:U336RE V 1.09     ]
> > > Jun 12 14:41:42 hylas FaxGetty[17078]: --> [2:OK]
> > > Jun 12 14:41:42 hylas FaxGetty[17078]: <-- [9:AT+FCQ=?\r]
> > > Jun 12 14:41:42 hylas FaxGetty[17078]: --> [3:0-2]
> > > Jun 12 14:41:42 hylas FaxGetty[17078]: --> [2:OK]
> > > Jun 12 14:41:42 hylas FaxGetty[17078]: <-- [9:AT+FAP=?\r]
> > > Jun 12 14:41:42 hylas FaxGetty[17078]: --> [5:ERROR]
> > > Jun 12 14:41:42 hylas FaxGetty[17078]: <-- [10:AT+FSPL=?\r]
> > > Jun 12 14:41:42 hylas FaxGetty[17078]: --> [3:0,1]
> > > Jun 12 14:41:42 hylas FaxGetty[17078]: --> [2:OK]
> > > Jun 12 14:41:42 hylas FaxGetty[17078]: <-- [12:AT+FCLASS=2.0\r]
> > > Jun 12 14:41:43 hylas FaxGetty[17078]: --> [2:OK]
> > > Jun 12 14:41:43 hylas FaxGetty[17078]: <-- [10:AT+FTBC=0\r]
> > > Jun 12 14:41:43 hylas FaxGetty[17078]: --> [2:OK]
> > > Jun 12 14:41:43 hylas FaxGetty[17078]: <-- [10:AT+FBOR=0\r]
> > > Jun 12 14:41:43 hylas FaxGetty[17078]: --> [2:OK]
> > > Jun 12 14:41:43 hylas FaxGetty[17078]: <-- [13:AT+FPHCTO=30\r]
> > > Jun 12 14:41:43 hylas FaxGetty[17078]: --> [2:OK]
> > > Jun 12 14:41:43 hylas FaxGetty[17078]: <-- [24:AT+FDCC=1,5,2,2,1,0,0,0\r]
> > > Jun 12 14:41:43 hylas FaxGetty[17078]: --> [2:OK]
> > > Jun 12 14:41:43 hylas FaxGetty[17078]: MODEM ZYXEL U336RE/V 1.09
> > > Jun 12 14:41:43 hylas FaxGetty[17078]: <-- [5:ATM0\r]
> > > Jun 12 14:41:44 hylas FaxGetty[17078]: --> [2:OK]
> > > Jun 12 14:41:44 hylas FaxGetty[17078]: <-- [9:AT+FCR=1\r]
> > > Jun 12 14:41:44 hylas FaxGetty[17078]: --> [2:OK]
> > > Jun 12 14:41:44 hylas FaxGetty[17078]: <-- [23:AT+FLID="852 23672324"\r]
> > > Jun 12 14:41:44 hylas FaxGetty[17078]: --> [2:OK]
> > > Jun 12 14:41:44 hylas FaxGetty[17078]: <-- [9:AT+FAA=1\r]
> > > Jun 12 14:41:44 hylas FaxGetty[17078]: --> [2:OK]
> > > Jun 12 14:44:58 hylas FaxGetty[12940]: ANSWER: Ring detected without
> > > successful handshake
> > > Jun 12 14:45:03 hylas FaxGetty[12940]: MODEM ZYXEL U336RE/V 1.09
> >
> > How does the faxgetty(1M) detected the ringing *without*
> > logging anything read from the modem in the log file? Please
> > connect a terminal prog to the modem and call it from
> > another line -- what send to the terminal prog as RING string?
> >
> 
> After changing the ServerTracing and SessionTracing to 11 in the config
> files, I got the followings in the server log file :
> 
> Jun 12 12:25:19 hylas FaxGetty[17004]: <-- [9:AT+FCR=1\r]
> Jun 12 12:25:20 hylas FaxGetty[17004]: --> [2:OK]
> Jun 12 12:25:20 hylas FaxGetty[17004]: <-- [22:AT+FLI="852 23672324"\r]
> Jun 12 12:25:20 hylas FaxGetty[17004]: --> [2:OK]
> Jun 12 12:25:20 hylas FaxGetty[17004]: <-- [9:AT+FAA=1\r]
> Jun 12 12:25:20 hylas FaxGetty[17004]: --> [2:OK]
> Jun 12 12:28:53 hylas FaxGetty[17004]: --> [4:RING]
> Jun 12 12:30:00 hylas FaxGetty[17004]: ANSWER: Ring detected without
>  successful handshake
> Jun 12 12:30:00 hylas FaxGetty[17004]: <-- [5:ATH0\r]
> Jun 12 12:30:00 hylas FaxGetty[17004]: --> [2:OK]
> Jun 12 12:30:03 hylas FaxGetty[17004]: <-- [39:AT&B1&N0&S0*F0S18=4S38.3=1E0V1Q0S0=0H0\r]
> Jun 12 12:30:03 hylas FaxGetty[17004]: --> [2:OK]
> Jun 12 12:30:03 hylas FaxGetty[17004]: <-- [21:ATS8=2S7=60&H3&D2&C1\r]
> Jun 12 12:30:04 hylas FaxGetty[17004]: --> [2:OK]
> 
> Also I got the following in the session log file :
> 
> Jun 12 12:28:49.19: [17004]: SESSION BEGIN 00074366 852123672423
> Jun 12 12:28:49.19: [17004]: <-- [4:ATA\r]
> Jun 12 12:30:00.02: [17004]: --> [10:NO CARRIER]
> Jun 12 12:30:00.02: [17004]: ANSWER: Ring detected without successful
> handshake
> Jun 12 12:30:30.02: [17004]: SESSION END

Ok. This is fine now and only means that both ends didn't
handshake in the time of ~70 secs. Up the value for S7
(check config(4F) for it); It also explains why it sometimes
works and sometimes does not.

	matthias




Project hosted by iFAX Solutions