Use Data/Voice button to tell vgetty to answer a fax call
Sai-Lai Lo (S.Lo@uk.research.att.com)
Sun, 16 Jan 2000 20:07:32 GMT
Hi! I've setup mgetty/vgetty 1.1.21 to control my Zyxel 1394E as a fax and
voice answering machine. It works very well except one problem.
The problem I have with the current setup is that, if a fax call comes in
and I pick up the call instead of vgetty, I would like to tell vgetty to
answer the call and then I just hang up my phone.
According to the descriptions in the voice.conf file, it seems to me that
if I press the Data/Voice button on the zyxel, vgetty will answer the phone
as it has programmed.
So I did an experiement:
- pick up the phone to answer a fax call; press Data/Voice button and then
hang up my phone.
The modem seems to handshake with the remote fax machine and then it drops
the line.
The following is the relevant log trace. Looks like the modem has indeed
handshake with the remote fax and it says "CONNECT" at the end of it.
However, vgetty is not expecting this (it says "waiting for RING found
action string: CONNECT) and just exit.
Is there anything I need to do to get vgetty answer the fax call when
the Data/Voice button is pressed?
Any advice is most welcomed.
Sai-Lai
--------------------------------------
01/16 18:40:08 yS0 vgetty: experimental test release 0.9.4 / 20Jul99
01/16 18:40:08 yS0 mgetty: experimental test release 1.1.21-Jul24
01/16 18:40:08 yS0 reading generic configuration from config file /etc/mgetty+s
endfax/voice.conf
01/16 18:40:08 yS0 reading program vgetty configuration from config file /etc/m
getty+sendfax/voice.conf
01/16 18:40:08 yS0 reading port ttyS0 configuration from config file /etc/mgett
y+sendfax/voice.conf
01/16 18:40:08 yS0 check for lockfiles
01/16 18:40:08 yS0 locking the line
01/16 18:40:09 yS0 lowering DTR to reset Modem
01/16 18:40:09 yS0 send: \dATQ0V1H0[0d]
01/16 18:40:10 yS0 waiting for ``OK'' ** found **
01/16 18:40:10 yS0 send: ATS0=0Q0&D3&C1[0d]
01/16 18:40:10 yS0 waiting for ``OK'' ** found **
01/16 18:40:10 yS0 mdm_send: 'ATI'
01/16 18:40:10 yS0 ZyXEL 1496 detected
01/16 18:40:10 yS0 mdm_send: 'ATI1'
01/16 18:40:10 yS0 additional info: 'U1496E V 6.21 M '
01/16 18:40:10 yS0 mdm_send: 'AT+FCLASS=2.0' -> OK
01/16 18:40:11 yS0 mdm_send: 'AT+FAA=0;+FCR=1' -> OK
01/16 18:40:11 yS0 mdm_send: 'AT+FBO=1' -> OK
01/16 18:40:11 yS0 mdm_send: 'AT+FNR=1,1,1,0' -> OK
01/16 18:40:11 yS0 mdm_send: 'AT+FLI="44 1223 464970"' -> OK
01/16 18:40:11 yS0 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK
01/16 18:40:11 yS0 detecting voice modem type
01/16 18:40:12 yS0 ZyXEL 1496 detected
01/16 18:40:13 yS0 ROM release 6.21 detected
01/16 18:40:13 yS0 initializing ZyXEL 1496 voice modem
01/16 18:40:15 yS0 waiting...
01/16 18:42:43 yS0 wfr: waiting for ``RING''
01/16 18:42:43 yS0 wfr: waiting for ``RING''
01/16 18:42:46 yS0 wfr: waiting for ``RING''
01/16 18:42:56 yS0 mdm_read_byte: read returned -1: Interrupted system call
01/16 18:42:56 yS0 wfr: timeout waiting for RING
01/16 18:42:56 ##### phone stopped ringing (rings=2, dev=ttyS0, pid=10022, calle
r='none')
01/16 18:42:56 yS0 waiting...
01/16 18:43:11 yS0 wfr: waiting for ``RING''
01/16 18:43:11 yS0 wfr: found action string: ``CONNECT''
01/16 18:43:12 ##### failed dev=ttyS0, pid=10022, got signal 1, exiting