USR 33.6vi + caller id

Marc Eberhard (marc@poseidon.thphy.uni-duesseldorf.de)
Tue, 6 May 1997 09:48:25 +0200 (MET DST)


-----BEGIN PGP SIGNED MESSAGE-----

Hi!

Roger A. Unwin wrote:
> Gentleman, 

Are you sure there are no ladies around us?

> Is there an easy way to do some post processing on the voice message file in
> /var/spool/voice/incomming after the person calling hangs up?

Yes. Vgetty calls the script defined in voice.conf as message_program after
hanging up. The script can now postprocess the message. Converting it,
sending it as metamail, whatever you want. The script is called with the
following arguments:

message_progam.sh <filename of message> <CallerId> <CallName>

> I ask because i want to remame it to the date+time it was created, and 
> caller id info once available.

See above, the scripts gets the caller id. So you could do something like:

message_program.sh:

 #!/bin/sh
 mv $1 `date +"%d.%m.%Y_%T_"`$2.rmd

> and as long as i am spewing questions out, is there a good reference for
> learning how to write the voice mail jail scripts? or is this still a black
> art?

It's still black art, your best choice is to have a look at the mvm scripts
from Marc Schaefer. See voice/scripts/voice_mail.sh for infos. I'm in the
process to include the latest mvm version into the main vgetty tree.

Bye,
Marc

- -------------------------------------------------------------------------------
Email: Marc.Eberhard@Uni-Duesseldorf.DE
WWW: http://Poseidon.ThPhy.Uni-Duesseldorf.DE/~marc/
PGP: http://Poseidon.ThPhy.Uni-Duesseldorf.DE/~marc/Marc_PGP.key

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBM27iRzR1rYTfG0TdAQEjqAP/Y3WHcEJlDBbpJ9LhSw5cVJKHU7Hh7zW2
J+BDoY5bt3Np/c1+bLqju2objoq83o+bzwrV5RD6mmDpiSdZItKiAzQUPukvfMzW
cZgi8zkPedeaIH2tVNRnBmUKKb5EMBgHy9CvESmEEaOFbjG0/rBjK5LIKIVzG34e
kAstzWoNc3s=
=fmcy
-----END PGP SIGNATURE-----
.