mailing incoming calls via sendmail

Thomas Wimmer (thomas@lcars.wh.uni-stuttgart.de)
Mon, 8 Jun 1998 12:01:34 +0200


Marc Eberhard wrote:
> 
> Hi!

Hello.

Thanks a lot Marc and Gert. (Fantastic Support here in this List)
 
...
 
> It checks, if the voice.conf option message_program is non zero and
> if true, executes this script. The arguments for the script are:
> 
> $1 - file name of the message
> $2 - CallerId
> $3 - CallName

Whats CallName ?

... 

> Define "message_program /usr/local/bin/my_script_wherever_it_is" and
> replace your script with:
> 
> #!/bin/sh
> rmdtopvf $1 | pvfspeed -s 8000 |
> pvftowav | uuencode ab.wav | /usr/sbin/sendmail -fvoiceadm
> - -FAnruf\-Beantworter voice

btw, how do I get a Subject: with sendmail ?
 
> That should be all.
> 
> Bye,
> Marc

Thomas
-- 

Thomas Wimmer                    | When you're in a fight with an idiot,
http://lcars.wh.uni-stuttgart.de | difficult for other people
thomas@lcars.wh.uni-stuttgart.de | to tell which one the idiot is.

*** ftp://lcars.wh.uni-stuttgart.de/pub/windows95_sucks.mp3 ***