voicemail
Shane Wegner (shane@cm.nu)
Sun, 27 Sep 1998 03:43:50 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
The main performance hit I get is dtmf and stripping silence. I have
menus and the script plays certain files and records depending on the key
and the epart of the script it's in. I have autostop on but it's still a
bit slow responding. I don't like autostop though because I don't want it
to stop when the user presses an invalid key.
- --
Shane Wegner: shane@cm.nu
Sysadmin, Continuum Systems: http://www.cm.nu
Vice President, W.A.P.V.I.
Personal website: http://www.cm.nu/~shane
PGP key: http://www.cm.nu/~shane/pgp.txt
ICQ UIN: 15706546
On Sun, 27 Sep 1998, Gert Doering wrote:
> 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
>
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBNg2YWMrVq/2G1RScEQKSvQCg5GhQMUuuD+mBH6/9Rh4lL9XAK1IAnRCc
y48OcwLLBTROTONYGUMupC2d
=hciz
-----END PGP SIGNATURE-----