voicemail

Gert Doering (gert@greenie.muc.de)
Sun, 27 Sep 1998 01:12:57 +0200


Hi,

On Sun, Sep 27, 1998 at 01:09:27AM +0200, Shane Wegner wrote:
> I wrote a voicemail program for vgetty in perl using the shell script
> interface.  I am trying to get better performance out of it so figured I'd
> rewrite it in c.  Since the advent of the perl interface to vgetty, is it
> advisable to write a c program to interface with it.  

Not really.  There isn't really anything performance critical in the perl
stuff (and perl is not THAT much slower as C anyway), except if you do
lots of things like bit shifting and bit arithmetic in perl.

What kind of "performance problems" are you experiencing?

> Also, I noticed that
> vgetty has a voicelib directory.  Could I just link against that and use
> its functions E.G. record, play, events, etc instead of the shell script
> interface.  

Umm, you could, but it won't be trivial.  What you would be doing is
reimplementing "vm" - doable, but no man has been here before.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de