Hylafax Mailing List Archives

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

Re: [hylafax-users] Help : AdaptiveAnswer and AnswerRotary





2006/4/16, gentil ecureuil <gentilecureuil@xxxxxxxxx>:


2006/4/16, gentil ecureuil <gentilecureuil@xxxxxxxxx>:


2006/4/15, gentil ecureuil <gentilecureuil@xxxxxxxxx>:
Hi,
 
I would like to configure hylafax to have :
vgetty for voice call
and
hylafax for fax call
 
I don't have distinctive ring
  
AdaptiveAnswer:         yes

AnswerRotary:           fax extern
EGettyArgs:             "ttyS0"
 
If voice call => it's not good. It's  fax which answers, no extern
It's fax call => it's good!
 
 
 
if voice call :
 
log hylafax :
Apr 16 09:03:02 nuts FaxGetty[18934]: MODEM input buffering disabled
Apr 16 09:05:15 nuts FaxGetty[18934]: --> [4:RING]
Apr 16 09:05:20 nuts FaxGetty[18934]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyS0'
Apr 16 09:05:30 nuts FaxGetty[18934]: EXTERN GETTY: START "/bin/egetty ttyS0", pid 18946
 
log vgetty :
04/16 09:05:37 yS0  waiting for ``OK''
04/16 09:05:37 yS0   got: [0d]
04/16 09:05:38 yS0    CND: OK[0a]OK ** found **
04/16 09:05:38 yS0   waiting for line to clear (VTIME=3), read: [0d][0a]
04/16 09:05:38 yS0   removing lock file
04/16 09:05:38 yS0  waiting...
 
And the modem hangs up!
 
I call again the modem with voice :
 
log vgetty :
04/16 09:05:38 yS0  waiting...
04/16 09:12:35 yS0    select returned 1
04/16 09:12:35 yS0   checking lockfiles, locking the line
04/16 09:12:35 yS0   makelock(ttyS0) called
04/16 09:12:35 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
04/16 09:12:35 yS0   lock made
04/16 09:12:35 yS0    vgetty: number of rings (3) was set directly
04/16 09:12:35 yS0    vgetty: decremented number of rings (3) by 0
04/16 09:12:35 yS0  wfr: waiting for ``RING''
04/16 09:12:35 yS0   got: [0a][0d][0a]RING[0d]
04/16 09:12:35 yS0    CND: RING
....
04/16 09:13:02 yS0   vgetty: Restoring signal handlers
04/16 09:13:02 yS0  closing voice modem device
04/16 09:13:02 yS0   removing lock file
04/16 09:13:02 ##### message keep, length=00:00:09, name='', caller=none, dev=ttyS0, pid=18946
 
log hylafax :
Apr 16 09:05:30 nuts FaxGetty[18934]: EXTERN GETTY: START "/bin/egetty ttyS0", pid 18946
Apr 16 09:13:02 nuts egetty[18946]: message keep, length=00:00:09, name='', caller=none, dev=ttyS0, pid=18946
Apr 16 09:13:03 nuts FaxGetty[18934]: EXTERN GETTY: exit status 0
Apr 16 09:13:03 nuts FaxGetty[18934]: <-- [5:ATH0\r]
Apr 16 09:13:03 nuts FaxGetty[18934]: MODEM WRITE ERROR: errno 5
Apr 16 09:13:03 nuts FaxGetty[18934]: MODEM set DTR OFF
Apr 16 09:13:03 nuts FaxGetty[18934]: MODEM set baud rate: 0 baud (flow control unchanged)
...
Apr 16 09:13:15 nuts FaxGetty[18934]: <-- [7:ATL1M1\r]
Apr 16 09:13:16 nuts FaxGetty[18934]: --> [2:OK]
Apr 16 09:13:16 nuts FaxGetty[18934]: MODEM input buffering disabled
 
It is normal that the modem hangs up?
 
 
 
I found the problem !!!
 
I have a usrobotics and I use "/var/spool/hylafax/config/usr-rts"
ModemAnswerCmd:         AT+FCLASS=1&H1&I0&R2A   # force RTS/CTS after change
 
with ';' it's good!
 
ModemAnswerCmd:         AT+FCLASS=1&H1&I0&R2;A  # force RTS/CTS after change
 
 
NO, it's not good ;o((
 
Now, for fax, it's with mgetty, not with hylafax !
 
I don't understand the use of  ';'
 
I don't manage to configure the modem so that it does not hang up when it passes to egetty
 
I don't manage to determine if the problem comes from hylafax or  vgetty.
 
anne


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