Dropping call before beep on USR Sportster 33.6 voice

"Brian J. McGovern" (mcgovern@spoon.beta.com)
Tue, 10 Feb 1998 22:47:52 +0100


I have been trying to get the most recent version of vgetty working on
my FreeBSD 2.2.5 system. I managed to get the prior version mostly working,
except that there would be a 2-3 second delay between the beep and the
start of recording of the incoming message. The result was that I'd usually
chop off the first 2-3 seconds of the message ;)

In any event, the new version is behaving very differently. If it
can't find the OGM, it pauses for a second or so, beeps, and records
the incoming message nicely. If I then take this message and make it the
OGM (how I initially record my OGMs), then vgetty answers, plays the OGM,
and then seems to loose control of the modem before the beep, and hangs up
before recording anything. If I delete the OGM, it behaves as previously
mentioned. Therefore, I'm fairly sure its something in the handling
of commands to and from the modem between playing the OGM, and beeping. 

If anyone could hint to me what might be going on, or if they've seen this,
and have the fixes, I'd appreciate any input.

Here is the log:


--
02/08 14:28:28 yd2 vgetty: experimental test release 0.7.4 / 21Jan98
02/08 14:28:28 yd2 mgetty: experimental test release 1.1.12-Jan27
02/08 14:28:28 yd2 reading generic configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf
02/08 14:28:28 yd2 reading program vgetty configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf
02/08 14:28:28 yd2 reading port ttyd2 configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf
02/08 14:28:28 yd2 check for lockfiles
02/08 14:28:28 yd2 locking the line
02/08 14:28:31 yd2 lowering DTR to reset Modem
02/08 14:28:31 yd2 send: \dATQ0V1H0[0d]
02/08 14:28:32 yd2 waiting for ``OK'' ** found **
02/08 14:28:32 yd2 send: ATS0=0Q0&D3&C1[0d]
02/08 14:28:32 yd2 waiting for ``OK'' ** found **
02/08 14:28:32 yd2 mdm_send: 'ATI'
02/08 14:28:32 yd2 USR Courier/Sportster V.34(+) detected
02/08 14:28:32 yd2 mdm_send: 'ATI3'
02/08 14:28:32 yd2 additional info: 'USRobotics Sportster Voice 33600 Fax RS Rev. 2.0'
02/08 14:28:32 yd2 mdm_send: 'AT+FCLASS=2.0' -> OK
02/08 14:28:33 yd2 mdm_send: 'AT+FAA=1;+FCR=1' -> OK
02/08 14:28:33 yd2 mdm_send: 'AT+FBO=1' -> OK
02/08 14:28:33 yd2 mdm_send: 'AT+FNR=1,1,1,0' -> OK
02/08 14:28:33 yd2 mdm_send: 'AT+FLI="49 89 xxxxxxxx"' -> OK
02/08 14:28:33 yd2 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK
02/08 14:28:34 yd2 detecting voice modem type
02/08 14:28:34 yd2 US Robotics detected
02/08 14:28:34 yd2 US Robotics voice modem
02/08 14:28:34 yd2 This is a driver beta version. V0.4.b3
02/08 14:28:35 yd2 VTD setup successful
02/08 14:28:35 yd2 waiting...
02/08 14:32:21 yd2 waiting for ``RING_'' ** found **
02/08 14:32:21 yd2 waiting for ``RING_'' ** found **
02/08 14:32:27 yd2 waiting for ``RING_'' ** found **
02/08 14:32:33 yd2 reading ring_type ring configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf
02/08 14:32:33 yd2 playing voice file /var/spool/voice/messages/standard.rmd

[Note: The OGM plays through to completion fine, but there is a 1-2 second 
	delay at the end]

02/08 14:32:49 yd2 vgetty: Invalid modem answer: Undefined error: 0
02/08 14:32:49 yd2 vgetty: stop_play_file command failed: Undefined error: 0
02/08 14:32:49 yd2 vgetty: Could not play greeting message: Undefined error: 0
02/08 14:32:51 yd2 vgetty: Invalid modem answer: Undefined error: 0
02/08 14:32:51 yd2 /dev/ttyd2: Beep command failed: Undefined error: 0
02/08 14:32:51 yd2 recording voice file /var/spool/voice/incoming/v000190.rmd
02/08 14:32:51 yd2 vgetty: Invalid modem answer: Undefined error: 0
02/08 14:32:51 yd2 vgetty: Could not record a message: Undefined error: 0
--
.