Problems converting rmd to wav
"Florian Eggert" (eggertf@gretel.imwald)
Fri, 2 Jul 1999 17:56:37 +0200
Hi to everyone,
I have a problem with vgetty and an Acer 56k modem.
After recording a message, the following script is executed:
------
/usr/bin/rmdtopvf "$oldname" | /usr/bin/pvftowav >
/usr/local/httpd/htdocs/voicemail/"$filename".wav
------
I receive this output:
/usr/bin/rmdtopvf: bad frame in input
Writing Wave file: Microsoft PCM format, 1 channel, 8000 samp/sec 8000
byte/sec, 1 block align, 8 bits/samp
/usr/bin/rmdtopvf: Unsupported compression method (US Robotics/1)
The script writes a wav file, but the file contains only 13 seconds of the
message.
The logfile vgetty.modem shows:
07/02 16:31:38 dem lowering DTR to reset Modem
07/02 16:31:39 dem send: \dATQ0V1H0[0d]
07/02 16:31:39 dem waiting for ``OK'' ** found **
07/02 16:31:40 dem send: ATS0=0Q0&D3&C1[0d]
07/02 16:31:40 dem waiting for ``OK'' ** found **
07/02 16:31:40 dem mdm_send: 'ATI'
07/02 16:31:40 dem USR Courier/Sportster 56k detected
07/02 16:31:40 dem mdm_send: 'ATI3'
07/02 16:31:40 dem additional info: 'Texas Instruments RK 56000 Voice Fax
Rev. 4.7.30'
07/02 16:31:40 dem mdm_send: 'AT+FCLASS=2.0' -> OK
07/02 16:31:40 dem mdm_send: 'AT+FAA=1;+FCR=1' -> OK
07/02 16:31:41 dem mdm_send: 'AT+FBO=1' -> OK
07/02 16:31:41 dem mdm_send: 'AT+FNR=1,1,1,0' -> OK
07/02 16:31:41 dem mdm_send: 'AT+FLI="49 xxxx xxxxxxx"' -> OK
07/02 16:31:41 dem mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK
07/02 16:31:41 dem detecting voice modem type
07/02 16:31:42 dem US Robotics detected
07/02 16:31:43 dem US Robotics voice modem
07/02 16:31:43 dem This is a driver beta version. V0.4.b3
07/02 16:31:43 dem VTD setup successful
07/02 16:31:44 dem waiting...
07/02 16:46:51 dem wfr: waiting for ``RING''
07/02 16:46:51 dem wfr: waiting for ``RING''
07/02 16:46:57 dem wfr: waiting for ``RING''
07/02 16:47:03 dem reading ring_type ring configuration from config file
/etc/mgetty+sendfax/voice.conf
07/02 16:47:04 dem playing voice file
/var/spool/voice/messages/greeting2.rmd
07/02 16:47:19 dem recording voice file
/var/spool/voice/incoming/va00266.rmd
07/02 16:47:55 dem closing voice modem device
07/02 16:47:55 ##### message keep, length=00:00:33, name='', caller=none,
dev=modem, pid=266
07/02 16:47:55 dem vgetty: Executing shell script /var/spool/voice/mknewmsg
with shell /bin/sh
-----
The new message should have a length of 33 seconds.
Thanks in advance!
Florian