On 03/12/11 15:29, Gert Doering wrote:
[...]
Post by Gert DoeringOTOH, if actual vgetty questions show up on the mgetty mailing list
(which should be gatewayed here, and back, but possibly the gateway
is broken) usually someone shows up and answers :-)
Huzzah!
Okay:
I have an Amstrad emailer, a slightly exotic ARM-based telephone running
Linux. It's been repurposed with Debian. The emailer has an integrated
Conexant modem. (Not a winmodem, it's a real modem-on-a-chip hooked up
to one of the internal UARTs.) vm diagnostics detects it as:
ATI3 --> CX81802-V90
ATI6 --> RCV56DPF-PLL L8773A Rev 62.01/62.01
vgetty incorrectly detects this as a Rockwell modem and uses the wrong
command set, and gets thoroughly confused; actually, it's a V253 modem
(and specifying 'forceV253 TRUE' makes it all work).
Currently I have it working fine as an answering machine; the modem's
rmd files can be converted to pvf and then to PCM without any problem.
Unfortunately, I can't do the conversion the other way round without
producing mangled output. Trial and error shows that the format
'V253modem 9' is the least bad, but despite many attempts there's always
something wrong with the sample rate. (I suspect the sample rate is
*changing* during playback.)
Looking at the rmd files that vgetty is producing from the modem is
instructive; file says:
v-1441-1322736759.rmd: raw modem data (V253modem /
(sic).
rmdfile says:
v-1441-1322736759.rmd: RMD1
modem type is: "V253modem"
compression method: 0x0000
sample speed: 8000
bits per sample: 8
Is compression type 0 valid? rmdtopvf manages to decode it all right,
whatever it is...
The only other oddity I can find is that if I convert one of these rmd
files to wav, then sox reports it as having an average bitrate of
64.0kbps, while a synthesised wav file with *identical sample rate and
sample size* is reported as 64.2kbps. I have no idea if this is relevant
or not.
I've verified that using vm play to play back a recorded message works
fine, so it's capable of playing back its own files. I've tried
recording a message off the handset, but I can't figure out how to get
vm record to *stop* recording; my next step is to leave a message to
myself and then try to trim it to fit without changing the format, somehow.
Does any of this sound familiar to anyone? Any suggestions on what else
I could try? It all so nearly works that it would be a shame to give up
now; if only I could get the answerphone message to work properly...
On the plus side, as it stands, the answerphone message is deeply
confusing telesales cold callers. So it's not all bad.
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "Never attribute to malice what can be adequately explained by
│ stupidity." --- Nick Diamos (Hanlon's Razor)