Still trouble with voice recording
Marc Eberhard (marc@t2262dj.ppp.lrz-muenchen.de)
Thu, 16 Nov 1995 07:29:16 +0100
Hi Bjoern!
> Anybody know what I'm doing wrong? I am including, as I said, my
> policy.h, as well as mgetty.config and an excerpt from the (alas, _very_
> verbose) logfile.
Yes. Thanks for mailing all relevant information at once. This makes
it easy to reply. :-)
> 11/15 23:09:32 dem voice_command: send 'AT+VSM=3 +VLS=2 +VSD=12,70'
The +VSD command sets the threshold and duration for the detection of
silence. Both parameters can be set in the voice/vconfig.h file.
The meaning of the parameters is also documented there.
> 11/15 23:09:32 dem voice_record: receiving /var/spool/voice/incoming/voc-a01740
> ....
> 11/15 23:09:40 dem input: got <DLE>s
>
> [What's this?]
The modem has detected a period of silence. As you can see this code
comes 8 seconds after the start. The configured value for this is 7
seconds (it's the 70 in the +VSD command, because it's in units of
10th of seconds), so everything is ok so far.
> 11/15 23:09:40 dem Trying fax/data connection...
Since this was silence at the beginning of the recording vgetty
assumes, there is a quite modem on the line waiting for a connect, so
it switches to data mode.
> 11/15 23:10:18 dem found action string: `NO CARRIER''
> 11/15 23:10:18 ##### failed A_FAIL dev=modem, pid=1740, caller=none, conn='', na
Which fails...
So what you want to do is to change the value for the silence
threshold (sensitivity). Since this value varies from the quality of
the phone line and the connection, there is no absolute secure
standard value. Try changing this one and it should solve your
problem. More details are documented in the vconfig.h file.
Bye,
Marc
-------------------------------------------------------------------------------
Email: Marc.Eberhard@Physik.TU-Muenchen.DE
WWW: http://WWW.Physik.TU-Muenchen.DE/~eberha/
Voice: [49] (89) 326 1816, Fax: [49] (89) 3262 5008