Vgetty script problems

Moe Pitman (mpitman@uni-market.com)
Wed, 11 Aug 1999 23:14:56 GMT


I need to write a script for a custom voice application, but I can't get
vgetty to interact properly with call_program scripts, either the Perl
or shell variety.

It works flawlessly using the default behavior with no script.

Using the supplied demo.sh script (or any other), it will answer, play
the greeting, and record, but it won't terminate the recording.  I have
to eventually the vgetty process to make it stop recording off-hook
noises.

I am running Slackware 4.0, mgetty 1.1.21 and an internal USR 33.6 V.34

Here is a typical section of log file:

--------------------------------------------------------------------------

--
08/11 17:08:47 yS0  reading program vgetty configuration from config
file /usr/local/etc/mgetty+sendfax/voice.conf
08/11 17:08:47 yS0  reading port ttyS0 configuration from config file
/usr/local/etc/mgetty+sendfax/voice.conf
08/11 17:08:47 yS0  check for lockfiles
08/11 17:08:47 yS0  locking the line
08/11 17:08:47 yS0  can't get group 'modem': No such file or directory
08/11 17:08:47 yS0  lowering DTR to reset Modem
08/11 17:08:48 yS0  send: \dATQ0V1H0[0d]
08/11 17:08:48 yS0  waiting for ``OK'' ** found **
08/11 17:08:48 yS0  send: ATS0=0Q0&D3&C1[0d]
08/11 17:08:48 yS0  waiting for ``OK'' ** found **
08/11 17:08:49 yS0  mdm_send: 'ATI'
08/11 17:08:49 yS0  USR Courier/Sportster V.34(+) detected
08/11 17:08:49 yS0  mdm_send: 'ATI3'
08/11 17:08:49 yS0  additional info: 'U.S. Robotics Sportster Flash
33600 Rev.10.3.83'
08/11 17:08:49 yS0  mdm_send: 'AT+FCLASS=2.0' -> OK
08/11 17:08:49 yS0  mdm_send: 'AT+FAA=1;+FCR=1' -> OK
08/11 17:08:49 yS0  mdm_send: 'AT+FBO=1' -> OK
08/11 17:08:49 yS0  mdm_send: 'AT+FNR=1,1,1,0' -> OK
08/11 17:08:50 yS0  mdm_send: 'AT+FLI="49 115 xxxxxxxx"' -> OK
08/11 17:08:50 yS0  mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK
08/11 17:08:50 yS0  detecting voice modem type
08/11 17:08:51 yS0  US Robotics detected
08/11 17:08:52 yS0  US Robotics voice modem
08/11 17:08:52 yS0  This is a driver beta version. V0.4.b3
08/11 17:08:53 yS0  VTD setup successful
08/11 17:08:53 yS0  vgetty: Modem returned ERROR
08/11 17:08:53 yS0  setting ringback delay didn't work
08/11 17:08:54 yS0  waiting...
08/11 17:15:17 yS0  wfr: waiting for ``RING''
08/11 17:15:17 yS0  wfr: waiting for ``RING''
08/11 17:15:23 yS0  reading ring_type ring configuration from config
file /usr/local/etc/mgetty+sendfax/voice.conf
08/11 17:15:24 yS0  playing voice file /var/spool/voice/messages/welcome

08/11 17:15:37 yS0  recording voice file
/var/spool/voice/incoming/va07180.rmd
08/11 17:15:51 yS0  closing voice modem device
08/11 17:15:51 ##### message keep, length=00:00:11, name='',
caller=none, dev=ttyS0, pid=7180
-------------------------------------------------------------------------------

Any clues on how to proceed would be greatly appreciated.

--
--Moe Pitman
Three-Sixteen Technical Services, Inc.
Linux Training in Austin, Texas!
http://training.three-sixteen.com/