voice doesn't record caller
"Mark E. Walter" (walter@oak.eng.ohio-state.edu)
Sun, 23 Feb 1997 21:10:50 -0500 (EST)
Hi,
I have been struggling with a couple of vgetty related
problems for a couple of days now.
1. the greeting is played, but I cannot record a message
(vgetty does not recognize that the caller is talking) and
upon dialing in with another computer, nothing happens.
2a. vm record -m -W file --> watchdog timer expires, file is
correct length, no beep
2b. vm record -H -W file --> works most of the time, but
quality is lousy, no beep
2c. vm record -m -L10 file --> beep is there, file is correct
length, has to be killed
Here's some of my equipment:
Dual PPro 200's running Linux 2.0.28 SMP
SB16 compatible
Adaptec 2940 with HD and Tape
3Com 509B
SupraExpress 336i ASVD
latest and greatest mgetty-1.1.2
The relevant stuff from my log file (debug 6) is below.
Sorry for the length. I don't want to remove something
useful.
thanks in advance,
mark walter
walter.80@osu.edu
02/23 20:49:33 yS2 select returned 1
02/23 20:49:33 yS2 checking lockfiles, locking the line
02/23 20:49:33 yS2 makelock(ttyS2) called
02/23 20:49:33 yS2 do_makelock: lock='/var/lock/LCK..ttyS2'
02/23 20:49:33 yS2 lock made
[waits for rings, reads config files, sets everthing in config]
02/23 20:49:45 yS2 vgetty: answer mode is [data|voice]
02/23 20:49:45 yS2 vgetty: opening list file /var/spool/voice/messages/Index
02/23 20:49:45 yS2 vgetty: found 1 messages, picked message number 1
02/23 20:49:45 yS2 vgetty: message name is /var/spool/voice/messages/greet3
02/23 20:49:45 yS2 vgetty: entering voice mode
02/23 20:49:45 yS2 vgetty: Installing signal handlers
02/23 20:49:45 yS2 voice command: 'AT#CLS?' -> ''
02/23 20:49:45 yS2 vgetty: AT#CLS?
02/23 20:49:45 yS2 Rockwell: AT#CLS?
02/23 20:49:45 yS2 Rockwell: 0
02/23 20:49:45 yS2 voice command: '' -> 'OK'
02/23 20:49:45 yS2 Rockwell: OK
02/23 20:49:45 yS2 voice command: 'AT#CLS=8' -> 'OK'
02/23 20:49:45 yS2 vgetty: AT#CLS=8
02/23 20:49:45 yS2 Rockwell: AT#CLS=8
02/23 20:49:45 yS2 Rockwell: OK
02/23 20:49:45 yS2 voice command: 'ATA' -> 'VCON'
02/23 20:49:45 yS2 vgetty: ATA
02/23 20:49:45 yS2 Rockwell: <DLE> <h>
02/23 20:49:45 yS2 vgetty: queued event 0x2007 at position 0001
02/23 20:49:45 yS2 Rockwell: ATA
02/23 20:49:45 yS2 Rockwell: VCON
02/23 20:49:45 yS2 playing voice file /var/spool/voice/messages/greet3
02/23 20:49:45 yS2 vgetty: raw modem data header found
02/23 20:49:45 yS2 vgetty: modem type Rockwell found
02/23 20:49:45 yS2 vgetty: compression method 0x0002, speed 7200, bits 2
02/23 20:49:45 yS2 voice command: 'AT#VBS=2' -> 'OK'
02/23 20:49:46 yS2 vgetty: AT#VBS=2
02/23 20:49:46 yS2 Rockwell: AT#VBS=2
02/23 20:49:46 yS2 Rockwell: OK
02/23 20:49:46 yS2 vgetty: unqueued event 0x2007 at position 0000
02/23 20:49:46 yS2 vgetty: voice_handle_event got event 0x2007 with data <
02/23 20:49:46 yS2 vgetty: unqueued event 0x2007 at position 0001
02/23 20:49:46 yS2 vgetty: voice_handle_event got event 0x2007 with data <ð>
02/23 20:49:46 yS2 voice command: 'AT&K3' -> 'OK'
02/23 20:49:46 yS2 vgetty: AT&K3
02/23 20:49:46 yS2 Rockwell: AT&K3
02/23 20:49:46 yS2 Rockwell: OK
02/23 20:49:46 yS2 tio_set_flow_control( HARD XON_OUT )
02/23 20:49:46 yS2 voice command: 'AT#VTX' -> 'CONNECT'
02/23 20:49:46 yS2 vgetty: AT#VTX
02/23 20:49:46 yS2 Rockwell: AT#VTX
02/23 20:49:46 yS2 Rockwell: CONNECT
02/23 20:49:46 yS2 vgetty: <DATA 180 bytes>
[plays data]
02/23 20:49:52 yS2 vgetty: <DLE> <ETX>
02/23 20:49:52 yS2 voice command: '' -> 'OK|VCON'
02/23 20:49:52 yS2 Rockwell:
02/23 20:49:58 yS2 vgetty: timeout while reading character from voice modem: No such file or directory
02/23 20:49:58 yS2 vgetty: Could not play greeting message: No such file or directory
02/23 20:49:58 ##### hangup requested, name='', caller=none, dev=ttyS2, pid=2824
02/23 20:49:58 yS2 voice command: 'AT#VLS=0' -> 'OK'
02/23 20:49:58 yS2 vgetty: AT#VLS=0
02/23 20:49:58 yS2 Rockwell: VCON
02/23 20:49:59 yS2 Rockwell:
02/23 20:50:05 yS2 vgetty: timeout while reading character from voice modem: No such file or directory
02/23 20:50:05 yS2 vgetty: leaving voice mode
02/23 20:50:05 yS2 voice command: 'AT#CLS=0' -> 'OK'
02/23 20:50:05 yS2 vgetty: AT#CLS=0
02/23 20:50:05 yS2 Rockwell: AT#CLS=0
02/23 20:50:06 yS2 Rockwell: OK
02/23 20:50:06 yS2 vgetty: Restoring signal handlers
02/23 20:50:06 yS2 closing voice modem device
02/23 20:50:06 yS2 removing lock file
[resets itself]
02/23 20:50:07 yS2 send: \dATQ0V1H0[0d]
02/23 20:50:08 yS2 waiting for ``OK''
02/23 20:50:08 yS2 got: ATQ0V1H0[0d]
02/23 20:50:08 yS2 CND: ATQ0V1H0[0d][0a][0d][0a]OK ** found **
02/23 20:50:08 yS2 send: AT&F2&K3&C1E0Q0V1&D2S0=0S7=45[0d]
02/23 20:50:08 yS2 waiting for ``OK''
02/23 20:50:08 yS2 got: [0d]
02/23 20:50:08 yS2 CND: OK[0a]AT&F2&K3&C1E0Q0V1&D2S0=0S7=45[0d]
02/23 20:50:08 yS2 CND: AT&F2&K3&C1E0Q0V1&D2S0=0S7=45[0d][0a]OK ** found **
02/23 20:50:08 yS2 tss: set speed to 38400 (017)
02/23 20:50:08 yS2 tio_set_flow_control( HARD )
02/23 20:50:08 yS2 detecting voice modem type
02/23 20:50:08 yS2 vgetty: ATE1
02/23 20:50:08 yS2 voice command: '' -> 'OK|ATE1'
02/23 20:50:08 yS2 serial port: OK
02/23 20:50:09 yS2 modem detected
02/23 20:50:09 yS2 voice command: 'ATI' -> ''
02/23 20:50:09 yS2 vgetty: ATI
02/23 20:50:09 yS2 serial port: ATI
02/23 20:50:09 yS2 serial port: 33600
02/23 20:50:09 yS2 Rockwell: OK
02/23 20:50:09 yS2 Rockwell detected
02/23 20:50:09 yS2 initializing ROCKWELL voice modem
02/23 20:50:09 yS2 voice command: 'AT#CLS?' -> '' [snip]
02/23 20:50:09 yS2 Rockwell: 0
02/23 20:50:09 yS2 voice command: '' -> 'OK'
02/23 20:50:09 yS2 Rockwell: OK
02/23 20:50:09 yS2 voice command: 'AT#CLS=8' -> 'OK' [snip]
02/23 20:50:09 yS2 Rockwell: OK
02/23 20:50:09 yS2 voice command: 'AT#VSP=70' -> 'OK'
02/23 20:50:09 yS2 vgetty: AT#VSP=70
02/23 20:50:09 yS2 Rockwell: <DLE> <h>
02/23 20:50:09 yS2 vgetty: queued event 0x2007 at position 0000
02/23 20:50:09 yS2 Rockwell: AT#VSP=70
02/23 20:50:09 yS2 Rockwell: OK
02/23 20:50:09 yS2 voice command: 'AT#VSD=0' -> 'OK' [snip]
02/23 20:50:09 yS2 Rockwell: OK
02/23 20:50:09 yS2 voice command: 'AT#VTD=3F,3F,3F' -> 'OK' [snip]
02/23 20:50:09 yS2 Rockwell: OK
02/23 20:50:09 yS2 voice command: 'AT#VSS=1' -> 'OK' [snip]
02/23 20:50:09 yS2 Rockwell: OK
02/23 20:50:09 yS2 voice command: 'AT#CLS=0' -> 'OK' [snip]
02/23 20:50:09 yS2 Rockwell: OK
02/23 20:50:09 yS2 voice command: 'AT&K3' -> 'OK' [snip]
02/23 20:50:09 yS2 Rockwell: OK
02/23 20:50:09 yS2 tio_set_flow_control( HARD )
02/23 20:50:09 yS2 waiting for line to clear (VTIME), read:
02/23 20:50:10 yS2 removing lock file
02/23 20:50:10 yS2 waiting...