Lockups/Strangeness after record, fax question, and API question

Brian McGovern (bmcgover@cisco.com)
Tue, 16 Sep 1997 19:26:35 +0200


I've been playing with mgetty for a bit now, and all seems to be good
except for one problem I'm having with the record command.

I'm using a Cardinal 33.6 Voice modem under FreeBSD 2.2.2. Now that I've gotten
vgetty configured, compiled, and running, things seem to be going fairly well.
The Cardinal has a Rockwell Chipset in it.

However, under version 1.1.9 of mgetty/vgetty, when running vmtest.sh, I
get the record command to lock up. For instance, I'll do something like (not
exact, but close enough to explain whats happening):

ENABLE EVENTS
>READY
DEVICE EXTERNAL_MICROPHONE
>READY
RECORD ./foo

<Record message here>


When I'm done, I try to issue a stop command. Usually, I get nothing in
response. When I do, its an "ERROR". All other commands then also return
an error. Sometimes, the file being recorded to continues to grow, other
times, it stops. 

Thinking it might be a bug, I down-graded to 1.1.8. It worked much better
(stopping when it was supposed to, and returing a READY). However,
it then tended to completely crash the script after a couple of 
RECORD and/or PLAY commands (ie - no matter which I did, in what order, it
tended to crash after 2-3 of them). Restarting vmtest.sh seemed to make it
work ok for awhile again, but then it'd crash.

Any suggestions or comments as to what I might want to look at? I haven't
taken a good long look at the logs since the first few times I've seen
this happen (with 1.1.9). In those cases, it looked like it was issuing
the stop, then just went to lala land.

Anyhow, I'm asking in case this is a known problem. Otherwise, I'll dig
deeper.


Secondly, I saw some banter on the mailing list about the "cheap fax modems"
that don't support class 2.0 or class 2. The cardinal is one of those. I 
didn't see the end of the conversation, but, if anyone remembers, is there
a way to use that modem for faxing, or no?

Thirdly. I hear references in the documentation to the voice API. I'm wondering
if this is a nuance to vm shell.... or whether there is a real, C-like
API that I can write full applications around. Comments, please?

Thanks.
	-brian
.