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
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?