This script allows you to two things...

1) You can forward calls to local businesses and have a recording of the call sent to their email address.

2) You can use this as the last step in an Openvbx flow to take a voicemail and have the recorded voicemail sent to any email address.

INSTRUCTIONS

1) Unzip the zip file and upload the entire directory as is to your hosting account (i.e. website)

2) Insert from and to email addresses, along with subject line, etc. in the mail.php file.

3) Insert number to be called in the call_email.php file.

4) Tweak whisper.xml file, or voicemail_email.php file as you wish.

5) Set voice url in your twilio account of the number you are using to either the call_email.php file or the voicemail_email.php file.

Have Fun!

